S390: Optimize atomic macros.
[glibc.git] / ChangeLog
blob0c49c3d0b241599074ea434f7e771390730ac34b
1 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/atomic-machine.h
4         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5         (__arch_compare_and_exchange_val_8_acq,
6         __arch_compare_and_exchange_val_16_acq,
7         __arch_compare_and_exchange_val_32_acq,
8         __arch_compare_and_exchange_val_64_acq):
9         Delete macro.
10         (atomic_compare_and_exchange_val_acq,
11         atomic_compare_and_exchange_val_rel,
12         atomic_compare_and_exchange_bool_acq,
13         catomic_compare_and_exchange_bool_acq,
14         atomic_exchange_acq, atomic_exchange_rel,
15         atomic_exchange_and_add_acq,
16         atomic_exchange_and_add_rel,
17         catomic_exchange_and_add, atomic_or_val,
18         atomic_or, catomic_or, atomic_bit_test_set,
19         atomic_and_val, atomic_and, catomic_and):
20         Define macros with help of C11 atomic builtins.
22 2017-03-03  Justus Winter <justus@gnupg.org>
24         * sysdeps/mach/hurd/ftruncate64.c: New file.
25         * sysdeps/mach/hurd/truncate64.c: Likewise.
27 2017-03-03  Florian Weimer  <fweimer@redhat.com>
29         * time/tzfile.c (NOID): Do not define.
30         * time/tzset.c (NOID): Likewise.
32 2017-03-03  Florian Weimer  <fweimer@redhat.com>
34         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
36 2017-03-02  Florian Weimer  <fweimer@redhat.com>
38         * elf/get-dynamic-info.h: Remove header file inclusion guard.
40 2017-03-02  Florian Weimer  <fweimer@redhat.com>
42         [BZ #21015]
43         * manual/install.texi (Configuring and compiling): Document
44         --enable-bind-now.
45         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
46         (build-shlib-helper): Use $(LDFLAGS-lib.so).
47         (format.lds): Likewise.
48         [bind-now] (LDFLAGS-c.so): Remove.
49         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
50         be R_X86_64_GLOB_DAT.
51         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
52         relocation can be R_386_GLOB_DAT.
53         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
54         relocaiton can be R_ALPHA_GLOB_DAT.
55         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
57 2017-03-01  Zack Weinberg  <zackw@panix.com>
59         * include/libc-pointer-arith.h: New file.  Define
60         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
61         PTR_ALIGN_DOWN here.
62         * include/libc-internal.h: Definitions of above macros
63         moved from here.  Don't include libc-diag.h anymore either.
64         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
65         Don't include libc-internal.h.
67         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
68         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
69         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
70         * string/strcoll_l.c, sysdeps/nacl/brk.c
71         * sysdeps/unix/clock_settime.c
72         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
73         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
74         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
75         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
76         Don't include libc-internal.h.
78         * elf/get-dynamic-info.h, iconv/loop.c
79         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
80         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
81         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
82         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
83         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
84         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
85         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
86         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
87         * sysdeps/ieee754/ldbl-128/k_tanl.c
88         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
89         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
90         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
91         Include libc-diag.h instead of libc-internal.h.
93         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
94         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
95         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
96         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
97         * sysdeps/unix/sysv/linux/spawni.c
98         * sysdeps/x86_64/nptl/tls.h:
99         Include libc-pointer-arith.h instead of libc-internal.h.
101         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
102         * sysdeps/x86_64/atomic-machine.h:
103         Add multiple include guard.
105         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
106         * string/strcasestr.c: No need to include config.h.
107         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
108         sys/auxv.h. Don't include sysdep.h.
109         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
111         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
112         DL_LOOKUP_ADDRESS.
113         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
114         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
115         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
116         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
117         of ARTIFICIAL_LIMIT.
118         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
119         declaration of __clone2.
121 2017-02-28  Florian Weimer  <fweimer@redhat.com>
123         * scripts/backport-support.sh (latest_commit): New file.
125 2017-02-28  Florian Weimer  <fweimer@redhat.com>
127         [BZ #20257]
128         * inet/Makefile (routines): Add deadline.
129         (tests-static): Add tst-deadline.
130         * inet/net-internal.h (struct deadline_current_time)
131         (__deadline_current_time, struct deadline, __deadline_is_infinite)
132         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
133         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
134         * inet/deadline.c: New file.
135         * inet/tst-deadline.c: Likewise.
136         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
137         tst-udp-timeout, tst-udp-garbage.
138         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
139         explicitly.
140         (tst-udp-garbage): Likewise.  Also link against thread library.
141         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
142         struct layout is part of the ABI.
143         (clntudp_call): Rework timeout handling.
144         * sunrpc/tst-udp-garbage.c: New file.
145         * sunrpc/tst-udp-nonblocking.c: Likewise.
146         * sunrpc/tst-udp-timeout.c: Likewise.
148 2017-02-28  Florian Weimer  <fweimer@redhat.com>
150         [BZ #5010]
151         * sunrpc/svc.c (svc_is_mapped): Remove.
152         (svc_unregister): Obtain mapped status while the service is still
153         registered.
154         * sunrpc/Makefile [have-thread-library] (tests): Add
155         tst-svc_register.
156         (tst-svc_register): Link against libc.so explicitly and the thread
157         library.
158         * sunrpc/tst-svc_register.c: New file.
160 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
162         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
163         * sysdeps/pthread/bits/sigthread.h: Likewise.
165 2017-02-27  Florian Weimer  <fweimer@redhat.com>
167         [BZ #21115]
168         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
169         * sunrpc/Makefile (tests): Add tst-udp-error.
170         (tst-udp-error): Link against libc.so explicitly.
171         * sunrpc/tst-udp-error: New file.
173 2017-02-25  Zack Weinberg  <zackw@panix.com>
175         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
176         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
178         * sysdeps/generic/math_ldbl.h
179         * sysdeps/ia64/fpu/math_ldbl.h
180         * sysdeps/ieee754/ldbl-128/math_ldbl.h
181         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
182         * sysdeps/ieee754/ldbl-96/math_ldbl.h
183         * sysdeps/powerpc/fpu/math_ldbl.h
184         * sysdeps/x86_64/fpu/math_ldbl.h:
185         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
186         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
187         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
188         Add copyright notices.
190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
191         Don't use EXTRACT_WORDS64.
193         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
194         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
195         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
196         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
197         Include math_ldbl.h, not math_private.h.
199 2017-02-25  Zack Weinberg  <zackw@panix.com>
201         * include/libc-diag.h: New file.  Define ignore_value,
202         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
203         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
205         * include/libc-internal.h: Definitions of above macros moved from
206         here.  Include libc-diag.h.  Add copyright notice.
208         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
209         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
210         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
211         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
212         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
213         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
214         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
215         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
216         Include libc-diag.h instead of libc-internal.h.
218         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
219         call to unsetenv (NULL).
220         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
221         call to pthread_mutexattr_destroy (NULL).
223 2017-02-25  Zack Weinberg  <zackw@panix.com>
225         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
226         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
227         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
228         gets was removed from C++ in C++14.
229         * include/stdio.h: Remove redundant declaration of gets.
230         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
231         be declared, since we are testing it.
232         * stdio-common/Makefile (tst-gets.c): Compile with
233         -Wno-deprecated-declarations.
234         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
235         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
236         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
237         Compile with -Wno-deprecated-declarations.
239 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
241         * math/libm-test-support.c (check_ulp): Use LIT() around literal
242         numbers.
244 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
246         * resolv/tst-resolv-qtypes.c (domain):
247         Change type to const pointer to const char.
249 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
251         * math/Makefile (libm-tests-generated): Remove variable.
252         (libm-tests-base-normal): New variable.
253         (libm-tests-base-finite): Likewise.
254         (libm-tests-base-inline): Likewise.
255         (libm-tests-base): Likewise.
256         (libm-tests-normal): Likewise.
257         (libm-tests-finite): Likewise.
258         (libm-tests-inline): Likewise.
259         (libm-tests-vector): Likewise.
260         (libm-tests): Define in terms of these new variables.
261         (libm-tests-for-type): New variable.
262         (libm-tests.o): Move definition.
263         (tests): Move addition of $(libm-tests).
264         (generated): Update for new and removed libm test files.
265         ($(objpfx)libm-test.c): Remove target.
266         ($(objpfx)libm-have-vector-test.h): Likewise.
267         (CFLAGS-test-double-vlen2.c): Remove variable.
268         (CFLAGS-test-double-vlen4.c): Likewise.
269         (CFLAGS-test-double-vlen8.c): Likewise.
270         (CFLAGS-test-float-vlen4.c): Likewise.
271         (CFLAGS-test-float-vlen8.c): Likewise.
272         (CFLAGS-test-float-vlen16.c): Likewise.
273         (CFLAGS-test-float.c): Likewise.
274         (CFLAGS-test-float-finite.c): Likewise.
275         (CFLAGS-libm-test-support-float.c): Likewise.
276         (CFLAGS-test-double.c): Likewise.
277         (CFLAGS-test-double-finite.c): Likewise.
278         (CFLAGS-libm-test-support-double.c): Likewise.
279         (CFLAGS-test-ldouble.c): Likewise.
280         (CFLAGS-test-ldouble-finite.c): Likewise.
281         (CFLAGS-libm-test-support-ldouble.c): Likewise.
282         (libm-test-inline-cflags): New variable.
283         (CFLAGS-test-ifloat.c): Remove variable.
284         (CFLAGS-test-idouble.c): Likewise.
285         (CFLAGS-test-ildouble.c): Likewise.
286         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
287         dependencies.
288         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
289         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
290         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
291         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
292         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
293         Likewise.
294         (dependencies on libm-test-support-*.o): Remove.
295         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
296         rules using iterators.
297         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
298         Likewise.
299         ($(objpfx)libm-test-support-$(o).o): Likewise.
300         ($(addprefix $(objpfx),$(filter-out $(tests-static)
301         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
302         instead.
303         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
304         define rule instead.
305         * math/README.libm-test: Update.
306         * math/libm-test-acos.inc: Include libm-test-driver.c.
307         (do_test): New function.
308         * math/libm-test-acosh.inc: Include libm-test-driver.c.
309         (do_test): New function.
310         * math/libm-test-asin.inc: Include libm-test-driver.c.
311         (do_test): New function.
312         * math/libm-test-asinh.inc: Include libm-test-driver.c.
313         (do_test): New function.
314         * math/libm-test-atan.inc: Include libm-test-driver.c.
315         (do_test): New function.
316         * math/libm-test-atan2.inc: Include libm-test-driver.c.
317         (do_test): New function.
318         * math/libm-test-atanh.inc: Include libm-test-driver.c.
319         (do_test): New function.
320         * math/libm-test-cabs.inc: Include libm-test-driver.c.
321         (do_test): New function.
322         * math/libm-test-cacos.inc: Include libm-test-driver.c.
323         (do_test): New function.
324         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
325         (do_test): New function.
326         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
327         (do_test): New function.
328         * math/libm-test-carg.inc: Include libm-test-driver.c.
329         (do_test): New function.
330         * math/libm-test-casin.inc: Include libm-test-driver.c.
331         (do_test): New function.
332         * math/libm-test-casinh.inc: Include libm-test-driver.c.
333         (do_test): New function.
334         * math/libm-test-catan.inc: Include libm-test-driver.c.
335         (do_test): New function.
336         * math/libm-test-catanh.inc: Include libm-test-driver.c.
337         (do_test): New function.
338         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
339         (do_test): New function.
340         * math/libm-test-ccos.inc: Include libm-test-driver.c.
341         (do_test): New function.
342         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
343         (do_test): New function.
344         * math/libm-test-ceil.inc: Include libm-test-driver.c.
345         (do_test): New function.
346         * math/libm-test-cexp.inc: Include libm-test-driver.c.
347         (do_test): New function.
348         * math/libm-test-cimag.inc: Include libm-test-driver.c.
349         (do_test): New function.
350         * math/libm-test-clog.inc: Include libm-test-driver.c.
351         (do_test): New function.
352         * math/libm-test-clog10.inc: Include libm-test-driver.c.
353         (do_test): New function.
354         * math/libm-test-conj.inc: Include libm-test-driver.c.
355         (do_test): New function.
356         * math/libm-test-copysign.inc: Include libm-test-driver.c.
357         (do_test): New function.
358         * math/libm-test-cos.inc: Include libm-test-driver.c.
359         (do_test): New function.
360         * math/libm-test-cosh.inc: Include libm-test-driver.c.
361         (do_test): New function.
362         * math/libm-test-cpow.inc: Include libm-test-driver.c.
363         (do_test): New function.
364         * math/libm-test-cproj.inc: Include libm-test-driver.c.
365         (do_test): New function.
366         * math/libm-test-creal.inc: Include libm-test-driver.c.
367         (do_test): New function.
368         * math/libm-test-csin.inc: Include libm-test-driver.c.
369         (do_test): New function.
370         * math/libm-test-csinh.inc: Include libm-test-driver.c.
371         (do_test): New function.
372         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
373         (do_test): New function.
374         * math/libm-test-ctan.inc: Include libm-test-driver.c.
375         (do_test): New function.
376         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
377         (do_test): New function.
378         * math/libm-test-erf.inc: Include libm-test-driver.c.
379         (do_test): New function.
380         * math/libm-test-erfc.inc: Include libm-test-driver.c.
381         (do_test): New function.
382         * math/libm-test-exp.inc: Include libm-test-driver.c.
383         (do_test): New function.
384         * math/libm-test-exp10.inc: Include libm-test-driver.c.
385         (do_test): New function.
386         * math/libm-test-exp2.inc: Include libm-test-driver.c.
387         (do_test): New function.
388         * math/libm-test-expm1.inc: Include libm-test-driver.c.
389         (do_test): New function.
390         * math/libm-test-fabs.inc: Include libm-test-driver.c.
391         (do_test): New function.
392         * math/libm-test-fdim.inc: Include libm-test-driver.c.
393         (do_test): New function.
394         * math/libm-test-floor.inc: Include libm-test-driver.c.
395         (do_test): New function.
396         * math/libm-test-fma.inc: Include libm-test-driver.c.
397         (do_test): New function.
398         * math/libm-test-fmax.inc: Include libm-test-driver.c.
399         (do_test): New function.
400         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
401         (do_test): New function.
402         * math/libm-test-fmin.inc: Include libm-test-driver.c.
403         (do_test): New function.
404         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
405         (do_test): New function.
406         * math/libm-test-fmod.inc: Include libm-test-driver.c.
407         (do_test): New function.
408         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
409         (do_test): New function.
410         * math/libm-test-frexp.inc: Include libm-test-driver.c.
411         (do_test): New function.
412         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
413         (do_test): New function.
414         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
415         (do_test): New function.
416         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
417         (do_test): New function.
418         * math/libm-test-hypot.inc: Include libm-test-driver.c.
419         (do_test): New function.
420         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
421         (do_test): New function.
422         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
423         (do_test): New function.
424         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
425         (do_test): New function.
426         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
427         (do_test): New function.
428         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
429         (do_test): New function.
430         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
431         (do_test): New function.
432         * math/libm-test-isinf.inc: Include libm-test-driver.c.
433         (do_test): New function.
434         * math/libm-test-isless.inc: Include libm-test-driver.c.
435         (do_test): New function.
436         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
437         (do_test): New function.
438         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
439         (do_test): New function.
440         * math/libm-test-isnan.inc: Include libm-test-driver.c.
441         (do_test): New function.
442         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
443         (do_test): New function.
444         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
445         (do_test): New function.
446         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
447         (do_test): New function.
448         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
449         (do_test): New function.
450         * math/libm-test-iszero.inc: Include libm-test-driver.c.
451         (do_test): New function.
452         * math/libm-test-j0.inc: Include libm-test-driver.c.
453         (do_test): New function.
454         * math/libm-test-j1.inc: Include libm-test-driver.c.
455         (do_test): New function.
456         * math/libm-test-jn.inc: Include libm-test-driver.c.
457         (do_test): New function.
458         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
459         (do_test): New function.
460         * math/libm-test-llogb.inc: Include libm-test-driver.c.
461         (do_test): New function.
462         * math/libm-test-llrint.inc: Include libm-test-driver.c.
463         (do_test): New function.
464         * math/libm-test-llround.inc: Include libm-test-driver.c.
465         (do_test): New function.
466         * math/libm-test-log.inc: Include libm-test-driver.c.
467         (do_test): New function.
468         * math/libm-test-log10.inc: Include libm-test-driver.c.
469         (do_test): New function.
470         * math/libm-test-log1p.inc: Include libm-test-driver.c.
471         (do_test): New function.
472         * math/libm-test-log2.inc: Include libm-test-driver.c.
473         (do_test): New function.
474         * math/libm-test-logb.inc: Include libm-test-driver.c.
475         (do_test): New function.
476         * math/libm-test-lrint.inc: Include libm-test-driver.c.
477         (do_test): New function.
478         * math/libm-test-lround.inc: Include libm-test-driver.c.
479         (do_test): New function.
480         * math/libm-test-modf.inc: Include libm-test-driver.c.
481         (do_test): New function.
482         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
483         (do_test): New function.
484         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
485         (do_test): New function.
486         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
487         (do_test): New function.
488         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
489         (do_test): New function.
490         * math/libm-test-nextup.inc: Include libm-test-driver.c.
491         (do_test): New function.
492         * math/libm-test-pow.inc: Include libm-test-driver.c.
493         (do_test): New function.
494         * math/libm-test-remainder.inc: Include libm-test-driver.c.
495         (do_test): New function.
496         * math/libm-test-remquo.inc: Include libm-test-driver.c.
497         (do_test): New function.
498         * math/libm-test-rint.inc: Include libm-test-driver.c.
499         (do_test): New function.
500         * math/libm-test-round.inc: Include libm-test-driver.c.
501         (do_test): New function.
502         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
503         (do_test): New function.
504         * math/libm-test-scalb.inc: Include libm-test-driver.c.
505         (do_test): New function.
506         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
507         (do_test): New function.
508         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
509         (do_test): New function.
510         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
511         (do_test): New function.
512         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
513         (do_test): New function.
514         * math/libm-test-signbit.inc: Include libm-test-driver.c.
515         (do_test): New function.
516         * math/libm-test-significand.inc: Include libm-test-driver.c.
517         (do_test): New function.
518         * math/libm-test-sin.inc: Include libm-test-driver.c.
519         (do_test): New function.
520         * math/libm-test-sincos.inc: Include libm-test-driver.c.
521         (do_test): New function.
522         * math/libm-test-sinh.inc: Include libm-test-driver.c.
523         (do_test): New function.
524         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
525         (do_test): New function.
526         * math/libm-test-tan.inc: Include libm-test-driver.c.
527         (do_test): New function.
528         * math/libm-test-tanh.inc: Include libm-test-driver.c.
529         (do_test): New function.
530         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
531         (do_test): New function.
532         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
533         (do_test): New function.
534         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
535         (do_test): New function.
536         * math/libm-test-trunc.inc: Include libm-test-driver.c.
537         (do_test): New function.
538         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
539         (do_test): New function.
540         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
541         (do_test): New function.
542         * math/libm-test-y0.inc: Include libm-test-driver.c.
543         (do_test): New function.
544         * math/libm-test-y1.inc: Include libm-test-driver.c.
545         (do_test): New function.
546         * math/libm-test-yn.inc: Include libm-test-driver.c.
547         (do_test): New function.
548         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
549         (HAVE_VECTOR): Remove macro.
550         (START): Do not call HAVE_VECTOR.
551         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
552         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
553         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
554         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
555         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
556         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
557         * math/test-math-vector.h (FUNC_TEST): New macro.
558         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
559         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
560         (double-vlen4-funcs): Likewise.
561         (double-vlen4-avx2-funcs): Likewise.
562         (double-vlen8-funcs): Likewise.
563         (float-vlen4-funcs): Likewise.
564         (float-vlen8-funcs): Likewise.
565         (float-vlen8-avx2-funcs): Likewise.
566         (float-vlen16-funcs): Likewise.
567         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
568         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
569         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
570         macro.
571         (TEST_VECTOR_sin): Likewise.
572         (TEST_VECTOR_sincos): Likewise.
573         (TEST_VECTOR_log): Likewise.
574         (TEST_VECTOR_exp): Likewise.
575         (TEST_VECTOR_pow): Likewise.
576         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
577         Likewise.
578         (TEST_VECTOR_sin): Likewise.
579         (TEST_VECTOR_sincos): Likewise.
580         (TEST_VECTOR_log): Likewise.
581         (TEST_VECTOR_exp): Likewise.
582         (TEST_VECTOR_pow): Likewise.
583         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
584         Likewise.
585         (TEST_VECTOR_sinf): Likewise.
586         (TEST_VECTOR_sincosf): Likewise.
587         (TEST_VECTOR_logf): Likewise.
588         (TEST_VECTOR_expf): Likewise.
589         (TEST_VECTOR_powf): Likewise.
590         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
591         Likewise.
592         (TEST_VECTOR_sinf): Likewise.
593         (TEST_VECTOR_sincosf): Likewise.
594         (TEST_VECTOR_logf): Likewise.
595         (TEST_VECTOR_expf): Likewise.
596         (TEST_VECTOR_powf): Likewise.
597         * math/gen-libm-have-vector-test.sh: Remove file.
598         * math/libm-test.inc: Likewise.
599         * math/libm-test-support-double.c: Likewise.
600         * math/libm-test-support-float.c: Likewise.
601         * math/libm-test-support-ldouble.c: Likewise.
602         * math/test-double-finite.c: Likewise.: Likewise.
603         * math/test-double.c: Likewise.
604         * math/test-float-finite.c: Likewise.
605         * math/test-float.c: Likewise.
606         * math/test-idouble.c: Likewise.
607         * math/test-ifloat.c: Likewise.
608         * math/test-ildouble.c: Likewise.
609         * math/test-ldouble-finite.c: Likewise.
610         * math/test-ldouble.c: Likewise.
611         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
612         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
614         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
615         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
616         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
617         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
618         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
619         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
620         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
622 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
623            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
625         * math/Makefile: Add wrappers to gen-libm-calls.
626         * math/w_acos_template.c: New file.
627         * math/w_acosh_template.c: Likewise.
628         * math/w_asin_template.c: Likewise.
629         * math/w_atan2_template.c: Likewise.
630         * math/w_atanh_template.c: Likewise.
631         * math/w_cosh_template.c: Likewise.
632         * math/w_exp10_template.c: Likewise.
633         * math/w_exp2_template.c: Likewise.
634         * math/w_exp_template.c: Likewise.
635         * math/w_fmod_template.c: Likewise.
636         * math/w_hypot_template.c: Likewise.
637         * math/w_j0_template.c: Likewise.
638         * math/w_j1_template.c: Likewise.
639         * math/w_jn_template.c: Likewise.
640         * math/w_lgamma_r_template.c: Likewise.
641         * math/w_lgamma_template.c: Likewise.
642         * math/w_log10_template.c: Likewise.
643         * math/w_log2_template.c: Likewise.
644         * math/w_log_template.c: Likewise.
645         * math/w_pow_template.c: Likewise.
646         * math/w_remainder_template.c: Likewise.
647         * math/w_sinh_template.c: Likewise.
648         * math/w_sqrt_template.c: Likewise.
649         * math/w_tgamma_template.c: Likewise.: Likewise.
650         * sysdeps/generic/math-type-macros-double.h
651         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
652         the new wrappers.
653         * sysdeps/generic/math-type-macros-float.h: Likewise.
654         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
656 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
658         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
659         New enum constant and macro.
661         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
662         kernel version to 4.10.
664 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
666         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
668 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
672 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
674         * sysdeps/powerpc/tst-set_ppr.c: New file.
675         Implement test cases for __ppc_set_ppr_* functions.
676         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
677         in the list of tests.
679 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
681         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
682         instead of test-skeleton.c.
683         (do_test): Replaced pthread_create and pthread_join with
684         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
685         Removed unneeded status variable.
686         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
687         instead of test-skeleton.c.
688         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
690 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
692         [BZ #20313]
693         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
694         201605L, for Unicode 9.
696 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
698         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
699         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
700         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
701         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
702         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
703         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
705 2017-02-19  Zack Weinberg  <zackw@panix.com>
707         * rt/tst-mqueue4.c: Include stdint.h.
709 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
711         * sysdeps/arm/libm-test-ulps: Update.
712         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
713         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
714         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
716 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
718         [BZ #21029]
719         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
720         * sysdeps/unix/sysv/linux/i386/Makefile
721         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
722         (uses-6-syscall-arguments): Remove.
723         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
724         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
725         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
726         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
727         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
728         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
729         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
730         [$(subdir) = misc] (cflags-pselect.o): Likewise.
731         [$(subdir) = misc] (cflags-pselect.os): Likewise.
732         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
733         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
734         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
735         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
736         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
737         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
738         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
739         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
740         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
741         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
742         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
743         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
744         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
745         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
746         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
747         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
748         Likewise.
749         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
750         Likewise.
751         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
752         Likewise.
753         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
754         Likewise.
755         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
756         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
757         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
758         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
759         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
760         ebp on inline assembly.
761         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
762         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
763         Set if CAN_USE_REGISTER_ASM_EBP is set.
765 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
767         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
768         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
770 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
772         * math/auto-libm-test-in: Add tests of catan and catanh.
773         * math/auto-libm-test-out-catan: New generated file.
774         * math/auto-libm-test-out-catanh: Likewise.
775         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
776         Move tests with finite inputs, except divide-by-zero cases, to
777         auto-libm-test-in.
778         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
779         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
780         (libm-test-funcs-noauto): Remove catan and catanh.
781         * sysdeps/i386/fpu/libm-test-ulps: Update.
782         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
785         * math/auto-libm-test-in: Add tests of casin and casinh.
786         * math/auto-libm-test-out-casin: New generated file.
787         * math/auto-libm-test-out-casinh: Likewise.
788         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
789         Move tests with finite inputs to auto-libm-test-in.
790         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
791         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
792         (libm-test-funcs-noauto): Remove casin and casinh.
793         * sysdeps/i386/fpu/libm-test-ulps: Update.
794         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
797         * math/auto-libm-test-in: Add tests of cacos and cacosh.
798         * math/auto-libm-test-out-cacos: New generated file.
799         * math/auto-libm-test-out-cacosh: Likewise.
800         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
801         Move tests with finite inputs to auto-libm-test-in.
802         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
803         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
804         (libm-test-funcs-noauto): Remove cacos and cacosh.
805         * sysdeps/i386/fpu/libm-test-ulps: Update.
806         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
809         Revert:
810         2017-02-16  Zack Weinberg  <zackw@panix.com>
812         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
813         Don't include init-arch.h.
814         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
815         Don't include init-arch.h.
817 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
819         [BZ #21171]
820         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
821         +Inf and raise divide-by-zero when x is negative.
822         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
824         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
825         -Inf and raise divide-by-zero when x = +-0.
826         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
827         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
828         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
829         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
830         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
831         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
832         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
834 2017-02-16  Zack Weinberg  <zackw@panix.com>
836         * scripts/build-many-glibcs.py (bot_build_mail): If the
837         bot_config does not contain all of the necessary email-
838         related settings, just print a warning and continue.
840 2017-02-16  Zack Weinberg  <zackw@panix.com>
842         * crypt/md5.h: Test _LIBC with #if defined, not #if.
843         * dirent/opendir-tst1.c: Include sys/stat.h.
844         * dirent/tst-fdopendir.c: Include sys/stat.h.
845         * dirent/tst-fdopendir2.c: Include stdlib.h.
846         * dirent/tst-scandir.c: Include stdbool.h.
847         * elf/tst-auditmod1.c: Include link.h and stddef.h.
848         * elf/tst-tls15.c: Include stdlib.h.
849         * elf/tst-tls16.c: Include stdlib.h.
850         * elf/tst-tls17.c: Include stdlib.h.
851         * elf/tst-tls18.c: Include stdlib.h.
852         * iconv/tst-iconv6.c: Include endian.h.
853         * iconvdata/bug-iconv11.c: Include limits.h.
854         * io/test-utime.c: Include stdint.h.
855         * io/tst-faccessat.c: Include sys/stat.h.
856         * io/tst-fchmodat.c: Include sys/stat.h.
857         * io/tst-fchownat.c: Include sys/stat.h.
858         * io/tst-fstatat.c: Include sys/stat.h.
859         * io/tst-futimesat.c: Include sys/stat.h.
860         * io/tst-linkat.c: Include sys/stat.h.
861         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
862         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
863         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
864         * io/tst-openat.c: Include stdbool.h.
865         * io/tst-readlinkat.c: Include sys/stat.h.
866         * io/tst-renameat.c: Include sys/stat.h.
867         * io/tst-symlinkat.c: Include sys/stat.h.
868         * io/tst-unlinkat.c: Include stdbool.h.
869         * libio/bug-memstream1.c: Include stdlib.h.
870         * libio/bug-wmemstream1.c: Include stdlib.h.
871         * libio/tst-fwrite-error.c: Include stdlib.h.
872         * libio/tst-memstream1.c: Include stdlib.h.
873         * libio/tst-memstream2.c: Include stdlib.h.
874         * libio/tst-memstream3.c: Include stdlib.h.
875         * malloc/tst-interpose-aux.c: Include stdint.h.
876         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
877         * nptl/tst-basic7.c: Include limits.h.
878         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
879         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
880         * nptl/tst-cancel4_1.c: Include stddef.h.
881         * nptl/tst-cancel4_2.c: Include stddef.h.
882         * nptl/tst-cond16.c: Include limits.h.
883         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
884         * nptl/tst-cond18.c: Include limits.h.
885         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
886         * nptl/tst-cond4.c: Include stdint.h.
887         * nptl/tst-cond6.c: Include stdint.h.
888         * nptl/tst-stack2.c: Include limits.h.
889         * nptl/tst-stackguard1.c: Include stddef.h.
890         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
891         * nptl/tst-tls4moda.c: Include stddef.h.
892         Don't include stdio.h, unistd.h, or tls.h.
893         * nptl/tst-tls4modb.c: Include stddef.h.
894         Don't include stdio.h, unistd.h, or tls.h.
895         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
896         * posix/tst-getaddrinfo2.c: Include stdio.h.
897         * posix/tst-getaddrinfo5.c: Include stdio.h.
898         * posix/tst-pathconf.c: Include sys/stat.h.
899         * posix/tst-posix_fadvise-common.c: Include stdint.h.
900         * posix/tst-preadwrite-common.c: Include sys/stat.h.
901         * posix/tst-regex.c: Include stdint.h.
902         Don't include spawn.h or spawn_int.h.
903         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
904         * posix/tst-vfork3.c: Include sys/stat.h.
905         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
906         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
907         * resolv/tst-resolv-search.c: Include stdlib.h.
908         * stdio-common/tst-fmemopen2.c: Include stdint.h.
909         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
910         * stdlib/test-canon.c: Include sys/stat.h.
911         * stdlib/tst-tls-atexit.c: Include stdbool.h.
912         * string/test-memchr.c: Include stdint.h.
913         * string/tst-cmp.c: Include stdint.h.
914         * sysdeps/pthread/tst-timer.c: Include stdint.h.
915         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
916         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
917         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
918         Don't include init-arch.h.
919         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
920         Don't include init-arch.h.
921         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
922         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
923         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
924         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
925         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
926         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
927         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
928         * time/clocktest.c: Include stdint.h.
929         * time/tst-posixtz.c: Include stdint.h.
930         * timezone/tst-timezone.c: Include stdint.h.
932 2017-02-16  Zack Weinberg  <zackw@panix.com>
934         * string/string.h [__USE_MISC]: Include strings.h.
935         (__bzero, bcmp, bcopy, bzero, index, rindex)
936         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
937         (ffs, ffsl, ffsll): Don't declare.
938         * string/strings.h: Do not suppress the file if string.h has
939         already been included.
940         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
941         annotations.
942         (index, rindex): Define inline forwarders even if
943         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
944         (ffs): Use __attribute_const__.
945         (ffsl, ffsll): Declare here.
946         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
947         have now been standardized.
948         * include/string.h (__bzero): Declare here.
950         * bits/types.h: Move to posix/bits.
951         * include/bits/types.h: New wrapper.
953 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
955         * string/bits/string2.h (strcmp): Remove define.
956         (__strcmp_cg): Likewise.
957         (strncmp): Likewise.
959 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
961         * include/string.h: Add __cplusplus check.
963 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
965         [BZ #21134]
966         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
967         "divide by zero" exception when the input is zero.
968         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
969         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
970         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
971         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
972         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
974 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
976         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
977         and include ...
978         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
979         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
980         to, and include ...
981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
982         file.
983         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
984         and include ...
985         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
986         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
987         and include ...
988         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
989         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
990         and include ...
991         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
992         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
993         and include ...
994         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
995         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
996         to, and include ...
997         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
998         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
999         and include ...
1000         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1002 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1004         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1005         here.
1006         * math/libm-test-support.c (libm_test_init): Do not call
1007         INIT_ARCH_EXT here.
1008         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1009         (main): Call INIT_ARCH_EXT.
1011 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1013         [BZ #21130]
1014         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1015         with the "invalid" exception raised when x is -Inf.
1016         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1018 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1020         * string/bits/string2.h (strchr): Remove define.
1022 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1024         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1025         tst-avx512.
1026         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1027         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1028         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1029         ($(objpfx)tst-sse): New rule.
1030         ($(objpfx)tst-avx): Likewise.
1031         ($(objpfx)tst-avx512): Likewise.
1032         (CFLAGS-tst-avx-aux.c): New.
1033         (CFLAGS-tst-avxmod.c): Likewise.
1034         (CFLAGS-tst-avx512-aux.c): Likewise.
1035         (CFLAGS-tst-avx512mod.c): Likewise.
1036         * sysdeps/x86_64/tst-avx-aux.c: New file.
1037         * sysdeps/x86_64/tst-avx.c: Likewise.
1038         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1039         * sysdeps/x86_64/tst-avx512.c: Likewise.
1040         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1041         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1042         * sysdeps/x86_64/tst-sse.c: Likewise.
1043         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1045 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1047         * math/auto-libm-test-in: Add more tests of csin and csinh.
1048         * math/auto-libm-test-out-csin: Regenerated.
1049         * math/auto-libm-test-out-csinh: Likewise.
1050         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1051         auto-libm-test-in.
1052         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1054 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1056         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1057         libm-compat-calls-auto.
1058         (libm-compat-calls): Likewise.
1059         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1060         w_lgamma_compatF and k_standardF (merged from the items above).
1061         (libm-routines): Use libm-compat-calls, instead of
1062         libm-compat-calls-auto, with type-foreach.
1064 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1066         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1067         macro.
1068         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1069         (CFLAGS-test-ifloat.c): ... this.  Remove
1070         -U__LIBC_INTERNAL_MATH_INLINES.
1071         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1072         (CFLAGS-test-idouble.c): ... this.  Remove
1073         -U__LIBC_INTERNAL_MATH_INLINES.
1074         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1075         (CFLAGS-test-ildouble.c): ... this.  Remove
1076         -U__LIBC_INTERNAL_MATH_INLINES.
1078 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1080         * math/libm-test-support.c: New file.  Content from
1081         math/libm-test-driver.c.
1082         * math/libm-test-support.h: Likewise.
1083         * math/libm-test-support-double.c: New file.
1084         * math/libm-test-support-float.c: Likewise.
1085         * math/libm-test-support-ldouble.c: Likewise.
1086         * math/libm-test-driver.c: Remove main comment and header
1087         includes.  Include libm-test-support.h.
1088         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1089         (flag_test_errno): Remove static.
1090         (flag_test_exceptions): Likewise.
1091         (flag_test_finite): Likewise.
1092         (flag_test_inline): Likewise.
1093         (flag_test_mathvec): Likewise.
1094         (test_msg): Likewise.
1095         (NO_EXCEPTION): Remove.
1096         (INVALID_EXCEPTION): Likewise.
1097         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1098         (OVERFLOW_EXCEPTION): Likewise.
1099         (UNDERFLOW_EXCEPTION): Likewise.
1100         (INEXACT_EXCEPTION): Likewise.
1101         (INVALID_EXCEPTION_OK): Likewise.
1102         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1103         (OVERFLOW_EXCEPTION_OK): Likewise.
1104         (UNDERFLOW_EXCEPTION_OK): Likewise.
1105         (NO_INEXACT_EXCEPTION): Likewise.
1106         (EXCEPTIONS_OK): Likewise.
1107         (IGNORE_ZERO_INF_SIGN): Likewise.
1108         (TEST_NAN_SIGN): Likewise.
1109         (TEST_NAN_PAYLOAD): Likewise.
1110         (NO_TEST_INLINE): Likewise.
1111         (XFAIL_TEST): Likewise.
1112         (ERRNO_UNCHANGED): Likewise.
1113         (ERRNO_EDOM): Likewise.
1114         (ERRNO_ERANGE): Likewise.
1115         (IGNORE_RESULT): Likewise.
1116         (NON_FINITE): Likewise.
1117         (TEST_SNAN): Likewise.
1118         (NO_TEST_MATHVEC): Likewise.
1119         (__CONCATX): Likewise.
1120         (TYPE_MIN): Likewise.
1121         (TYPE_TRUE_MIN): Likewise.
1122         (TYPE_MAX): Likewise.
1123         (MIN_EXP): Likewise.
1124         (MAX_EXP): Likewise.
1125         (MANT_DIG): Likewise.
1126         (FSTR_MAX): Likewise.
1127         (ulp_idx): Likewise.
1128         (qtype_str): Remove static.
1129         (TEST_COND_binary32): Remove.
1130         (TEST_COND_binary64): Likewise.
1131         (TEST_COND_binary128): Likewise.
1132         (TEST_COND_ibm128): Likewise.
1133         (TEST_COND_intel96): Likewise.
1134         (TEST_COND_m68k96): Likewise.
1135         (TEST_COND_ibm128_libgcc): Likewise.
1136         (XFAIL_IBM128_LIBGCC): Likewise.
1137         (PAYLOAD_DIG): Likewise.
1138         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1139         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1140         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1141         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1142         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1143         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1144         (TEST_COND_long32): Likewise.
1145         (TEST_COND_long64): Likewise.
1146         (TEST_COND_before_rounding): Likewise.
1147         (TEST_COND_after_rounding): Likewise.
1148         (ulps_file_name): Likewise.
1149         (ulps_file): Likewise.
1150         (output_ulps): Likewise.
1151         (output_dir): Likewise.
1152         (noErrors): Likewise.
1153         (noTests): Likewise.
1154         (noExcTests): Likewise.
1155         (noErrnoTests): Likewise.
1156         (verbose): Likewise.
1157         (output_max_error): Likewise.
1158         (output_points): Likewise.
1159         (ignore_max_ulp): Likewise.
1160         (max_error): Likewise.
1161         (real_max_error): Likewise.
1162         (imag_max_error): Likewise.
1163         (prev_max_error): Likewise.
1164         (prev_real_max_error): Likewise.
1165         (prev_imag_max_error): Likewise.
1166         (max_valid_error): Likewise.
1167         (TYPE_DECIMAL_DIG): Likewise.
1168         (TYPE_HEX_DIG): Likewise.
1169         (fmt_ftostr): Likewise.
1170         (compare_ulp_data): Likewise.
1171         (find_ulps): Likewise.
1172         (init_max_error): Likewise.
1173         (set_max_error): Likewise.
1174         (print_float): Likewise.
1175         (print_screen): Likewise.
1176         (print_screen_max_error): Likewise.
1177         (update_stats): Likewise.
1178         (print_function_ulps): Likewise.
1179         (print_complex_function_ulps): Likewise.
1180         (fpstack_test): Likewise.
1181         (print_max_error): Likewise.
1182         (print_complex_max_error): Likewise.
1183         (test_single_exception): Likewise.
1184         (test_exceptions): Likewise.
1185         (test_single_errno): Likewise.
1186         (test_errno): Likewise.
1187         (ULPDIFF): Likewise.
1188         (ulp): Likewise.
1189         (check_float_internal): Likewise.
1190         (check_float): Likewise.
1191         (check_complex): Likewise.
1192         (check_int): Likewise.
1193         (check_long): Likewise.
1194         (check_bool): Likewise.
1195         (check_longlong): Likewise.
1196         (check_intmax_t): Likewise.
1197         (check_uintmax_t): Likewise.
1198         (enable_test): Likewise.
1199         (matherr): Likewise.
1200         (initialize): Likewise.
1201         (options): Likewise.
1202         (doc): Remove static.
1203         (argp): Likewise.
1204         (parse_opt): Remove.
1205         (check_ulp): Likewise.
1206         (libm_test_init): Likewise.
1207         (libm_test_finish): Likewise.
1208         * math/Makefile (libm-test-support): New variable.
1209         (test-extras): Add libm-test-support files.
1210         (extra-test-objs): Likewise.
1211         (CFLAGS-libm-test-support-float.c): New variable.
1212         (CFLAGS-libm-test-support-double.c): Likewise.
1213         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1214         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1215         libm-test-support objects.
1217 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1219         * math/Makefile (libm-calls): Move w_exp...
1220         (libm-compat-calls-auto): Here.
1222         * math/w_expl.c: Add suffix "_compat" to filename.
1223         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1224         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1225         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1226         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1227         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1228         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1229         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1230         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1232         * math/w_expl_compat.c: New file, copied from above.
1233         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1234         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1235         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1236         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1237         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1238         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1239         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1240         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1242         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1243         to filename.
1244         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1246         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1247         copied from above and adjusted for the new filenames.
1248         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1250 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1252         * math/Makefile (libm-calls): Move w_lgammaF...
1253         (libm-compat-calls-auto): Here.
1255         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1256         * math/w_lgammaf.c: Likewise.
1257         * math/w_lgammal.c: Likewise.
1259         * math/w_lgamma_compat2.c: New file, copied from above.
1260         * math/w_lgammaf_compat2.c: Likewise.
1261         * math/w_lgammal_compat2.c: Likewise.
1263 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1265         * math/Makefile (libm-calls): Move w_lgammaF_r...
1266         (libm-compat-calls-auto): Here.
1268         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1269         * math/w_lgammaf_r.c: Likewise.
1270         * math/w_lgammal_r.c: Likewise.
1271         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1272         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1273         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1275         * math/w_lgamma_r_compat.c: New file, copied from above.
1276         * math/w_lgammaf_r_compat.c: Likewise.
1277         * math/w_lgammal_r_compat.c: Likewise.
1278         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1279         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1280         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1282         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1283         to filename.
1284         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1286         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1287         copied from above and adjusted for the new filenames.
1288         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1290 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1293         calculation in SYSCALL_ERROR_HANDLER().
1295 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1297         * manual/contrib.texi: Fix typo.
1299 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1301         [BZ #21109]
1302         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1303         tunable_val_t as argument.
1304         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1305         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1306         argument.
1307         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1309 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1311         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1312         Add PTRACE_EVENT_STOP.
1313         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1315         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1316         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1317         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1318         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1320 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1322         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1323         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1324         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1325         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1326         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1327         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1328         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1329         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1330         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1331         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1333         [BZ #21112]
1334         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1335         12 bits zero.
1336         (cp_l): Update for new value of cp_h.
1337         * math/auto-libm-test-in: Add another test of pow.
1338         * math/auto-libm-test-out-pow: Regenerated.
1340 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1342         * manual/contrib.texi: Fix typo.
1344 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1346         [BZ #15998]
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1348         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1351 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1353         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1354         STRCHR as __strchr_power8.
1355         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1356         strlen as __strlen_power8.
1358 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1360         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1361         unaligned load for shorter strings.
1362         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1364 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1366         * math/libm-test-driver.c (flag_test_errno): New variable.
1367         (flag_test_exceptions): Likewise.
1368         (flag_test_finite): Likewise.
1369         (flag_test_inline): Likewise.
1370         (flag_test_mathvec): Likewise.
1371         (test_msg): Likewise.
1372         (ulp_idx): Likewise.
1373         (qtype_str): Likewise.
1374         (ULP_IDX): Remove macro.
1375         (QTYPE_STR): Likewise.
1376         (find_ulps): Use ulp_idx not ULP_IDX.
1377         (print_function_ulps): Use qtype_str, printed with %s, not
1378         QTYPE_STR, printed with concatentation to format string.
1379         (print_complex_function_ulps): Likewise.
1380         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1381         (test_errno): Use flag_test_errno not TEST_ERRNO.
1382         (enable_test): Use flag_test_inline, flag_test_finite and
1383         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1384         TEST_MATHVEC.
1385         (libm_test_init): New function.  Factored out of main.
1386         (libm_test_finish): Likewise.
1387         (main): Call libm_test_init and libm_test_finish and move most
1388         code to those functions.
1390         * math/libm-test-driver.c (STRX): New macro.
1391         (STR): Likewise.
1392         (STR_FLOAT): Likewise.
1393         (STR_VEC_LEN): Likewise.
1394         (TEST_MSG): Likewise.  Define here instead of expecting to be
1395         defined by including file.
1396         * math/test-double-finite.c (TEST_MSG): Remove macro.
1397         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1398         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1399         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1400         * math/test-double.c (TEST_MSG): Likewise.
1401         * math/test-float-finite.c (TEST_MSG): Likewise.
1402         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1403         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1404         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1405         * math/test-float.c (TEST_MSG): Likewise.
1406         * math/test-idouble.c (TEST_MSG): Likewise.
1407         * math/test-ifloat.c (TEST_MSG): Likewise.
1408         * math/test-ildouble.c (TEST_MSG): Likewise.
1409         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1410         * math/test-ldouble.c (TEST_MSG): Likewise.
1412         * math/libm-test.inc: Move all tests of individual functions to
1413         libm-test-*.inc and #include libm-test-*.c files.
1414         (acos_test_data): Remove.
1415         (acos_test): Likewise.
1416         (acosh_test_data): Likewise.
1417         (acosh_test): Likewise.
1418         (asin_test_data): Likewise.
1419         (asin_test): Likewise.
1420         (asinh_test_data): Likewise.
1421         (asinh_test): Likewise.
1422         (atan_test_data): Likewise.
1423         (atan_test): Likewise.
1424         (atanh_test_data): Likewise.
1425         (atanh_test): Likewise.
1426         (atan2_test_data): Likewise.
1427         (atan2_test): Likewise.
1428         (cabs_test_data): Likewise.
1429         (cabs_test): Likewise.
1430         (cacos_test_data): Likewise.
1431         (cacos_test): Likewise.
1432         (cacosh_test_data): Likewise.
1433         (cacosh_test): Likewise.
1434         (canonicalize_test_data): Likewise.
1435         (canonicalize_test): Likewise.
1436         (carg_test_data): Likewise.
1437         (carg_test): Likewise.
1438         (casin_test_data): Likewise.
1439         (casin_test): Likewise.
1440         (casinh_test_data): Likewise.
1441         (casinh_test): Likewise.
1442         (catan_test_data): Likewise.
1443         (catan_test): Likewise.
1444         (catanh_test_data): Likewise.
1445         (catanh_test): Likewise.
1446         (cbrt_test_data): Likewise.
1447         (cbrt_test): Likewise.
1448         (ccos_test_data): Likewise.
1449         (ccos_test): Likewise.
1450         (ccosh_test_data): Likewise.
1451         (ccosh_test): Likewise.
1452         (ceil_test_data): Likewise.
1453         (ceil_test): Likewise.
1454         (cexp_test_data): Likewise.
1455         (cexp_test): Likewise.
1456         (cimag_test_data): Likewise.
1457         (cimag_test): Likewise.
1458         (clog_test_data): Likewise.
1459         (clog_test): Likewise.
1460         (clog10_test_data): Likewise.
1461         (clog10_test): Likewise.
1462         (conj_test_data): Likewise.
1463         (conj_test): Likewise.
1464         (copysign_test_data): Likewise.
1465         (copysign_test): Likewise.
1466         (cos_test_data): Likewise.
1467         (cos_test): Likewise.
1468         (cosh_test_data): Likewise.
1469         (cosh_test): Likewise.
1470         (cpow_test_data): Likewise.
1471         (cpow_test): Likewise.
1472         (cproj_test_data): Likewise.
1473         (cproj_test): Likewise.
1474         (creal_test_data): Likewise.
1475         (creal_test): Likewise.
1476         (csin_test_data): Likewise.
1477         (csin_test): Likewise.
1478         (csinh_test_data): Likewise.
1479         (csinh_test): Likewise.
1480         (csqrt_test_data): Likewise.
1481         (csqrt_test): Likewise.
1482         (ctan_test_data): Likewise.
1483         (ctan_test): Likewise.
1484         (ctanh_test_data): Likewise.
1485         (ctanh_test): Likewise.
1486         (erf_test_data): Likewise.
1487         (erf_test): Likewise.
1488         (erfc_test_data): Likewise.
1489         (erfc_test): Likewise.
1490         (exp_test_data): Likewise.
1491         (exp_test): Likewise.
1492         (exp10_test_data): Likewise.
1493         (exp10_test): Likewise.
1494         (pow10_test): Likewise.
1495         (exp2_test_data): Likewise.
1496         (exp2_test): Likewise.
1497         (expm1_test_data): Likewise.
1498         (expm1_test): Likewise.
1499         (fabs_test_data): Likewise.
1500         (fabs_test): Likewise.
1501         (fdim_test_data): Likewise.
1502         (fdim_test): Likewise.
1503         (floor_test_data): Likewise.
1504         (floor_test): Likewise.
1505         (fma_test_data): Likewise.
1506         (fma_test): Likewise.
1507         (fmax_test_data): Likewise.
1508         (fmax_test): Likewise.
1509         (fmaxmag_test_data): Likewise.
1510         (fmaxmag_test): Likewise.
1511         (fmin_test_data): Likewise.
1512         (fmin_test): Likewise.
1513         (fminmag_test_data): Likewise.
1514         (fminmag_test): Likewise.
1515         (fmod_test_data): Likewise.
1516         (fmod_test): Likewise.
1517         (fpclassify_test_data): Likewise.
1518         (fpclassify_test): Likewise.
1519         (frexp_test_data): Likewise.
1520         (frexp_test): Likewise.
1521         (fromfp_test_data): Likewise.
1522         (fromfp_test): Likewise.
1523         (fromfpx_test_data): Likewise.
1524         (fromfpx_test): Likewise.
1525         (getpayload_test_data): Likewise.
1526         (getpayload_test): Likewise.
1527         (hypot_test_data): Likewise.
1528         (hypot_test): Likewise.
1529         (ilogb_test_data): Likewise.
1530         (ilogb_test): Likewise.
1531         (iscanonical_test_data): Likewise.
1532         (iscanonical_test): Likewise.
1533         (iseqsig_test_data): Likewise.
1534         (iseqsig_test): Likewise.
1535         (isfinite_test_data): Likewise.
1536         (isfinite_test): Likewise.
1537         (finite_test): Likewise.
1538         (isgreater_test_data): Likewise.
1539         (isgreater_test): Likewise.
1540         (isgreaterequal_test_data): Likewise.
1541         (isgreaterequal_test): Likewise.
1542         (isinf_test_data): Likewise.
1543         (isinf_test): Likewise.
1544         (isless_test_data): Likewise.
1545         (isless_test): Likewise.
1546         (islessequal_test_data): Likewise.
1547         (islessequal_test): Likewise.
1548         (islessgreater_test_data): Likewise.
1549         (islessgreater_test): Likewise.
1550         (isnan_test_data): Likewise.
1551         (isnan_test): Likewise.
1552         (isnormal_test_data): Likewise.
1553         (isnormal_test): Likewise.
1554         (issignaling_test_data): Likewise.
1555         (issignaling_test): Likewise.
1556         (issubnormal_test_data): Likewise.
1557         (issubnormal_test): Likewise.
1558         (isunordered_test_data): Likewise.
1559         (isunordered_test): Likewise.
1560         (iszero_test_data): Likewise.
1561         (iszero_test): Likewise.
1562         (j0_test_data): Likewise.
1563         (j0_test): Likewise.
1564         (j1_test_data): Likewise.
1565         (j1_test): Likewise.
1566         (jn_test_data): Likewise.
1567         (jn_test): Likewise.
1568         (lgamma_test_data): Likewise.
1569         (lgamma_test): Likewise.
1570         (gamma_test): Likewise.
1571         (llogb_test_data): Likewise.
1572         (llogb_test): Likewise.
1573         (lrint_test_data): Likewise.
1574         (lrint_test): Likewise.
1575         (llrint_test_data): Likewise.
1576         (llrint_test): Likewise.
1577         (log_test_data): Likewise.
1578         (log_test): Likewise.
1579         (log10_test_data): Likewise.
1580         (log10_test): Likewise.
1581         (log1p_test_data): Likewise.
1582         (log1p_test): Likewise.
1583         (log2_test_data): Likewise.
1584         (log2_test): Likewise.
1585         (logb_test_data): Likewise.
1586         (logb_test): Likewise.
1587         (lround_test_data): Likewise.
1588         (lround_test): Likewise.
1589         (llround_test_data): Likewise.
1590         (llround_test): Likewise.
1591         (modf_test_data): Likewise.
1592         (modf_test): Likewise.
1593         (nearbyint_test_data): Likewise.
1594         (nearbyint_test): Likewise.
1595         (nextafter_test_data): Likewise.
1596         (nextafter_test): Likewise.
1597         (nextup_test_data): Likewise.
1598         (nextup_test): Likewise.
1599         (nextdown_test_data): Likewise.
1600         (nextdown_test): Likewise.
1601         (nexttoward_test_data): Likewise.
1602         (nexttoward_test): Likewise.
1603         (pow_test_data): Likewise.
1604         (pow_test): Likewise.
1605         (remainder_test_data): Likewise.
1606         (remainder_test): Likewise.
1607         (drem_test): Likewise.
1608         (remquo_test_data): Likewise.
1609         (remquo_test): Likewise.
1610         (rint_test_data): Likewise.
1611         (rint_test): Likewise.
1612         (round_test_data): Likewise.
1613         (round_test): Likewise.
1614         (roundeven_test_data): Likewise.
1615         (roundeven_test): Likewise.
1616         (scalb_test_data): Likewise.
1617         (scalb_test): Likewise.
1618         (scalbn_test_data): Likewise.
1619         (scalbn_test): Likewise.
1620         (ldexp_test): Likewise.
1621         (scalbln_test_data): Likewise.
1622         (scalbln_test): Likewise.
1623         (setpayload_test_data): Likewise.
1624         (setpayload_test): Likewise.
1625         (setpayloadsig_test_data): Likewise.
1626         (setpayloadsig_test): Likewise.
1627         (signbit_test_data): Likewise.
1628         (signbit_test): Likewise.
1629         (sin_test_data): Likewise.
1630         (sin_test): Likewise.
1631         (sincos_test_data): Likewise.
1632         (sincos_test): Likewise.
1633         (sinh_test_data): Likewise.
1634         (sinh_test): Likewise.
1635         (sqrt_test_data): Likewise.
1636         (sqrt_test): Likewise.
1637         (tan_test_data): Likewise.
1638         (tan_test): Likewise.
1639         (tanh_test_data): Likewise.
1640         (tanh_test): Likewise.
1641         (tgamma_test_data): Likewise.
1642         (tgamma_test): Likewise.
1643         (totalorder_test_data): Likewise.
1644         (totalorder_test): Likewise.
1645         (totalordermag_test_data): Likewise.
1646         (totalordermag_test): Likewise.
1647         (trunc_test_data): Likewise.
1648         (trunc_test): Likewise.
1649         (ufromfp_test_data): Likewise.
1650         (ufromfp_test): Likewise.
1651         (ufromfpx_test_data): Likewise.
1652         (ufromfpx_test): Likewise.
1653         (y0_test_data): Likewise.
1654         (y0_test): Likewise.
1655         (y1_test_data): Likewise.
1656         (y1_test): Likewise.
1657         (yn_test_data): Likewise.
1658         (yn_test): Likewise.
1659         (significand_test_data): Likewise.
1660         (significand_test): Likewise.
1661         * math/Makefile (auto-libm-test-out-files): Remove variable.
1662         (libm-test-funcs-noauto): New variable.
1663         (libm-test-funcs-all): Likewise.
1664         (libm-test-c-auto): Likewise.
1665         (libm-test-c-noauto): Likewise.
1666         (libm-tests-generated): Add $(libm-test-c-auto) and
1667         $(libm-test-c-noauto).
1668         (generated): Do not add auto-libm-test-out.
1669         (libm-test-c-auto-obj): New variable.
1670         (libm-test-c-noauto-obj): Likewise.
1671         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1672         ($(libm-test-c-noauto-obj)): New static pattern rule.
1673         ($(libm-test-c-auto-obj)): Likewise.
1674         (libm-test-incs): New variable.
1675         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1676         and pass it to gen-libm-have-vector-test.sh.
1677         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1678         be passed on command line.
1679         * math/libm-test-acos.inc: New file.  Content from
1680         math/libm-test.inc.
1681         * math/libm-test-acosh.inc: Likewise.
1682         * math/libm-test-asin.inc: Likewise.
1683         * math/libm-test-asinh.inc: Likewise.
1684         * math/libm-test-atan.inc: Likewise.
1685         * math/libm-test-atan2.inc: Likewise.
1686         * math/libm-test-atanh.inc: Likewise.
1687         * math/libm-test-cabs.inc: Likewise.
1688         * math/libm-test-cacos.inc: Likewise.
1689         * math/libm-test-cacosh.inc: Likewise.
1690         * math/libm-test-canonicalize.inc: Likewise.
1691         * math/libm-test-carg.inc: Likewise.
1692         * math/libm-test-casin.inc: Likewise.
1693         * math/libm-test-casinh.inc: Likewise.
1694         * math/libm-test-catan.inc: Likewise.
1695         * math/libm-test-catanh.inc: Likewise.
1696         * math/libm-test-cbrt.inc: Likewise.
1697         * math/libm-test-ccos.inc: Likewise.
1698         * math/libm-test-ccosh.inc: Likewise.
1699         * math/libm-test-ceil.inc: Likewise.
1700         * math/libm-test-cexp.inc: Likewise.
1701         * math/libm-test-cimag.inc: Likewise.
1702         * math/libm-test-clog.inc: Likewise.
1703         * math/libm-test-clog10.inc: Likewise.
1704         * math/libm-test-conj.inc: Likewise.
1705         * math/libm-test-copysign.inc: Likewise.
1706         * math/libm-test-cos.inc: Likewise.
1707         * math/libm-test-cosh.inc: Likewise.
1708         * math/libm-test-cpow.inc: Likewise.
1709         * math/libm-test-cproj.inc: Likewise.
1710         * math/libm-test-creal.inc: Likewise.
1711         * math/libm-test-csin.inc: Likewise.
1712         * math/libm-test-csinh.inc: Likewise.
1713         * math/libm-test-csqrt.inc: Likewise.
1714         * math/libm-test-ctan.inc: Likewise.
1715         * math/libm-test-ctanh.inc: Likewise.
1716         * math/libm-test-erf.inc: Likewise.
1717         * math/libm-test-erfc.inc: Likewise.
1718         * math/libm-test-exp.inc: Likewise.
1719         * math/libm-test-exp10.inc: Likewise.
1720         * math/libm-test-exp2.inc: Likewise.
1721         * math/libm-test-expm1.inc: Likewise.
1722         * math/libm-test-fabs.inc: Likewise.
1723         * math/libm-test-fdim.inc: Likewise.
1724         * math/libm-test-floor.inc: Likewise.
1725         * math/libm-test-fma.inc: Likewise.
1726         * math/libm-test-fmax.inc: Likewise.
1727         * math/libm-test-fmaxmag.inc: Likewise.
1728         * math/libm-test-fmin.inc: Likewise.
1729         * math/libm-test-fminmag.inc: Likewise.
1730         * math/libm-test-fmod.inc: Likewise.
1731         * math/libm-test-fpclassify.inc: Likewise.
1732         * math/libm-test-frexp.inc: Likewise.
1733         * math/libm-test-fromfp.inc: Likewise.
1734         * math/libm-test-fromfpx.inc: Likewise.
1735         * math/libm-test-getpayload.inc: Likewise.
1736         * math/libm-test-hypot.inc: Likewise.
1737         * math/libm-test-ilogb.inc: Likewise.
1738         * math/libm-test-iscanonical.inc: Likewise.
1739         * math/libm-test-iseqsig.inc: Likewise.
1740         * math/libm-test-isfinite.inc: Likewise.
1741         * math/libm-test-isgreater.inc: Likewise.
1742         * math/libm-test-isgreaterequal.inc: Likewise.
1743         * math/libm-test-isinf.inc: Likewise.
1744         * math/libm-test-isless.inc: Likewise.
1745         * math/libm-test-islessequal.inc: Likewise.
1746         * math/libm-test-islessgreater.inc: Likewise.
1747         * math/libm-test-isnan.inc: Likewise.
1748         * math/libm-test-isnormal.inc: Likewise.
1749         * math/libm-test-issignaling.inc: Likewise.
1750         * math/libm-test-issubnormal.inc: Likewise.
1751         * math/libm-test-isunordered.inc: Likewise.
1752         * math/libm-test-iszero.inc: Likewise.
1753         * math/libm-test-j0.inc: Likewise.
1754         * math/libm-test-j1.inc: Likewise.
1755         * math/libm-test-jn.inc: Likewise.
1756         * math/libm-test-lgamma.inc: Likewise.
1757         * math/libm-test-llogb.inc: Likewise.
1758         * math/libm-test-llrint.inc: Likewise.
1759         * math/libm-test-llround.inc: Likewise.
1760         * math/libm-test-log.inc: Likewise.
1761         * math/libm-test-log10.inc: Likewise.
1762         * math/libm-test-log1p.inc: Likewise.
1763         * math/libm-test-log2.inc: Likewise.
1764         * math/libm-test-logb.inc: Likewise.
1765         * math/libm-test-lrint.inc: Likewise.
1766         * math/libm-test-lround.inc: Likewise.
1767         * math/libm-test-modf.inc: Likewise.
1768         * math/libm-test-nearbyint.inc: Likewise.
1769         * math/libm-test-nextafter.inc: Likewise.
1770         * math/libm-test-nextdown.inc: Likewise.
1771         * math/libm-test-nexttoward.inc: Likewise.
1772         * math/libm-test-nextup.inc: Likewise.
1773         * math/libm-test-pow.inc: Likewise.
1774         * math/libm-test-remainder.inc: Likewise.
1775         * math/libm-test-remquo.inc: Likewise.
1776         * math/libm-test-rint.inc: Likewise.
1777         * math/libm-test-round.inc: Likewise.
1778         * math/libm-test-roundeven.inc: Likewise.
1779         * math/libm-test-scalb.inc: Likewise.
1780         * math/libm-test-scalbln.inc: Likewise.
1781         * math/libm-test-scalbn.inc: Likewise.
1782         * math/libm-test-setpayload.inc: Likewise.
1783         * math/libm-test-setpayloadsig.inc: Likewise.
1784         * math/libm-test-signbit.inc: Likewise.
1785         * math/libm-test-significand.inc: Likewise.
1786         * math/libm-test-sin.inc: Likewise.
1787         * math/libm-test-sincos.inc: Likewise.
1788         * math/libm-test-sinh.inc: Likewise.
1789         * math/libm-test-sqrt.inc: Likewise.
1790         * math/libm-test-tan.inc: Likewise.
1791         * math/libm-test-tanh.inc: Likewise.
1792         * math/libm-test-tgamma.inc: Likewise.
1793         * math/libm-test-totalorder.inc: Likewise.
1794         * math/libm-test-totalordermag.inc: Likewise.
1795         * math/libm-test-trunc.inc: Likewise.
1796         * math/libm-test-ufromfp.inc: Likewise.
1797         * math/libm-test-ufromfpx.inc: Likewise.
1798         * math/libm-test-y0.inc: Likewise.
1799         * math/libm-test-y1.inc: Likewise.
1800         * math/libm-test-yn.inc: Likewise.
1801         * math/README.libm-test: Update.
1803         * math/gen-auto-libm-tests.c: Update comment about use of program.
1804         (generate_output): Add argument FUNCTION.
1805         (main): Require extra argument.  Pass function name to
1806         generate_output.
1807         * math/Makefile (generated): Add auto-libm-test-out.
1808         (libm-test-funcs-auto): New variable.
1809         (auto-libm-test-out-files): New variable.
1810         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1811         Concatenate those files to form $(objpfx)auto-libm-test-out and
1812         use it as input to gen-libm-test.pl.
1813         * math/README.libm-test: Update.
1814         * math/auto-libm-test-out: Remove.
1815         * math/auto-libm-test-out-acos: New generated file.
1816         * math/auto-libm-test-out-acosh: Likewise.
1817         * math/auto-libm-test-out-asin: Likewise.
1818         * math/auto-libm-test-out-asinh: Likewise.
1819         * math/auto-libm-test-out-atan: Likewise.
1820         * math/auto-libm-test-out-atan2: Likewise.
1821         * math/auto-libm-test-out-atanh: Likewise.
1822         * math/auto-libm-test-out-cabs: Likewise.
1823         * math/auto-libm-test-out-carg: Likewise.
1824         * math/auto-libm-test-out-cbrt: Likewise.
1825         * math/auto-libm-test-out-ccos: Likewise.
1826         * math/auto-libm-test-out-ccosh: Likewise.
1827         * math/auto-libm-test-out-cexp: Likewise.
1828         * math/auto-libm-test-out-clog: Likewise.
1829         * math/auto-libm-test-out-clog10: Likewise.
1830         * math/auto-libm-test-out-cos: Likewise.
1831         * math/auto-libm-test-out-cosh: Likewise.
1832         * math/auto-libm-test-out-cpow: Likewise.
1833         * math/auto-libm-test-out-csin: Likewise.
1834         * math/auto-libm-test-out-csinh: Likewise.
1835         * math/auto-libm-test-out-csqrt: Likewise.
1836         * math/auto-libm-test-out-ctan: Likewise.
1837         * math/auto-libm-test-out-ctanh: Likewise.
1838         * math/auto-libm-test-out-erf: Likewise.
1839         * math/auto-libm-test-out-erfc: Likewise.
1840         * math/auto-libm-test-out-exp: Likewise.
1841         * math/auto-libm-test-out-exp10: Likewise.
1842         * math/auto-libm-test-out-exp2: Likewise.
1843         * math/auto-libm-test-out-expm1: Likewise.
1844         * math/auto-libm-test-out-fma: Likewise.
1845         * math/auto-libm-test-out-hypot: Likewise.
1846         * math/auto-libm-test-out-j0: Likewise.
1847         * math/auto-libm-test-out-j1: Likewise.
1848         * math/auto-libm-test-out-jn: Likewise.
1849         * math/auto-libm-test-out-lgamma: Likewise.
1850         * math/auto-libm-test-out-log: Likewise.
1851         * math/auto-libm-test-out-log10: Likewise.
1852         * math/auto-libm-test-out-log1p: Likewise.
1853         * math/auto-libm-test-out-log2: Likewise.
1854         * math/auto-libm-test-out-pow: Likewise.
1855         * math/auto-libm-test-out-sin: Likewise.
1856         * math/auto-libm-test-out-sincos: Likewise.
1857         * math/auto-libm-test-out-sinh: Likewise.
1858         * math/auto-libm-test-out-sqrt: Likewise.
1859         * math/auto-libm-test-out-tan: Likewise.
1860         * math/auto-libm-test-out-tanh: Likewise.
1861         * math/auto-libm-test-out-tgamma: Likewise.
1862         * math/auto-libm-test-out-y0: Likewise.
1863         * math/auto-libm-test-out-y1: Likewise.
1864         * math/auto-libm-test-out-yn: Likewise.
1866         * math/Makefile (generated): Do not include libm-test.stmp.
1867         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1868         on $(objpfx)libm-test.stmp.
1869         ($(objpfx)libm-test.stmp): Remove rule.
1870         ($(objpfx)libm-test-ulps.h): New rule.
1871         ($(objpfx)libm-test.c): Likewise.
1872         ($(objpfx)libm-have-vector-test.h): Likewise.
1873         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1874         individual generated files, not libm-test.stmp.
1876         * math/gen-libm-test.pl ($output_dir): Remove variable.
1877         ($srcdir): Likewise.
1878         ($opt_a): New variable.
1879         ($opt_c): Likewise.
1880         ($opt_C): Likewise.
1881         ($opt_H): Likewise.
1882         (-n): Make option take argument and use it as NewUlps output.
1883         (-a): New option.  Use its argument for auto-libm-test-out input.
1884         (-c): New option.  Use its argument for libm-test.inc input.
1885         (-C): New option.  Use its argument for libm-test.c output.
1886         (-H): New option.  Use its argument for libm-test-ulps.h output.
1887         (top level): Only process inputs needed to generate outputs
1888         specified by command-line options.  Only generate outputs
1889         specified by command-line options.
1890         * math/README.libm-test: Update example gen-libm-test.pl command.
1891         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1892         commands.
1893         (regen-ulps): Likewise.
1895 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1897         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1898         * include/string.h (index): Remove define.
1899         (rindex): Likewise.
1900         * misc/getttyent.c (__getttyent): Rename index to strchr.
1901         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1902         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1904 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1906         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1907         * math/libm-test.inc: Move all contents, other than tests of
1908         individual functions, to libm-test-driver.c.
1909         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1910         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1911         [!FE_UPWARD] (FE_UPWARD): Likewise.
1912         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1913         (NO_EXCEPTION): Likewise.
1914         (INVALID_EXCEPTION): Likewise.
1915         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1916         (OVERFLOW_EXCEPTION): Likewise.
1917         (UNDERFLOW_EXCEPTION): Likewise.
1918         (INEXACT_EXCEPTION): Likewise.
1919         (INVALID_EXCEPTION_OK): Likewise.
1920         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1921         (OVERFLOW_EXCEPTION_OK): Likewise.
1922         (UNDERFLOW_EXCEPTION_OK): Likewise.
1923         (NO_INEXACT_EXCEPTION): Likewise.
1924         (EXCEPTIONS_OK): Likewise.
1925         (IGNORE_ZERO_INF_SIGN): Likewise.
1926         (TEST_NAN_SIGN): Likewise.
1927         (TEST_NAN_PAYLOAD): Likewise.
1928         (NO_TEST_INLINE): Likewise.
1929         (XFAIL_TEST): Likewise.
1930         (ERRNO_UNCHANGED): Likewise.
1931         (ERRNO_EDOM): Likewise.
1932         (ERRNO_ERANGE): Likewise.
1933         (IGNORE_RESULT): Likewise.
1934         (NON_FINITE): Likewise.
1935         (TEST_SNAN): Likewise.
1936         (NO_TEST_MATHVEC): Likewise.
1937         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1938         (__CONCATX): Likewise.
1939         (TYPE_MIN): Likewise.
1940         (TYPE_TRUE_MIN): Likewise.
1941         (TYPE_MAX): Likewise.
1942         (MIN_EXP): Likewise.
1943         (MAX_EXP): Likewise.
1944         (MANT_DIG): Likewise.
1945         (FSTR_MAX): Likewise.
1946         (ULP_IDX): Likewise.
1947         (QTYPE_STR): Likewise.
1948         (TEST_COND_binary32): Likewise.
1949         (TEST_COND_binary64): Likewise.
1950         (TEST_COND_binary128): Likewise.
1951         (TEST_COND_ibm128): Likewise.
1952         (TEST_COND_intel96): Likewise.
1953         (TEST_COND_m68k96): Likewise.
1954         (TEST_COND_ibm128_libgcc): Likewise.
1955         (XFAIL_IBM128_LIBGCC): Likewise.
1956         (PAYLOAD_DIG): Likewise.
1957         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1958         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1959         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1960         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1961         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1962         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1963         (TEST_COND_long32): Likewise.
1964         (TEST_COND_long64): Likewise.
1965         (TEST_COND_before_rounding): Likewise.
1966         (TEST_COND_after_rounding): Likewise.
1967         (lit_pi_3_m_4_d): Likewise.
1968         (lit_pi_3_m_4_ln10_m_d): Likewise.
1969         (lit_pi_2_ln10_m_d): Likewise.
1970         (lit_pi_4_ln10_m_d): Likewise.
1971         (lit_pi_ln10_d): Likewise.
1972         (lit_pi_2_d): Likewise.
1973         (lit_pi_4_d): Likewise.
1974         (lit_pi): Likewise.
1975         (lit_e): Likewise.
1976         (ulps_file_name): Likewise.
1977         (ulps_file): Likewise.
1978         (output_ulps): Likewise.
1979         (output_dir): Likewise.
1980         (noErrors): Likewise.
1981         (noTests): Likewise.
1982         (noExcTests): Likewise.
1983         (noErrnoTests): Likewise.
1984         (verbose): Likewise.
1985         (output_max_error): Likewise.
1986         (output_points): Likewise.
1987         (ignore_max_ulp): Likewise.
1988         (plus_zero): Likewise.
1989         (minus_zero): Likewise.
1990         (plus_infty): Likewise.
1991         (minus_infty): Likewise.
1992         (qnan_value_pl): Likewise.
1993         (qnan_value): Likewise.
1994         (snan_value_pl): Likewise.
1995         (snan_value): Likewise.
1996         (max_value): Likewise.
1997         (min_value): Likewise.
1998         (min_subnorm_value): Likewise.
1999         (snan_value_ld): Likewise.
2000         (max_error): Likewise.
2001         (real_max_error): Likewise.
2002         (imag_max_error): Likewise.
2003         (prev_max_error): Likewise.
2004         (prev_real_max_error): Likewise.
2005         (prev_imag_max_error): Likewise.
2006         (max_valid_error): Likewise.
2007         (TYPE_DECIMAL_DIG): Likewise.
2008         (TYPE_HEX_DIG): Likewise.
2009         (fmt_ftostr): Likewise.
2010         (compare_ulp_data): Likewise.
2011         (find_ulps): Likewise.
2012         (init_max_error): Likewise.
2013         (set_max_error): Likewise.
2014         (print_float): Likewise.
2015         (print_screen): Likewise.
2016         (print_screen_max_error): Likewise.
2017         (update_stats): Likewise.
2018         (print_function_ulps): Likewise.
2019         (print_complex_function_ulps): Likewise.
2020         (fpstack_test): Likewise.
2021         (print_max_error): Likewise.
2022         (print_complex_max_error): Likewise.
2023         (test_single_exception): Likewise.
2024         (test_exceptions): Likewise.
2025         (test_single_errno): Likewise.
2026         (test_errno): Likewise.
2027         (ULPDIFF): Likewise.
2028         (ulp): Likewise.
2029         (check_float_internal): Likewise.
2030         (check_float): Likewise.
2031         (check_complex): Likewise.
2032         (check_int): Likewise.
2033         (check_long): Likewise.
2034         (check_bool): Likewise.
2035         (check_longlong): Likewise.
2036         (check_intmax_t): Likewise.
2037         (check_uintmax_t): Likewise.
2038         (enable_test): Likewise.
2039         (struct test_f_f_data): Likewise.
2040         (struct test_ff_f_data): Likewise.
2041         (struct test_fj_f_data): Likewise.
2042         (struct test_fi_f_data): Likewise.
2043         (struct test_fl_f_data): Likewise.
2044         (struct test_if_f_data): Likewise.
2045         (struct test_fff_f_data): Likewise.
2046         (struct test_fiu_M_data): Likewise.
2047         (struct test_fiu_U_data): Likewise.
2048         (struct test_c_f_data): Likewise.
2049         (struct test_f_f1_data): Likewise.
2050         (struct test_fF_f1_data): Likewise.
2051         (struct test_ffI_f1_data): Likewise.
2052         (struct test_c_c_data): Likewise.
2053         (struct test_cc_c_data): Likewise.
2054         (struct test_f_i_data): Likewise.
2055         (struct test_ff_i_data): Likewise.
2056         (struct test_f_l_data): Likewise.
2057         (struct test_f_L_data): Likewise.
2058         (struct test_fFF_11_data): Likewise.
2059         (struct test_Ff_b1_data): Likewise.
2060         (IF_ROUND_INIT_): Likewise.
2061         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2062         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2063         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2064         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2065         (ROUND_RESTORE_): Likewise.
2066         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2067         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2068         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2069         (ROUND_RESTORE_FE_UPWARD): Likewise.
2070         (RM_): Likewise.
2071         (RM_FE_DOWNWARD): Likewise.
2072         (RM_FE_TONEAREST): Likewise.
2073         (RM_FE_TOWARDZERO): Likewise.
2074         (RM_FE_UPWARD): Likewise.
2075         (COMMON_TEST_SETUP): Likewise.
2076         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2077         (COMMON_TEST_CLEANUP): Likewise.
2078         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2079         (RUN_TEST_f_f): Likewise.
2080         (RUN_TEST_LOOP_f_f): Likewise.
2081         (RUN_TEST_fp_f): Likewise.
2082         (RUN_TEST_LOOP_fp_f): Likewise.
2083         (RUN_TEST_2_f): Likewise.
2084         (RUN_TEST_LOOP_2_f): Likewise.
2085         (RUN_TEST_ff_f): Likewise.
2086         (RUN_TEST_LOOP_ff_f): Likewise.
2087         (RUN_TEST_LOOP_fj_f): Likewise.
2088         (RUN_TEST_fi_f): Likewise.
2089         (RUN_TEST_LOOP_fi_f): Likewise.
2090         (RUN_TEST_fl_f): Likewise.
2091         (RUN_TEST_LOOP_fl_f): Likewise.
2092         (RUN_TEST_if_f): Likewise.
2093         (RUN_TEST_LOOP_if_f): Likewise.
2094         (RUN_TEST_fff_f): Likewise.
2095         (RUN_TEST_LOOP_fff_f): Likewise.
2096         (RUN_TEST_fiu_M): Likewise.
2097         (RUN_TEST_LOOP_fiu_M): Likewise.
2098         (RUN_TEST_fiu_U): Likewise.
2099         (RUN_TEST_LOOP_fiu_U): Likewise.
2100         (RUN_TEST_c_f): Likewise.
2101         (RUN_TEST_LOOP_c_f): Likewise.
2102         (RUN_TEST_f_f1): Likewise.
2103         (RUN_TEST_LOOP_f_f1): Likewise.
2104         (RUN_TEST_fF_f1): Likewise.
2105         (RUN_TEST_LOOP_fF_f1): Likewise.
2106         (RUN_TEST_fI_f1): Likewise.
2107         (RUN_TEST_LOOP_fI_f1): Likewise.
2108         (RUN_TEST_ffI_f1_mod8): Likewise.
2109         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2110         (RUN_TEST_Ff_b1): Likewise.
2111         (RUN_TEST_LOOP_Ff_b1): Likewise.
2112         (RUN_TEST_Ffp_b1): Likewise.
2113         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2114         (RUN_TEST_c_c): Likewise.
2115         (RUN_TEST_LOOP_c_c): Likewise.
2116         (RUN_TEST_cc_c): Likewise.
2117         (RUN_TEST_LOOP_cc_c): Likewise.
2118         (RUN_TEST_f_i): Likewise.
2119         (RUN_TEST_LOOP_f_i): Likewise.
2120         (RUN_TEST_f_i_tg): Likewise.
2121         (RUN_TEST_LOOP_f_i_tg): Likewise.
2122         (RUN_TEST_ff_b): Likewise.
2123         (RUN_TEST_LOOP_ff_b): Likewise.
2124         (RUN_TEST_ff_i_tg): Likewise.
2125         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2126         (RUN_TEST_f_b): Likewise.
2127         (RUN_TEST_LOOP_f_b): Likewise.
2128         (RUN_TEST_f_b_tg): Likewise.
2129         (RUN_TEST_LOOP_f_b_tg): Likewise.
2130         (RUN_TEST_f_l): Likewise.
2131         (RUN_TEST_LOOP_f_l): Likewise.
2132         (RUN_TEST_f_L): Likewise.
2133         (RUN_TEST_LOOP_f_L): Likewise.
2134         (RUN_TEST_fFF_11): Likewise.
2135         (RUN_TEST_LOOP_fFF_11): Likewise.
2136         (VEC_SUFF): Likewise.
2137         (STR_CONCAT): Likewise.
2138         (STR_CON3): Likewise.
2139         (HAVE_VECTOR): Likewise.
2140         (START): Likewise.
2141         (END): Likewise.
2142         (END_COMPLEX): Likewise.
2143         (ALL_RM_TEST): Likewise.
2144         (matherr): Likewise.
2145         (initialize): Likewise.
2146         (options): Likewise.
2147         (doc): Likewise.
2148         (parse_opt): Likewise.
2149         (argp): Likewise.
2150         (check_ulp): Likewise.
2151         (main): Likewise.
2152         (do_test): New function.  Call tests of individual functions
2153         previously called from main.
2155         * math/libm-test.inc: Remove comment listing functions tested and
2156         not tested.
2158 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2160         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2161         (allocate_stack): Remove COLORING_INCREMENT usage.
2162         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2163         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2165 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2167         * manual/libm-err-tab.pl (@all_functions): Change to
2168         %all_functions.  Initialize as empty.
2169         (parse_ulps): Add to %all_functions based on functions found in
2170         ulps files.  Ignore results for non-default rounding modes and
2171         vector functions.
2172         (print_platforms): Use %all_platforms.
2173         * manual/math.texi (Errors in Math Functions): Document omissions
2174         from the table.
2176         * math/Makefile (before-compile): Remove.
2178 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2180         [BZ #21075]
2181         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2182         unused assignment.
2183         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2185 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2187         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2188         Add __glibc_unlikely hint.
2190 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2192         [BZ #16640]
2193         * sysdeps/i386/i686/strtok.S: Remove file.
2194         * sysdeps/i386/i686/strtok_r.S: Likewise.
2195         * sysdeps/i386/strtok.S: Likewise.
2196         * sysdeps/i386/strtok_r.S: Likewise.
2197         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2198         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2199         * sysdeps/x86_64/strtok.S: Likewise.
2200         * sysdeps/x86_64/strtok_r.S: Likewise.
2202         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2203         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2204         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2205         (__ASSUME_FADVISE64_AS_64_64): Define.
2206         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2207         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2208         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2209         __ALIGNMENT_ARG usage.
2210         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2211         __NR_fadvise64_64 if it is not defined.
2213 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2215         * version.h (RELEASE): Set to "development"
2216         (VERSION): Set to 2.25.90.
2217         * NEWS: Add 2.26 section.
2219         * version.h (RELEASE): Set to "stable"
2220         (VERSION): Set to 2.25.
2221         * include/features.h (__GLIBC_MINOR__): Set to 25.
2223         * manual/contrib.texi: Add more contributors from this release
2224         and past releases.
2226         * NEWS (2.25): Add list of bugs fixed.
2228         * NEWS: Add missing news items.
2230 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2232         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2233         parent if child exited in that manner.  Print WEXITSTATUS
2234         instead of the raw status.
2235         (do_test_prep): Rename to do_test.
2236         (do_test): Return the result of run_executable_sgid.
2237         (TEST_FUNCTION_ARGV): Adjust.
2239 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2240             Florian Weimer  <fweimer@redhat.com>
2241             Carlos O'Donell  <carlos@redhat.com>
2243         [BZ #20915]
2244         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2245         Do not initialize DTV.
2246         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2248 2017-02-03  David S. Miller  <davem@davemloft.net>
2250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2258         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2259         (libm-sysdep_routines): Update.
2260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2265         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2266         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2267         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2268         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2270         Likewise.
2271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2273         Likewise.
2274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2276         Likewise.
2277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2279         Likewise.
2280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2282         (libm-sysdep_routines): Update.
2284 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2286         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2287         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2288         against unrelocated shared library.
2289         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2291 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2293         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2294         * elf/tst-env-setuid-tunables.c
2295         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2296         GLIBC_TUNABLES is removed in a setgid process.
2298         [BZ #21073]
2299         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2300         * elf/dl-tunables.c (tunables_strdup): Remove.
2301         (get_next_env): Also return the previous envp.
2302         (parse_tunables): Erase tunables of category
2303         TUNABLES_SECLEVEL_SXID_ERASE.
2304         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2305         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2306         (__tunables_init)[TUNABLES_FRONTEND ==
2307         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2308         after parsing.
2309         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2310         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2311         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2312         to security_level.
2313         * elf/dl-tunables.list: Add security_level annotations for all
2314         tunables.
2315         * scripts/gen-tunables.awk: Recognize and generate enum values
2316         for security_level.
2317         * elf/tst-env-setuid.c: New test case.
2318         * elf/tst-env-setuid-tunables: new test case.
2319         * elf/Makefile (tests-static): Add them.
2321 2017-02-01  Richard Henderson  <rth@twiddle.net>
2323         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2324         adjusting the byte count.
2326 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2328         * conform/Makefile (linknamespace-libs): Define.
2330         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2331         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2332         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2333         operands.
2335 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2337         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2339 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2341         [BZ #21081]
2342         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2343         (L(stosb)): Add VZEROUPPER before ret.
2345 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2346             Alexey Makhalov <amakhalov@vmware.com>
2347             Florian Weimer <fweimer@redhat.com>
2349         [BZ #20116]
2350         * nptl/pthread_create.c: Document concurrency notes.
2351         Enhance thread creation notes.
2352         (create_thread): Use bool *stopped_start.
2353         (START_THREAD_DEFN): Comment ownership of PD.
2354         (__pthread_create_2_1): Add local bool stopped_start and use
2355         that instead of pd->stopped_start where appropriate.
2356         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2357         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2358         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2359         * nptl/tst-create-detached.c: New file.
2360         * nptl/Makefile (tests): Add tst-create-detached.
2361         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2362         Reference the enhanced thread creation notes.
2363         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2364         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2365         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2366         (__pthread_current_priority): Likewise.
2367         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2368         xpthread_attr_init, xpthread_attr_setdetachstate, and
2369         xpthread_attr_setstacksize.
2370         * support/xpthread_attr_destroy.c: New file.
2371         * support/xpthread_attr_init.c: New file.
2372         * support/xpthread_attr_setdetachstate.c: New file.
2373         * support/xpthread_attr_setstacksize.c: New file.
2374         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2375         xpthread_attr_init, xpthread_attr_setdetachstate, and
2376         xpthread_attr_setstacksize.
2378 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2380         * nptl/Makefile (tests): Add tst-robust-fork.
2381         * nptl/tst-robust-fork.c: New file.
2382         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2383         xpthread_mutex_consistent, xpthread_mutex_destroy,
2384         xpthread_mutex_init, xpthread_mutexattr_destroy,
2385         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2386         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2387         xpthread_mutexattr_settype.
2388         * support/xmmap.c: New file.
2389         * support/xmunmap.c: Likewise.
2390         * support/xpthread_mutex_consistent.c: Likewise.
2391         * support/xpthread_mutex_destroy.c: Likewise.
2392         * support/xpthread_mutex_init.c: Likewise.
2393         * support/xpthread_mutexattr_destroy.c: Likewise.
2394         * support/xpthread_mutexattr_init.c: Likewise.
2395         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2396         * support/xpthread_mutexattr_setpshared.c: Likewise.
2397         * support/xpthread_mutexattr_setrobust.c: Likewise.
2398         * support/xpthread_mutexattr_settype.c: Likewise.
2399         * support/xthread.h (xpthread_mutexattr_destroy)
2400         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2401         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2402         (xpthread_mutexattr_settype, xpthread_mutex_init)
2403         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2404         * support/xunistd.h (xmmap, xmunmap): Likewise.
2406 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2408         * string/Makefile (xtests): Add comment.
2409         (LOCALES): Add en_GB.UTF-8.
2410         (tst-strcoll-overflow.out): Depend on generated locales.
2411         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2412         (SIZE, TIMEOUT): Update comments.
2413         (do_test): Define as static.  Fail test if setlocale fails.
2414         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2415         messages.
2416         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2417         TIMEOUT at 300 seconds should be enough to run this test
2418         successfully.
2420 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2422         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2423         /* FALLTHRU */ comments.
2425 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2427         [BZ #21053]
2428         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2429         constants instead of the old R* ones.
2430         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2431         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2432         (NGREG): ... to this, to fit in with other architectures.
2433         (gpregset_t): Use new NGREG macro.
2434         [__USE_GNU]: Remove condition; all architectures other than tile
2435         are unconditional.
2436         (R*): Rename to REG_R*.
2438 2017-01-20  DJ Delorie  <dj@redhat.com>
2440         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2441         (tunable_set_val_if_valid_range_signed) ... this, and ...
2442         (tunable_set_val_if_valid_range_unsigned) ... this.
2443         (tunable_initialize): Call the correct one of the above based on type.
2445 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2447         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2448         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2449         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2450         * sysdeps/microblaze/libm-test-ulps: Likewise.
2451         * sysdeps/sh/libm-test-ulps: Likewise.
2453         * math/README.libm-test: Update list of characters for input and
2454         output types.
2456 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2458         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2459         (__lll_unlock_elision): Fix adapt_count decrement.
2461 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2463         * README.pretty-printers (Known issues): Warn about printers not
2464         always covering everything.
2465         * nptl/nptl-printers.py (MutexPrinter): Change output.
2466         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2468 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2470         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2471         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2472         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2473         (__lll_lock_elision): Do not test futex before starting a
2474         transaction.  Use __glibc_likely instead of __builtin_expect.
2475         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2476         (__lll_trylock_elision): Do not test futex before starting a
2477         transaction.  Use __glibc_likely instead of __builtin_expect.
2479 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2481         * po/Makefile (update-translations): New target.
2483 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2485         [BZ #21061]
2486         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
2488 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2490         * elf/dl-tunables (get_next_env): Always advance envp.
2491         * stdlib/tst-empty-env.c: New test case.
2492         * stdlib/Makefile (tests): Use it.
2494 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2496         [BZ #21047]
2497         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
2498         name for instruction.
2499         [!__SOFTFP__] (_FPU_SETCW): Likewise.
2501 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2503         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
2504         for make install.
2506 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2508         * po/bg.po: Merge from Translation Project.
2509         * po/fr.po: Likewise.
2510         * po/ko.po: Likewise.
2511         * po/nl.po: Likewise.
2512         * po/sv.po: Likewise.
2514 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2516         * manual/install.texi (Tools for Compilation): Update GCC version
2517         known to work to build glibc.
2518         * INSTALL: Regenerated.
2520 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2522         [BZ #21006]
2523         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
2525 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
2527         [BZ #21045]
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2529         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
2530         to __sigprocmask.
2532 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
2534         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
2535         wrap-around.
2536         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
2538         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
2540 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2542         * NEWS: Fix typo.
2544 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2546         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
2547         barriers and comments.
2548         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
2549         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2550         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2552 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2554         [BZ #19402]
2555         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
2556         mutexes.
2558 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2560         [BZ #20985]
2561         * nptl/Makefile: Adapt.
2562         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2563         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2564         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2565         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2566         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
2567         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
2568         lll_robust* functions and adapt.
2569         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2570         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
2571         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2572         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2573         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
2574         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2575         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
2576         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2577         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
2578         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2579         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2580         * nptl/lowlevelrobustlock.c: Remove file.
2581         * nptl/lowlevelrobustlock.sym: Likewise.
2582         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
2583         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
2585 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2587         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2589 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2591         * po/cs.po: Merge translations from the Translation Project.
2592         * po/de.po: Likewise.
2593         * po/pl.po: Likewise.
2594         * po/ru.po: Likewise.
2595         * po/tr.po: Likewise.
2596         * po/uk.po: Likewise.
2597         * po/vi.po: Likewise.
2598         * po/zh_CN.po: Likewise.
2600 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
2602         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2604         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
2605         object.
2607 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2609         [BZ #16458]
2610         * bits/uintn-identity.h: New file.
2611         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
2612         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
2613         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
2614         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
2615         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
2616         * string/endian.h: Include <bits/uintn-identity.h>.
2617         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
2618         __uint16_identity.
2619         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
2620         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
2621         __uint32_identity.
2622         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
2623         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
2624         __uint64_identity.
2625         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
2626         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
2627         __uint16_identity.
2628         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
2629         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
2630         __uint32_identity.
2631         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
2632         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
2633         __uint64_identity.
2634         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
2635         * string/Makefile (headers): Add bits/uintn-identity.h.
2636         (tests): Add test-endian-types.
2637         * string/test-endian-types.c: New file.
2638         * inet/Makefile (tests): Add test-hnto-types.
2639         * inet/test-hnto-types.c: New file.
2641 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2643         * po/be.po: Update from Translation Project.
2644         * po/bg.po: Likewise.
2645         * po/ca.po: Likewise.
2646         * po/cs.po: Likewise.
2647         * po/da.po: Likewise.
2648         * po/de.po: Likewise.
2649         * po/el.po: Likewise.
2650         * po/eo.po: Likewise.
2651         * po/es.po: Likewise.
2652         * po/fi.po: Likewise.
2653         * po/fr.po: Likewise.
2654         * po/gl.po: Likewise.
2655         * po/hr.po: Likewise.
2656         * po/hu.po: Likewise.
2657         * po/ia.po: Likewise.
2658         * po/id.po: Likewise.
2659         * po/it.po: Likewise.
2660         * po/ja.po: Likewise.
2661         * po/ko.po: Likewise.
2662         * po/lt.po: Likewise.
2663         * po/nb.po: Likewise.
2664         * po/nl.po: Likewise.
2665         * po/pl.po: Likewise.
2666         * po/pt_BR.po: Likewise.
2667         * po/ru.po: Likewise.
2668         * po/rw.po: Likewise.
2669         * po/sk.po: Likewise.
2670         * po/sl.po: Likewise.
2671         * po/sv.po: Likewise.
2672         * po/tr.po: Likewise.
2673         * po/uk.po: Likewise.
2674         * po/vi.po: Likewise.
2675         * po/zh_CN.po: Likewise.
2676         * po/zh_TW.po: Likewise.
2678 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2680         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2681         -Wformat-truncation instead of -Wformat-length.
2682         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2683         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2684         GCC 7.
2685         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2686         (do_test): Ignore -Wformat-truncation for GCC 7.
2688         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2689         buffer used to print long int value.
2691         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2692         one byte.  Print it with %ld, cast to long int.
2694 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2696         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2697         (re.fullmatch, subprocess.run): Likewise.
2699 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2701         * po/libc.pot: Regenerate.
2703 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2705         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2706         (min_strlen): Likewise.
2707         (disable_tunable): Likewise.
2708         (maybe_disable_malloc_check): Rename to
2709         maybe_enable_malloc_check.
2710         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2711         if /etc/suid-debug file exists.
2712         (__tunables_init): Update caller.
2713         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2714         secure.
2716 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2718         * nptl/DESIGN-rwlock.txt: Remove.
2719         * nptl/lowlevelrwlock.sym: Remove.
2720         * nptl/Makefile: Add new tests.
2721         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2722         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2723         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2724         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2725         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2726         PTHREAD_RWLOCK_FUTEX_USED): New.
2727         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2728         implementation.
2729         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2730         (__pthread_rwlock_rdlock): Adapt.
2731         * nptl/pthread_rwlock_timedrdlock.c
2732         (pthread_rwlock_timedrdlock): Adapt.
2733         * nptl/pthread_rwlock_timedwrlock.c
2734         (pthread_rwlock_timedwrlock): Adapt.
2735         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2736         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2737         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2738         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2739         (__pthread_rwlock_wrlock): Adapt.
2740         * nptl/tst-rwlock10.c: Adapt.
2741         * nptl/tst-rwlock11.c: Adapt.
2742         * nptl/tst-rwlock17.c: New file.
2743         * nptl/tst-rwlock18.c: New file.
2744         * nptl/tst-rwlock19.c: New file.
2745         * nptl/tst-rwlock2b.c: New file.
2746         * nptl/tst-rwlock8.c: Adapt.
2747         * nptl/tst-rwlock9.c: Adapt.
2748         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2749         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2750         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2751         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2752         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2753         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2754         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2755         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2756         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2757         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2758         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2759         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2760         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2761         (pthread_rwlock_t): Adapt.
2762         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2763         (pthread_rwlock_t): Adapt.
2764         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2765         * nptl/nptl-printers.py (): Adapt.
2766         * nptl/nptl_lock_constants.pysym: Adapt.
2767         * nptl/test-rwlock-printers.py: Adapt.
2768         * nptl/test-rwlockattr-printers.c: Adapt.
2769         * nptl/test-rwlockattr-printers.py: Adapt.
2771 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2773         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2774         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2775         (fma_test_data): Likewise.
2776         (hypot_test_data): Likewise.
2777         (log1p_test_data): Likewise.
2778         (modf_test_data): Likewise.
2779         (pow_test_data): Likewise.
2780         (remainder_test_data): Likewise.
2781         (remquo_test_data): Likewise.
2782         (scalb_test_data): Likewise.
2783         (scalbn_test_data): Likewise.
2784         (scalbln_test_data): Likewise.
2785         * math/gen-libm-test.pl (parse_args): Transform
2786         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2787         on the rounding mode.
2789 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2791         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2792         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2793         and those that can underflow to zero.
2794         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2795         add others.
2796         * math/auto-libm-test-out: Regenerated.
2798         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2799         supported.
2800         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2801         modes support if not supported.
2803         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2804         Add libc.so PLT entry.
2805         (__tls_get_addr): Make ld.so PLT entry optional.
2807 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2809         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2810         * string/bits/string3.h: ... here.
2812 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2814         [BZ #21028]
2815         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2816         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2817         if EXCEPTION_TESTS returns false.
2819 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2821         [BZ #20558]
2822         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2823         strings_fortified.h.
2824         [__USE_MISC] (bzero): Likewise.
2825         [__USE_MISC] (explicit_bzero): Likewise.
2826         * string/strings.h: Include strings_fortified.h.
2827         * string/Makefile (headers): Add strings_fortified.h.
2828         * string/bits/strings_fortified.h: New file.
2829         * include/bits/strings_fortified.h: Likewise.
2831 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2833         * elf/tst-tls13.c (TIMEOUT): Remove.
2834         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2835         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2836         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2837         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2838         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2840         [BZ #21026]
2841         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2842         (readahead): New syscall entry.
2844 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2846         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2847         around tests of strncat with large sizes.
2849         * malloc/tst-malloc.c: Include <libc-internal.h>.
2850         (do_test): Disable -Walloc-size-larger-than= around tests of
2851         malloc with negative sizes.
2852         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2853         (do_test): Disable -Walloc-size-larger-than= around tests of
2854         malloc and realloc with negative sizes.
2855         * malloc/tst-realloc.c: Include <libc-internal.h>.
2856         (do_test): Disable -Walloc-size-larger-than= around tests of
2857         realloc with negative sizes.
2859         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2860         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2861         allowed to 16 ulps.
2862         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2863         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2864         * math/auto-libm-test-out: Regenerated.
2866 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2868         * math/Makefile (libm-calls): Move wrappers...
2869         (libm-compat-call-auto): Here.
2870         (libm-routines): Add items in libm-compat-calls-auto.
2871         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2872         the filenames of the wrappers that have been renamed.
2873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2876         * math/w_acos.c: Add _compat suffix to filename.
2877         * math/w_acosf.c: Likewise.
2878         * math/w_acosh.c: Likewise.
2879         * math/w_acoshf.c: Likewise.
2880         * math/w_acoshl.c: Likewise.
2881         * math/w_acosl.c: Likewise.
2882         * math/w_asin.c: Likewise.
2883         * math/w_asinf.c: Likewise.
2884         * math/w_asinl.c: Likewise.
2885         * math/w_atan2.c: Likewise.
2886         * math/w_atan2f.c: Likewise.
2887         * math/w_atan2l.c: Likewise.
2888         * math/w_atanh.c: Likewise.
2889         * math/w_atanhf.c: Likewise.
2890         * math/w_atanhl.c: Likewise.
2891         * math/w_cosh.c: Likewise.
2892         * math/w_coshf.c: Likewise.
2893         * math/w_coshl.c: Likewise.
2894         * math/w_exp10.c: Likewise.
2895         * math/w_exp10f.c: Likewise.
2896         * math/w_exp10l.c: Likewise.
2897         * math/w_exp2.c: Likewise.
2898         * math/w_exp2f.c: Likewise.
2899         * math/w_exp2l.c: Likewise.
2900         * math/w_fmod.c: Likewise.
2901         * math/w_fmodf.c: Likewise.
2902         * math/w_fmodl.c: Likewise.
2903         * math/w_hypot.c: Likewise.
2904         * math/w_hypotf.c: Likewise.
2905         * math/w_hypotl.c: Likewise.
2906         * math/w_j0.c: Likewise.
2907         * math/w_j0f.c: Likewise.
2908         * math/w_j0l.c: Likewise.
2909         * math/w_j1.c: Likewise.
2910         * math/w_j1f.c: Likewise.
2911         * math/w_j1l.c: Likewise.
2912         * math/w_jn.c: Likewise.
2913         * math/w_jnf.c: Likewise.
2914         * math/w_jnl.c: Likewise.
2915         * math/w_log10.c: Likewise.
2916         * math/w_log10f.c: Likewise.
2917         * math/w_log10l.c: Likewise.
2918         * math/w_log2.c: Likewise.
2919         * math/w_log2f.c: Likewise.
2920         * math/w_log2l.c: Likewise.
2921         * math/w_log.c: Likewise.
2922         * math/w_logf.c: Likewise.
2923         * math/w_logl.c: Likewise.
2924         * math/w_pow.c: Likewise.
2925         * math/w_powf.c: Likewise.
2926         * math/w_powl.c: Likewise.
2927         * math/w_remainder.c: Likewise.
2928         * math/w_remainderf.c: Likewise.
2929         * math/w_remainderl.c: Likewise.
2930         * math/w_scalb.c: Likewise.
2931         * math/w_scalbf.c: Likewise.
2932         * math/w_scalbl.c: Likewise.
2933         * math/w_sinh.c: Likewise.
2934         * math/w_sinhf.c: Likewise.
2935         * math/w_sinhl.c: Likewise.
2936         * math/w_sqrt.c: Likewise.
2937         * math/w_sqrtf.c: Likewise.
2938         * math/w_sqrtl.c: Likewise.
2939         * math/w_tgamma.c: Likewise.
2940         * math/w_tgammaf.c: Likewise.
2941         * math/w_tgammal.c: Likewise.
2943         * math/w_acos_compat.c: New file copied from above and
2944         adjusted for new #includes path
2945         * math/w_acosf_compat.c: Likewise.
2946         * math/w_acosh_compat.c: Likewise.
2947         * math/w_acoshf_compat.c: Likewise.
2948         * math/w_acoshl_compat.c: Likewise.
2949         * math/w_acosl_compat.c: Likewise.
2950         * math/w_asin_compat.c: Likewise.
2951         * math/w_asinf_compat.c: Likewise.
2952         * math/w_asinl_compat.c: Likewise.
2953         * math/w_atan2_compat.c: Likewise.
2954         * math/w_atan2f_compat.c: Likewise.
2955         * math/w_atan2l_compat.c: Likewise.
2956         * math/w_atanh_compat.c: Likewise.
2957         * math/w_atanhf_compat.c: Likewise.
2958         * math/w_atanhl_compat.c: Likewise.
2959         * math/w_cosh_compat.c: Likewise.
2960         * math/w_coshf_compat.c: Likewise.
2961         * math/w_coshl_compat.c: Likewise.
2962         * math/w_exp10_compat.c: Likewise.
2963         * math/w_exp10f_compat.c: Likewise.
2964         * math/w_exp10l_compat.c: Likewise.
2965         * math/w_exp2_compat.c: Likewise.
2966         * math/w_exp2f_compat.c: Likewise.
2967         * math/w_exp2l_compat.c: Likewise.
2968         * math/w_fmod_compat.c: Likewise.
2969         * math/w_fmodf_compat.c: Likewise.
2970         * math/w_fmodl_compat.c: Likewise.
2971         * math/w_hypot_compat.c: Likewise.
2972         * math/w_hypotf_compat.c: Likewise.
2973         * math/w_hypotl_compat.c: Likewise.
2974         * math/w_j0_compat.c: Likewise.
2975         * math/w_j0f_compat.c: Likewise.
2976         * math/w_j0l_compat.c: Likewise.
2977         * math/w_j1_compat.c: Likewise.
2978         * math/w_j1f_compat.c: Likewise.
2979         * math/w_j1l_compat.c: Likewise.
2980         * math/w_jn_compat.c: Likewise.
2981         * math/w_jnf_compat.c: Likewise.
2982         * math/w_jnl_compat.c: Likewise.
2983         * math/w_log10_compat.c: Likewise.
2984         * math/w_log10f_compat.c: Likewise.
2985         * math/w_log10l_compat.c: Likewise.
2986         * math/w_log2_compat.c: Likewise.
2987         * math/w_log2f_compat.c: Likewise.
2988         * math/w_log2l_compat.c: Likewise.
2989         * math/w_log_compat.c: Likewise.
2990         * math/w_logf_compat.c: Likewise.
2991         * math/w_logl_compat.c: Likewise.
2992         * math/w_pow_compat.c: Likewise.
2993         * math/w_powf_compat.c: Likewise.
2994         * math/w_powl_compat.c: Likewise.
2995         * math/w_remainder_compat.c: Likewise.
2996         * math/w_remainderf_compat.c: Likewise.
2997         * math/w_remainderl_compat.c: Likewise.
2998         * math/w_scalb_compat.c: Likewise.
2999         * math/w_scalbf_compat.c: Likewise.
3000         * math/w_scalbl_compat.c: Likewise.
3001         * math/w_sinh_compat.c: Likewise.
3002         * math/w_sinhf_compat.c: Likewise.
3003         * math/w_sinhl_compat.c: Likewise.
3004         * math/w_sqrt_compat.c: Likewise.
3005         * math/w_sqrtf_compat.c: Likewise.
3006         * math/w_sqrtl_compat.c: Likewise.
3007         * math/w_tgamma_compat.c: Likewise.
3008         * math/w_tgammaf_compat.c: Likewise.
3009         * math/w_tgammal_compat.c: Likewise.
3011         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3012         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3013         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3014         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3015         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3016         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3017         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3018         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3019         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3020         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3021         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3022         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3023         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3024         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3025         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3026         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3027         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3028         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3029         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3030         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3031         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3032         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3033         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3034         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3035         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3036         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3037         * sysdeps/ia64/fpu/w_log.c: Likewise.
3038         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3039         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3040         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3041         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3042         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3043         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3044         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3045         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3046         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3047         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3048         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3049         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3050         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3051         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3052         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3053         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3054         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3055         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3056         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3057         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3058         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3059         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3060         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3061         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3062         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3063         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3064         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3065         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3066         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3067         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3068         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3069         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3070         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3071         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3072         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3073         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3074         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3075         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3076         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3077         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3078         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3079         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3080         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3081         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3082         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3083         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3084         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3085         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3086         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3087         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3088         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3089         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3090         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3091         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3092         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3093         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3094         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3095         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3096         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3097         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3098         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3099         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3100         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3101         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3102         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3103         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3104         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3105         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3106         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3107         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3108         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3109         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3110         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3112         Likewise.
3113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3114         Likewise.
3115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3117         Likewise.
3118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3119         Likewise.
3120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3121         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3122         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3123         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3124         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3125         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3126         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3131         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3132         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3133         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3134         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3136         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3137         and adjusted for new #includes path
3138         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3139         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3140         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3141         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3142         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3143         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3144         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3145         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3146         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3147         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3148         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3149         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3150         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3151         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3152         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3153         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3154         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3155         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3156         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3157         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3158         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3159         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3160         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3161         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3162         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3163         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3164         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3165         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3166         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3167         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3168         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3169         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3170         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3171         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3172         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3173         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3174         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3175         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3176         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3177         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3178         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3179         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3180         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3181         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3182         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3183         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3184         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3185         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3186         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3187         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3188         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3189         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3190         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3191         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3192         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3193         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3194         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3195         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3196         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3197         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3198         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3199         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3200         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3201         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3202         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3203         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3204         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3205         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3206         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3207         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3208         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3209         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3210         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3211         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3212         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3213         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3214         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3215         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3216         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3217         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3218         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3219         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3220         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3221         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3222         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3223         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3224         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3225         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3226         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3227         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3228         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3229         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3230         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3231         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3232         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3233         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3234         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3235         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3236         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3238         Likewise.
3239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3240         Likewise.
3241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3242         Likewise.
3243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3244         Likewise.
3245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3246         Likewise.
3247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3248         Likewise.
3249         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3250         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3251         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3252         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3253         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3254         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3256         Likewise.
3257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3258         Likewise.
3259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3260         Likewise.
3261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3262         Likewise.
3263         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3264         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3265         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3266         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3268 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3270         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3271         __jmp_buf_internal_tag.
3273         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3274         preserve NaN payload if [__mips_nan2008].
3275         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3277         [BZ #21022]
3278         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3280 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3282         * sysdeps/i386/fpu/libm-test-ulps: Update.
3284 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3286         * sysdeps/ia64/strcat.c: Remove file.
3287         * sysdeps/powerpc/strcat.c: Likewise.
3288         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3289         C implementation.
3290         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3291         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3293 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3294             Steven Munroe  <sjmunroe@us.ibm.com>
3295             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3297         [BZ #20822]
3298         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3299         (__lll_lock_elision): Access adapt_count via C11 atomics.
3300         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3301         (__lll_trylock_elision): Likewise.
3302         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3303         (__lll_unlock_elision):  Update adapt_count variable inside the
3304         critical section using C11 atomics.
3306 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3308         * math/test-fenvinline.c (do_test): Disable tests of raised
3309         exceptions if !EXCEPTION_TESTS (FLOAT).
3311 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3313         [BZ #19390]
3314         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3315         maximum string size.
3316         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3317         in pointer addition.
3318         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3319         Likewise.
3321 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3323         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3324         passed to tst-ldconfig-X.sh.
3326 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3328         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3330 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3332         [BZ #21019]
3333         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3334         New syscall entry.
3335         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3336         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3337         lseek.
3339         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3340         power4 glibc for powerpc-linux-gnu.
3342 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3344         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3345         semctl.
3347 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3349         * math/test-nearbyint-except.c: Include <stdbool.h>.
3350         (any_supported): New variable.
3351         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3352         set any_supported.
3353         (do_test): Return 77 if no floating-point type supported
3354         exceptions.
3356         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3357         condition on [__mips_hard_float].
3359 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3361         [BZ #21014]
3362         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3363         in pointer addition.
3364         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3366 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3368         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3369         new condvar.
3371 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3373         * scripts/build-many-glibcs.py (Context.checkout): Default
3374         binutils version to 2.28 branch.
3376 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3378         * support/support_format_netent.c (support_format_netent): Work
3379         around alpha struct netent definition difference.
3381 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3383         * support/xwrite.c (xwrite): Use %td for pointer difference.
3385 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3387         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3388         have-tunables only.
3389         (tests-static): Add tst-malloc-usable-static-tunables for
3390         have-tunables only.
3392 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3394         * scripts/config.guess: Update to version 2017-01-01.
3395         * scripts/config.sub: Update to version 2017-01-01.
3397         * NEWS: Update copyright dates.
3398         * catgets/gencat.c (print_version): Likewise.
3399         * csu/version.c (banner): Likewise.
3400         * debug/catchsegv.sh: Likewise.
3401         * debug/pcprofiledump.c (print_version): Likewise.
3402         * debug/xtrace.sh (do_version): Likewise.
3403         * elf/ldconfig.c (print_version): Likewise.
3404         * elf/ldd.bash.in: Likewise.
3405         * elf/pldd.c (print_version): Likewise.
3406         * elf/sotruss.sh: Likewise.
3407         * elf/sprof.c (print_version): Likewise.
3408         * iconv/iconv_prog.c (print_version): Likewise.
3409         * iconv/iconvconfig.c (print_version): Likewise.
3410         * locale/programs/locale.c (print_version): Likewise.
3411         * locale/programs/localedef.c (print_version): Likewise.
3412         * login/programs/pt_chown.c (print_version): Likewise.
3413         * malloc/memusage.sh (do_version): Likewise.
3414         * malloc/memusagestat.c (print_version): Likewise.
3415         * malloc/mtrace.pl: Likewise.
3416         * manual/libc.texinfo: Likewise.
3417         * nptl/version.c (banner): Likewise.
3418         * nscd/nscd.c (print_version): Likewise.
3419         * nss/getent.c (print_version): Likewise.
3420         * nss/makedb.c (print_version): Likewise.
3421         * posix/getconf.c (main): Likewise.
3422         * scripts/test-installation.pl: Likewise.
3423         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3425         * All files with FSF copyright notices: Update copyright dates
3426         using scripts/update-copyrights.
3427         * intl/plural.c: Regenerated.
3428         * locale/programs/charmap-kw.h: Likewise.
3429         * locale/programs/locfile-kw.h: Likewise.
3431 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3433         [BZ #20593]
3434         Update DNS RR type definitions.
3435         * scripts/gen-rrtypes.py: New file.
3436         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3437         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3438         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3439         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3440         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3441         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3442         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3443         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3444         ns_t_ta, ns_t_dlv.
3445         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3446         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3447         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3448         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3449         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3450         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3451         Define.
3452         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3453         entry for ns_t_zxfr.
3455 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3457         [BZ #18784]
3458         CVE-2015-5180
3459         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3460         T_UNSPEC.  Adjust value.
3461         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3462         * resolv/res_query.c (__libc_res_nquery): Likewise.
3463         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3464         QTYPEs.
3465         * resolv/tst-resolv-qtypes.c: New file.
3466         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3467         (tst-resolv-qtypes): Link against libresolv and libpthread.
3469 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3471         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3473 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3475         * manual/tunables.texi: New chapter.
3476         * manual/Makefile (chapters): Add it.
3477         * manual/probes.texi (@node): Point to the Tunables chapter.
3479         * Makeconfig (have-tunables): Check for non-negative instead
3480         of positive.
3481         * configure.ac: Add 'valstring' as a valid value for
3482         --enable-tunables.
3483         * configure: Regenerate.
3484         * elf/Makefile (have-tunables): Check for non-negative instead
3485         of positive.
3486         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3487         dl-tunables.c.
3488         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
3489         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3490         (tunables_strdup): Likewise.
3491         (disable_tunables): Likewise.
3492         (parse_tunables): Likewise.
3493         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
3494         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3495         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
3496         (TUNABLES_FRONTEND_yes): New macro, define as
3497         TUNABLES_FRONTEND_valstring by default.
3498         * manual/install.texi: Document new acceptable values for
3499         --enable-tunables.
3500         * INSTALL: Regenerate.
3502         * config.make.in (have-loop-to-function): Define.
3503         * elf/Makefile (CFLAGS-dl-tunables.c): Add
3504         -fno-tree-loop-distribute-patterns.
3505         * elf/dl-tunables.c: Include libc-internals.h.
3506         (GLIBC_TUNABLES): New macro.
3507         (tunables_strdup): New function.
3508         (parse_tunables): New function.
3509         (min_strlen): New function.
3510         (__tunables_init): Use the new functions and macro.
3511         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
3512         * malloc/tst-malloc-usable-tunables.c: New test case.
3513         * malloc/tst-malloc-usable-static-tunables.c: New test case.
3514         * malloc/Makefile (tests, tests-static): Add tests.
3516         * manual/install.texi: Add --enable-tunables option.
3517         * INSTALL: Regenerate.
3518         * README.tunables: New file.
3519         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
3520         (before-compile): Generate dl-tunable-list.h early.
3521         * config.h.in: Add HAVE_TUNABLES.
3522         * config.make.in: Add have-tunables.
3523         * configure.ac: Add --enable-tunables option.
3524         * configure: Regenerate.
3525         * csu/init-first.c (__libc_init_first): Move
3526         __libc_init_secure earlier...
3527         * csu/init-first.c (LIBC_START_MAIN):... to here.
3528         Include dl-tunables.h, libc-internal.h.
3529         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
3530         binaries.
3531         * elf/Makefile (dl-routines): Add dl-tunables.
3532         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
3533         namespace.
3534         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
3535         only when !HAVE_TUNABLES.
3536         * elf/rtld.c (process_envvars): Likewise.
3537         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
3538         (_dl_sysdep_start): Call __tunables_init.
3539         * elf/dl-tunable-types.h: New file.
3540         * elf/dl-tunables.c: New file.
3541         * elf/dl-tunables.h: New file.
3542         * elf/dl-tunables.list: New file.
3543         * malloc/tst-malloc-usable-static.c: New test case.
3544         * malloc/Makefile (tests-static): Add it.
3545         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
3546         Define TUNABLE_NAMESPACE.
3547         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
3548         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
3549         callback functions.
3550         (ptmalloc_init): Set tunable values.
3551         * scripts/gen-tunables.awk: New file.
3552         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
3553         (_dl_sysdep_start): Call __tunables_init.
3555 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3557         * resolv/resolv.h (RES_BLAST): Deprecate.
3558         * resolv/res_debug.c (p_option): Remove RES_BLAST.
3559         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
3560         to RES_BLAST.
3562 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3564         [BZ #19582]
3565         Deprecate RES_USE_INET6.
3566         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
3567         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
3568         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
3569         RES_USE_INET6.
3570         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
3571         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
3572         (_nss_nisplus_gethostbyaddr_r): Likewise.
3573         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
3574         of res_use_inet6.
3575         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
3576         instead of RES_USE_INET6.
3577         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
3578         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
3579         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
3580         Likewise.
3581         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
3582         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
3583         Likewise.
3584         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
3585         (_nss_dns_gethostbyname_r): Likewise.
3586         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
3587         alternate RES_USE_INET6 handling.
3588         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
3589         instead of RES_USE_INET6.
3590         * resolv/res_init.c (res_setoptions): Likewise.
3591         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
3592         * resolv/resolv-internal.h: New file.
3593         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
3594         make the deprecation warning non-fatal.
3595         * resolv/README (Using the resolver in multi-threaded code): Drop
3596         reference to RES_USE_INET6.
3597         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
3598         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
3600 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3602         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
3603         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
3604         tst-resolv-search.
3605         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
3606         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
3607         with libresolv and libpthread.
3608         * resolv/tst-bug18665.c: New file.
3609         * resolv/tst-bug18665-tcp: Likewise.
3610         * resolv/tst-res_use_inet6: Likewise.
3611         * resolv/tst-resolv-basic: Likewise.
3612         * resolv/tst-resolv-network: Likewise.
3613         * resolv/tst-resolv-search: Likewise.
3614         * support/Makefile (libsupport-routines): Add check_addrinfo,
3615         check_dns_packet, check_hostent, check_netent, resolv_test,
3616         support_format_address_family, support_format_addrinfo,
3617         support_format_dns_packet, support_format_herrno,
3618         support_format_hostent, support_format_netent, support_run_diff,
3619         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
3620         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
3621         xstrdup, xwrite.
3622         * support/check_addrinfo.c: New file.
3623         * support/check_dns_packet.c: Likewise.
3624         * support/check_hostent.c: Likewise.
3625         * support/check_netent.c: Likewise.
3626         * support/check_nss.h: Likewise.
3627         * support/format_nss.h: Likewise.
3628         * support/resolv_test.c: Likewise.
3629         * support/resolv_test.h: Likewise.
3630         * support/run_diff.h: Likewise.
3631         * support/support_format_address_family.c: Likewise.
3632         * support/support_format_addrinfo.c: Likewise.
3633         * support/support_format_dns_packet.c: Likewise.
3634         * support/support_format_herrno.c: Likewise.
3635         * support/support_format_hostent.c: Likewise.
3636         * support/support_format_netent.c: Likewise.
3637         * support/support_run_diff.c: Likewise.
3638         * support/xaccept.c: Likewise.
3639         * support/xbind.c: Likewise.
3640         * support/xconnect.c: Likewise.
3641         * support/xfclose.c: Likewise.
3642         * support/xfopen.c: Likewise.
3643         * support/xgetsockname.c: Likewise.
3644         * support/xlisten.c: Likewise.
3645         * support/xmemstream.c: Likewise.
3646         * support/xmemstream.h: Likewise.
3647         * support/xpoll.c: Likewise.
3648         * support/xpthread_once.c: Likewise.
3649         * support/xrecvfrom.c: Likewise.
3650         * support/xsendto.c: Likewise.
3651         * support/xsetsockopt.c: Likewise.
3652         * support/xstdio.h: Likewise.
3653         * support/xstrdup.c: Likewise.
3654         * support/support.h (xstrdup): Declare.
3655         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3656         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3657         * support/xthread.h (xpthread_once): Likwise.
3658         * support/xunistd.h (xwrite): Declare.
3660 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3662         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3663         (test_verbose): Declare.
3664         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3665         * support/support_test_main.c (default_options): Likewise.
3666         (usage, support_test_main): Handle 'v'.
3667         (test_verbose): Define.
3668         * support/tst-support_record_failure.c (do_test): Use
3669         test_verbose.
3670         * support/tst-support_record_failure-2.sh (different_status): Add
3671         --verbose test.
3673 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3675         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3676         test failures are recorded.
3677         * support/check.c (support_print_failure_impl): Call
3678         support_record_failure.
3679         (support_exit_failure_impl): Call support_record_failure if status
3680         indicates failure.
3681         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3682         * support/xasprintf.c (xasprintf): Likewise.
3683         * support/xfork.c (xfork): Likewise.
3684         * support/xpthread_check_return.c (xpthread_check_return):
3685         Likewise.
3686         * support/xsocket.c (xsocket): Likeweise.
3687         * support/xwaitpid.c (xwaitpid): Likewise.
3688         * support/support_record_failure.c (struct test_failures): Adjust
3689         to coding style.
3690         * support/support_test_verify_impl.c (support_test_verify_impl):
3691         Adjust error messages.
3692         * support/tst-support_record_failure-2.sh (different_status):
3693         Adjust error messages.
3695 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3697         * support/namespace.h: New file.
3698         * support/support_become_root.c: Likewise.
3699         * support/support_enter_network_namespace.c: Likewise.
3700         * support/tst-support-namespace.c: Likewise.
3701         * support/xsocket.c: Likewise.
3702         * support/xsocket.h: Likewise.
3703         * support/Makefile (libsupport-routines): Add support_become_root,
3704         support_enter_network_namespace, xsocket.
3705         (tests): Add tst-support-namespace.
3707 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3709         [BZ #17252]
3710         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3711         __USE_GNU.
3713 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3715         [BZ #13165]
3716         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3717         use new algorithm.
3718         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3719         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3720         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3721         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3722         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3723         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3724         __condvar_cleanup_waiting, __condvar_dec_grefs,
3725         __pthread_cond_wait_common): New.
3726         (__condvar_cleanup): Remove.
3727         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3728         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3729         Likewise.
3730         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3731         Likewise.
3732         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3733         * nptl/tst-cond1.c: Add comment.
3734         * nptl/tst-cond20.c (do_test): Adapt.
3735         * nptl/tst-cond22.c (do_test): Likewise.
3736         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3737         structure.
3738         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3739         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3740         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3741         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3742         Likewise.
3743         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3744         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3745         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3746         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3747         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3748         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3749         Likewise.
3750         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3751         Likewise.
3752         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3753         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3754         (COND_CLOCK_BITS): Adapt.
3755         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3756         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3757         __PTHREAD_COND_SHARED_MASK): New.
3758         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3759         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3760         * nptl/nptl_lock_constants.pysym: Adapt.
3761         * nptl/test-cond-printers.py: Adapt.
3762         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3763         cond_compat_check_and_clear): Adapt.
3764         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3765         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3766         (__pthread_cond_timedwait): ... and move here.
3767         * nptl/DESIGN-condvar.txt: Remove file.
3768         * nptl/lowlevelcond.sym: Likewise.
3769         * nptl/pthread_cond_timedwait.c: Likewise.
3770         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3771         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3772         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3773         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3774         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3775         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3776         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3778         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3779         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3780         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3781         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3782         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3783         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3784         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3785         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3787 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3789         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3790         (fromfp): New declaration.
3791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3794         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3799         * math/math.h: Include <bits/types.h>.
3800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3801         constant and macro.
3802         (FP_INT_DOWNWARD): Likewise.
3803         (FP_INT_TOWARDZERO): Likewise.
3804         (FP_INT_TONEARESTFROMZERO): Likewise.
3805         (FP_INT_TONEAREST): Likewise.
3806         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3807         (fromfpf): Likewise.
3808         (fromfpl): Likewise.
3809         (ufromfp): Likewise.
3810         (ufromfpf): Likewise.
3811         (ufromfpl): Likewise.
3812         (fromfpx): Likewise.
3813         (fromfpxf): Likewise.
3814         (fromfpxl): Likewise.
3815         (ufromfpx): Likewise.
3816         (ufromfpxf): Likewise.
3817         (ufromfpxl): Likewise.
3818         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3819         s_fromfpxF and s_ufromfpxF.
3820         * math/gen-fromfp-tests.py: New file.
3821         * math/gen-fromfp-tests-inputs: Likewise.
3822         * math/libm-test.inc: Include <stdint.h>
3823         (check_intmax_t): New function.
3824         (check_uintmax_t): Likewise.
3825         (struct test_fiu_M_data): New type.
3826         (struct test_fiu_U_data): Likewise.
3827         (RUN_TEST_fiu_M): New macro.
3828         (RUN_TEST_LOOP_fiu_M): Likewise.
3829         (RUN_TEST_fiu_U): Likewise.
3830         (RUN_TEST_LOOP_fiu_U): Likewise.
3831         (fromfp_test_data): New array.
3832         (fromfp_test): New function.
3833         (fromfpx_test_data): New array.
3834         (fromfpx_test): New function.
3835         (ufromfp_test_data): New array.
3836         (ufromfp_test): New function.
3837         (ufromfpx_test_data): New array.
3838         (ufromfpx_test): New function.
3839         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3840         ufromfpx_test.
3841         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3842         characters.
3843         * math/test-tgmath-ret.c: Include <stdint.h>.
3844         (rm): New variable.
3845         (width): Likewise.
3846         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3847         called function.
3848         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3849         CHECK_RET_CONST_TYPE.
3850         (CHECK_RET_CONST_DOUBLE): Likewise.
3851         (CHECK_RET_CONST_LDOUBLE): Likewise.
3852         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3853         macros.
3854         (fromfp): New CHECK_RET_CONST call.
3855         (ufromfp): Likewise.
3856         (fromfpx): Likewise.
3857         (ufromfpx): Likewise.
3858         (do_test): Call check_return_fromfp, check_return_ufromfp,
3859         check_return_fromfpx and check_return_ufromfpx.
3860         * math/test-tgmath.c: Include <stdint.h>
3861         (NCALLS): Increase to 138.
3862         (F(compile_test)): Initialize i.  Call fromfp functions.
3863         (F(fromfp)): New function.
3864         (F(fromfpx)): Likewise.
3865         (F(ufromfp)): Likewise.
3866         (F(ufromfpx)): Likewise.
3867         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3868         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3869         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3870         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3871         ufromfpxl.
3872         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3873         ufromfp and ufromfpx.
3874         * math/fromfp.h: New file.
3875         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3876         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3877         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3878         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3879         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3880         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3881         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3882         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3883         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3884         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3885         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3886         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3887         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3888         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3889         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3890         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3891         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3892         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3893         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3894         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3895         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3896         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3897         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3900         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3901         ufromfp, fromfpx and ufromfpx.
3902         (CFLAGS-nldbl-fromfp.c): New variable.
3903         (CFLAGS-nldbl-fromfpx.c): Likewise.
3904         (CFLAGS-nldbl-ufromfp.c): Likewise.
3905         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3906         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3907         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3908         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3909         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3910         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3911         * sysdeps/nacl/libm.abilist: Update.
3912         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3938         Likewise.
3939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3940         Likewise.
3941         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3943         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3945 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3947         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3948         compat-gethnamaddr.
3949         (CPPFLAGS): Remove.
3950         * resolv/gethnamaddr.c: Rename ...
3951         * resolv/compat-gethnamaddr.c: ... to this file.
3952         (_endhtent): Make static.
3953         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3954         symbol.
3955         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3956         compat symbol.
3957         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3958         symbol.
3959         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3960         Turn into compat symbol.
3961         * include/resolv.h (_endhtent): Remove declaration.
3963 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3965         * bits/types.h (__intmax_t): New typedef.
3966         (__uintmax_t): Likewise.
3967         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3968         (intmax_t): Define using __intmax_t.
3969         (uintmax_t): Define using __uintmax_t.
3971         * support/Makefile (tests-special): Make definition conditional on
3972         [$(run-built-tests) = yes].
3973         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3974         on [$(run-built-tests) = yes].
3976 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3978         * Rules (tests): Add tests-printers-programs to tests to be
3979         built.
3981 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3983         * sysvipc/Makefile (tests): Add test-sysvshm.
3984         * sysvipc/test-sysvshm.c: New file.
3986         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3987         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3988         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3989         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3990         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3991         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3992         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3993         Likewise.
3994         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3995         Likewise.
3996         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3997         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3998         is defined.
4000         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4001         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4002         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4003         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4004         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4005         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4006         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4007         Likewise.
4008         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4009         Likewise.
4010         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4011         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4012         defined.
4014         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4015         oldshmctl.
4016         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4017         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4018         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4019         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4020         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4021         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4022         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4023         Likewise.
4024         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4025         Likewise.
4026         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4027         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4028         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4029         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4030         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4031         implementation.
4032         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4033         if it is defined.
4035         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4036         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4037         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4038         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4039         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4040         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4041         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4042         Likewise.
4043         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4044         Likewise.
4045         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4046         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4047         Define to __NR_osf_shmat.
4048         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4049         defined.
4051         * sysvipc/Makefile (tests): Add test-sysvsem.
4052         * sysvipc/test-sysvsem.c: New file.
4054         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4055         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4056         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4057         Likewise.
4058         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4059         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4060         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4061         Likewise.
4062         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4063         Likewise.
4064         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4065         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4066         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4067         add a comment about s390 syscall difference from default one.
4068         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4069         syscall if it is defined.
4071         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4072         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4073         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4074         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4075         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4076         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4077         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4078         Likewise.
4079         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4082         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4083         defined.
4085         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4086         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4087         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4088         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4089         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4090         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4091         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4094         Likewise.
4095         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4096         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4097         if it is defined.
4099         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4100         oldsemctl.
4101         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4102         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4103         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4104         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4105         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4106         implementation.
4107         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4108         syscall if it is defined.
4109         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4110         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4111         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4112         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4113         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4114         Likewise.
4115         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4117         * sysvipc/Makefile (tests): Add test-sysvmsg.
4118         * sysvipc/test-sysvmsg.c: New file.
4119         * support/check.h (FAIL_UNSUPPORTED): New define.
4121         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4122         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4123         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4124         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4125         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4126         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4127         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4128         Likewise.
4129         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4130         Likewise.
4131         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4132         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4133         define.
4135         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4136         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4137         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4138         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4139         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4140         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4141         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4142         Likewise.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4144         Likewise.
4145         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4146         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4147         if defined.
4149         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4150         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4151         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4152         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4153         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4154         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4155         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4156         Likewise.
4157         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4158         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4159         Likewise.
4160         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4161         if defined.
4162         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4164         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4165         oldmsgctl.
4166         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4167         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4168         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4169         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4170         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4171         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4172         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4173         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4176         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4177         implementation.
4178         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4179         if defined.
4181         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4182         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4183         definition and define its own.
4184         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4185         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4186         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4187         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4188         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4189         definitions to common header.
4190         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4191         operation from ipc_ops.h.
4193         * sysdeps/unix/sysv/linux/kernel-features.h
4194         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4195         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4196         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4197         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4198         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4199         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4200         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4201         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4202         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4203         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4204         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4205         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4206         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4207         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4208         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4210 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4212         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4213         overflow in pointer addition.
4215 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4217         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4218         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4220         (strchr): Add __strchr_power8 to list of strchr functions.
4221         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4222         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4223         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4224         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4225         (strchr): Add __strchr_power8 to ifunc list.
4226         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4227         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4228         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4229         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4231 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4233         * support/Makefile (libsupport-routines): Add
4234         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4235         (tests): Add tst-support_record_failure.
4236         (tests-special): tst-support_record_failure-2.
4237         (tst-support_record_failure-2.out): Depend on
4238         tst-support_record_failure-2.sh and tst-support_record_failure.
4239         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4240         (support_test_verify_impl, support_record_failure)
4241         (support_report_failure, support_report_failure_reset): Declare.
4242         * support/support_test_main.c (adjust_exit_status): New function.
4243         (support_test_main): Call it to incorporate record test failures.
4244         * support/support_test_verify_impl.c: New file.
4245         * support/support_record_failure.c: Likewise.
4246         * support/tst-support_record_failure.c: Likewise.
4247         * support/tst-support_record_failure-2.sh: Likewise.
4248         * support/xunistd.h: Likewise.
4249         * support/xfork.c: Likewise.
4250         * support/xwaitpid.c: Likewise.
4252 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4254         * scripts/check-c++-types.sh: Add comments.
4256 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4258         [BZ #19514]
4259         * resolv/res_send.c: Fix typo in comment.
4260         * sysdeps/i386/i386-mcount.S: Likewise.
4261         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4262         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4263         * sysdeps/sparc/sparc-mcount.S: Likewise.
4265 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4267         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4268         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4269         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4270         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4271         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4272         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4273         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4274         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4276 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4278         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4280 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4282         [BZ #17252]
4283         * posix/unistd.h (getentropy): Declare.
4285 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4287         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4288         Remove.
4289         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4290         (cmd): Remove spoof, nospoof, spoofalert.
4291         (parse_line): Ignore spoof-related lines.
4292         (do_init): Do not process RESOLV_SPOOF_CHECK.
4294 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4296         [BZ #20964]
4297         sunrpc: Always obtain AF_INET addresses from NSS.
4298         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4299         * sunrpc/rpc_gethostbyname.c: New file.
4300         * sunrpc/Makefile (routines): Add it.
4301         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4302         * sunrpc/clnt_simp.c (callrpc): Likewise.
4303         * sunrpc/getrpcport.c (getrpcport): Likewise.
4305 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4307         * sunrpc/rpcinfo.c: Remove.
4308         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4310 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4312         [BZ# 19387]
4313         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4314         addition.
4315         * string/test-memchr.c (do_test): Remove alignment limitation.
4316         (test_main): Add test that trigger BZ# 19387.
4318 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4320         [BZ #7065]
4321         Enable stack protectore if requested by ./configure.
4322         * Makeconfig (+stack-protector): New variable.
4323         (+cflags): Use it.
4325 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4327         [BZ #7065]
4328         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4329         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4330         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4331         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4332         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4334 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4336         [BZ #7065]
4337         * login/Makefile (pt_chown-cflags): Remove.
4338         * nscd/Makefile (CFLAGS-nscd): Likewise.
4339         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4341 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4343         [BZ #7065]
4344         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4345         non-libc-linking testcase.
4347 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4348             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4349             Florian Weimer  <fweimer@redhat.com>
4351         [BZ #7065]
4352         PLT avoidance for __stack_chk_fail*.
4353         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4354         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4355         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4356         __stack_chk_fail_local alias.
4357         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4358         (__stack_chk_fail): Turn into hidden reference to
4359         __stack_chk_fail_local.
4361 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4363         [BZ #7065]
4364         * configure.ac: Add check for unsupported stack-protection level.
4365         (libc_cv_predef_stack_protector): Remove.
4366         (no_ssp): New variable.
4367         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4368         (stack_protector): Set to -fno-stack-protector similarly.
4369         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4370         (libc_cv_asm_set_directive): Likewise.
4371         (libc_cv_protected_data): Likewise.
4372         (libc_cv_z_combreloc): Likewise.
4373         (libc_cv_hashstyle): Likewise.
4374         (libc_cv_has_glob_dat): Likewise.
4375         (libc_cv_output_format): Likewise.
4376         (libc_cv_output_format): Likewise.
4377         (libc_cv_ehdr_start): Likewise.
4378         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4379         (LIBC_LINKER_FEATURE): Likewise.
4380         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4382 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4384         [BZ #7065]
4385         * elf/Makefile (dummy-stack-chk-fail): New.
4386         (librtld.map): Use it.
4388 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4390         [BZ #7065]
4391         Compile the dynamic linker without stack protection.
4392         * elf/Makefile (elide-stack-protector): New.
4393         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4394         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4395         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4396         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4398 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4400         [BZ #7065]
4401         * config.make.in (have-ssp, no-stack-protector): New.
4402         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4403         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4404         (CFLAGS-sbrk.op): Likewise.
4405         (CFLAGS-brk.o): Likewise.
4406         (CFLAGS-brk.op): Likewise.
4407         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4408         (CFLAGS-wordcopy.c): Likewise.
4410 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4412         [BZ #7065]
4413         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4414         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4415         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4416         (__ifunc_resolver): Use it.
4417         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4418         inhibit_stack_protector.
4419         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4420         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4421         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4422         (foo_protected_ifunc): Likewise.
4423         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4424         (foo_protected_ifunc): Likewise.
4425         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4426         * sysdeps/nacl/nacl_interface_query.c
4427         (nacl_interface_query_ifunc): Likewise.
4428         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4429         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4430         Likewise.
4431         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4432         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4433         the generated vDSO syscall resolver.
4435 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4436             Florian Weimer  <fweimer@redhat.com>
4438         [BZ #7065]
4439         Initialize the stack guard earlier when linking statically.
4440         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4441         (__pthread_initialize_minimal): Declare.
4442         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4443         declaration.
4444         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4445         stack canary and apply_irel initialization up.  Call
4446         __pthread_initialize_minimal only if linked in.
4447         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4448         constant values.
4449         (__pthread_initialize_minimal): Remove.
4450         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4451         (__pthread_initialize_minimal_internal): Do not call
4452         __libc_setup_tls.
4454 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4456         [BZ #7065]
4457         * configure.ac (libc_cv_ssp): Move up.
4458         (libc_cv_ssp_strong): Likewise.
4459         (libc_cv_ssp_all): New.
4460         (stack_protector): Augment, adding -fstack-protector-all.
4461         (no_stack_protector): New.
4462         (STACK_PROTECTOR_LEVEL): New.
4463         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4464         * manual/install.texi (--enable-stack-protector): Document it.
4465         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4467 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4469         * README.pretty-printers: Must specify CPPFLAGS-* also.
4470         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4471         (CPPFLAGS-test-mutex-printers.c): Define.
4472         (CPPFLAGS-test-condattr-printers.c): Define.
4473         (CPPFLAGS-test-cond-printers.c): Define.
4474         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4475         (CPPFLAGS-test-rwlock-printers.c): Define.
4477         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4478         (tests): Add tst-cancel-getpwuid_r.
4479         * nss/tst-cancel-getpwuid_r.c: New file.
4481         [BZ #11941]
4482         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4483         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4484         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4485         tst-nodelete-dlclose.
4486         (modules-names): Add tst-nodelete-dlclose-dso and
4487         tst-nodelete-dlclose-plugin.
4488         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
4489         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
4490         ($(objpfx)tst-nodelete-dlclose): Define.
4491         ($(objpfx)tst-nodelete-dlclose.out): Define.
4493 2016-12-23  Florian Weimer  <fweimer@redhat.com>
4495         * scripts/test_printers_common.py: Log GDB output in case of
4496         Python detection failure.
4498 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4500         * configure.ac: Check for python3 or python.
4501         * configure: Regenerated.
4502         * config.make.in (PYTHON): New variable.
4503         * benchtests/Makefile: Don't define PYTHON.
4504         (bench): Define target only if PYTHON was defined.
4505         * Rules: Don't define PYTHON.
4506         Define pretty printer targets only if PYTHON was defined.
4507         (tests-printers): Add to tests-unsupported if PYTHON is not
4508         found.
4509         (python-flags, python-invoke): Remove.
4510         (tests-printers-out): Use PYTHON instead of python-invoke.
4512 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4514         [BZ #20978]
4515         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4516         Compare name == NULL, not name != NULL.
4518         * manual/texinfo.tex: Update to version 2016-09-18.18 with
4519         trailing whitespace removed.
4520         * scripts/config.guess: Update to version 2016-10-02.
4521         * scripts/config.sub: Update to version 2016-11-19.
4522         * scripts/install-sh: Update to version 2016-01-11.22.
4523         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
4524         * scripts/move-if-change: Update to version 2016-01-11 22:04.
4526 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
4528         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
4529         (do_one_test) Restore original string so iteration works.
4530         * string/string-inlines.c (do_test): Create better input strings.
4531         (test_main) Reduce number of testruns.
4532         * string/string-inlines.c (__old_strsep_1c): New function.
4533         (__old_strsep_2c): Likewise.
4534         (__old_strsep_3c): Likewise.
4535         * string/strsep.c (__strsep): Remove case of small delim string.
4536         Call strcspn directly rather than strpbrk.
4537         * string/bits/string2.h (__strsep): Remove define.
4538         (__strsep_1c): Remove.
4539         (__strsep_2c): Remove.
4540         (__strsep_3c): Remove.
4541         (strsep): Remove.
4542         * sysdeps/unix/sysv/linux/internal_statvfs.c
4543         (__statvfs_getflags): Rename to __strsep.
4545 2016-12-21  Florian Weimer  <fweimer@redhat.com>
4547         * csu/libc-tls.c (_dl_tls_setup): Remove.
4548         * elf/dl-tls.c (_dl_tls_setup): Likewise.
4549         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
4550         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
4552 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4554         [BZ #7065]
4555         * sysdeps/x86_64/Makefile [$(subdir) = elf]
4556         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
4558 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4559             Florian Weimer  <fweimer@redhat.com>
4561         [BZ #7065]
4562         * csu/Makefile (tests): Empty assignment and document it.
4563         (tests-static): Remove.
4564         * csu/tst-empty.c: Move to...
4565         * misc/tst-empty.c: ... here.  Switch to new test driver.
4566         * csu/tst-atomic.c: Move to...
4567         * misc/tst-atomic.c: ... here.  Switch to new test driver.
4568         * csu/tst-atomic-long.c: Move to...
4569         * misc/tst-atomic-long.c: ... here.
4570         * misc/Makefile (tests): Add tst-empty, tst-atomic,
4571         tst-atomic-long.
4572         (tests-static): Add tst-empty.
4574 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
4576         * manual/nss.texi: Change incorrect @vtable to @table.
4577         * manual/arith.texi: Convert @tables of variables to @vtables
4578         and remove unnecessary indexing.
4579         * manual/filesys.texi: Likewise.
4580         * manual/llio.texi: Likewise.
4581         * manual/memory.texi: Likewise.
4582         * manual/process.texi: Likewise.
4583         * manual/resource.texi: Likewise.
4584         * manual/search.texi: Likewise.
4585         * manual/signal.texi: Likewise.
4586         * manual/socket.texi: Likewise.
4587         * manual/stdio.texi: Likewise.
4588         * manual/sysinfo.texi: Likewise.
4589         * manual/syslog.texi: Likewise.
4590         * manual/terminal.texi: Likewise.
4591         * manual/time.texi: Likewise.
4592         * manual/users.texi: Likewise.
4594 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4596         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4597         (roundeven): New declaration.
4598         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
4599         macro.
4600         * math/Versions (roundeven): New libm symbol at version
4601         GLIBC_2.25.
4602         (roundevenf): Likewise.
4603         (roundevenl): Likewise.
4604         * math/Makefile (libm-calls): Add s_roundevenF.
4605         * math/libm-test.inc (roundeven_test_data): New array.
4606         (roundeven_test): New function.
4607         (main): Call roundeven_test.
4608         * math/test-tgmath.c (NCALLS): Increase to 134.
4609         (F(compile_test)): Call roundeven.
4610         (F(roundeven)): New function.
4611         * manual/arith.texi (Rounding Functions): Document roundeven,
4612         roundevenf and roundevenl.
4613         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
4614         * include/math.h (roundeven): Use libm_hidden_proto.
4615         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
4616         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
4617         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
4618         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
4619         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
4620         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
4621         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4622         roundeven.
4623         (CFLAGS-nldbl-roundeven.c): New variable.
4624         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
4625         * sysdeps/nacl/libm.abilist: Update.
4626         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4628         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4631         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4633         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4634         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4635         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4636         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4637         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4639         Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4641         Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4643         Likewise.
4644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4645         Likewise.
4646         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4647         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4648         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4649         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4650         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4652         Likewise.
4653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4654         Likewise.
4655         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4656         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4657         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4659 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4661         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4662         preprocessor indentation inside #if.
4664 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4666         * math/libm-test.inc (fmt_ftostr): New function.
4667         (print_float, check_float_internal): Replace some uses of
4668         FTOSTR with uses of fmt_ftostr.
4669         (print_max_error, print_complex_max_error, print_function_ulps)
4670         (print_complex_function_ulps): Remove uses of the macros
4671         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4672         * math/test-double.h (FTOSTR): Define to strfromd.
4673         (PRINTF_EXPR): Delete.
4674         (PRINTF_XEXPR): Likewise.
4675         (PRINTF_NEXPR): Likewise.
4676         * math/test-float.h (FTOSTR): Define to strfromf.
4677         (PRINTF_EXPR): Delete.
4678         (PRINTF_XEXPR): Likewise.
4679         (PRINTF_NEXPR): Likewise.
4680         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4681         (PRINTF_EXPR): Delete.
4682         (PRINTF_XEXPR): Likewise.
4683         (PRINTF_NEXPR): Likewise.
4685 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4687         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4688         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4689         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4690         (__lll_lock_elision): Decrement adapt_count while unlocking
4691         instead of before locking.
4692         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4693         (__lll_trylock_elision): Likewise.
4694         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4695         (__lll_unlock_elision): Likewise.
4697 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4699         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4700         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4701         Use __libc_tbegin_retry macro.
4703 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4705         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4706         Add -msoft-float.
4707         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4708         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4709         Use __libc_t* transaction macros instead of __builtin_t*.
4710         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4711         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4713 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4715         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4716         (__lll_lock_elision): Use atomics to load / store adapt_count.
4717         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4718         (__lll_trylock_elision): Likewise.
4720 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4722         Do not require memset elimination in explicit_bzero test.
4723         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4724         (enum test_expectation): Add NO_EXPECTATIONS.
4725         (subtests): NO_EXPECTATIONS for ordinary clear.
4726         (check_test_buffer): Handle NO_EXPECTATIONS.
4727         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4729 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4731         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4732         (fmaxmag): New declaration.
4733         (fminmag): Likewise.
4734         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4735         macro.
4736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4737         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4738         (fmaxmagf): Likewise.
4739         (fmaxmagl): Likewise.
4740         (fminmag): Likewise.
4741         (fminmagf): Likewise.
4742         (fminmagl): Likewise.
4743         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4744         * math/s_fmaxmag_template.c: New file.
4745         * math/s_fminmag_template.c: Likewise.
4746         * math/libm-test.inc (fmaxmag_test_data): New array.
4747         (fmaxmag_test): New function.
4748         (fminmag_test_data): New array.
4749         (fminmag_test): New function.
4750         (main): Call fmaxmag_test and fminmag_test.
4751         * math/test-tgmath.c (NCALLS): Increase to 132.
4752         (F(compile_test)): Call fmaxmag and fminmag.
4753         (F(fminmag)): New function.
4754         (F(fmaxmag)): Likewise.
4755         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4756         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4757         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4758         fminmag.
4759         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4760         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4761         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4762         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4763         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4764         and fminmag.
4765         (CFLAGS-nldbl-fmaxmag.c): New variable.
4766         (CFLAGS-nldbl-fminmag.c): Likewise.
4767         * sysdeps/nacl/libm.abilist: Update.
4768         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4769         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4772         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4776         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4777         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4778         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4781         Likewise.
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4783         Likewise.
4784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4785         Likewise.
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4787         Likewise.
4788         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4794         Likewise.
4795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4796         Likewise.
4797         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4801 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4803         [BZ #20973]
4804         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4805         wake-up in robust mutexes.
4806         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4808 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4810         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4811         (CFLAGS-bench-fmaxf.c): New rule.
4812         (CFLAGS-bench-fminf.c): Likewise.
4813         * benchtests/fmaxf-inputs: New file.
4814         * benchtests/fminf-inputs: Likewise.
4816         * benchtests/Makefile (bench-math): Add fmin and fmax.
4817         (CFLAGS-bench-fmax.c): New rule.
4818         (CFLAGS-bench-fmin.c): Likewise.
4819         * benchtests/fmax-inputs: New file.
4820         * benchtests/fmin-inputs: Likewise.
4822         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4823         parenthesis.
4824         (CMDLINE_PROCESS): Define using function instead of macro.
4825         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4826         of test-skeleton.
4827         * benchtests/bench-memchr.c: Likewise.
4828         * benchtests/bench-memcmp.c: Likewise.
4829         * benchtests/bench-memcpy-large.c: Likewise.
4830         * benchtests/bench-memcpy.c: Likewise.
4831         * benchtests/bench-memmem.c: Likewise.
4832         * benchtests/bench-memmove-large.c: Likewise.
4833         * benchtests/bench-memmove.c: Likewise.
4834         * benchtests/bench-memset-large.c: Likewise.
4835         * benchtests/bench-memset.c: Likewise.
4836         * benchtests/bench-rawmemchr.c: Likewise.
4837         * benchtests/bench-strcasecmp.c: Likewise.
4838         * benchtests/bench-strcasestr.c: Likewise.
4839         * benchtests/bench-strcat.c: Likewise.
4840         * benchtests/bench-strchr.c: Likewise.
4841         * benchtests/bench-strcmp.c: Likewise.
4842         * benchtests/bench-strcpy.c: Likewise.
4843         * benchtests/bench-strcpy_chk.c: Likewise.
4844         * benchtests/bench-strlen.c: Likewise.
4845         * benchtests/bench-strncasecmp.c: Likewise.
4846         * benchtests/bench-strncmp.c: Likewise.
4847         * benchtests/bench-strncpy.c: Likewise.
4848         * benchtests/bench-strnlen.c: Likewise.
4849         * benchtests/bench-strpbrk.c: Likewise.
4850         * benchtests/bench-strrchr.c: Likewise.
4851         * benchtests/bench-strsep.c: Likewise.
4852         * benchtests/bench-strspn.c: Likewise.
4853         * benchtests/bench-strstr.c: Likewise.
4854         * benchtests/bench-strtok.c: Likewise.
4856 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4858         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4859         stepping identification.
4860         (init_cpu_features): Add handle of Haswell.
4862 2016-11-25  Jim Meyering  <meyering@fb.com>
4864         [BZ #20386]
4865         Let gcc detect assert(a = 1) errors.
4866         * assert/assert.h (assert): Rewrite, retaining the old definintion
4867         when required, but otherwise putting the expression as-is in an "if"
4868         expression (hence, with no added parentheses) within a statement
4869         expression.
4871 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4873         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4874         DSO.
4876 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4878         * Rules (python-flags, python-invoke): New.
4879         ($(test-printers-out)): Use $(python-flags).
4881 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4883         * manual/arith.texi (Math Error Reporting): Document that sNaN
4884         arguments are not considered domain errors.
4886 2016-12-16  Zack Weinberg <zackw@panix.com>
4887             Florian Weimer <fweimer@redhat.com>
4888             Nick Mathewson <nickm@torproject.org>
4890         * string/explicit_bzero.c: New routine.
4891         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4892         * string/Makefile (routines, strop-tests, tests): Add them.
4893         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4894         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4896         * debug/explicit_bzero_chk.c: New routine.
4897         * debug/Makefile (routines): Add it.
4898         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4899         * string/bits/string3.h: Fortify explicit_bzero.
4901         * manual/string.texi: Document explicit_bzero.
4902         * NEWS: Mention addition of explicit_bzero.
4904         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4905         data before returning, using explicit_bzero.
4906         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4907         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4908         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4910         * include/string.h: Redirect internal uses of explicit_bzero
4911         to __explicit_bzero_chk[_internal].
4912         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4913         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4914         * sysdeps/arm/nacl/libc.abilist
4915         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4916         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4917         * sysdeps/unix/sysv/linux/arm/libc.abilist
4918         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4919         * sysdeps/unix/sysv/linux/i386/libc.abilist
4920         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4921         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4922         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4923         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4924         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4925         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4926         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4927         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4928         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4933         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4934         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4935         * sysdeps/unix/sysv/linux/sh/libc.abilist
4936         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4937         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4940         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4941         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4942         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4943         Add entries for explicit_bzero and __explicit_bzero_chk.
4945 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4947         * math/fenv.h
4948         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4949         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4950         * math/test-fe-snans-always-signal.c: New file.
4951         * math/Makefile (tests): Add test-fe-snans-always-signal.
4952         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4953         * manual/arith.texi (Infinity and NaN): Document
4954         FE_SNANS_ALWAYS_SIGNAL.
4956 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4958         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4959         bracket.
4961 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4963         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4964         before calling execv.
4966 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4968         [BZ# 20971]
4969         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4970         overflow in pointer addition.
4971         * string/test-memchr.c (do_test): Add an argument to pass as
4972         the size on memchr.
4973         (test_main): Add check for SIZE_MAX.
4975 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4977         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4978         (libm-calls): Add w_scalblnF.
4979         * math/w_scalbln.c: Remove.
4980         * math/w_scalblnf.c: Likewise.
4981         * math/w_scalblnl.c: Likewise.
4982         * math/w_scalbln_template.c: New file with type-generic
4983         implementation based on math/w_scalbln.c.
4984         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4985         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4987 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4989         [BZ #20947]
4990         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4991         either is a signaling NaN.
4992         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4993         follow fmaxl more closely.
4994         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4995         when either is a signaling NaN.
4996         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4997         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4998         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4999         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5000         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5001         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5002         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5003         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5004         (fmin_test_data): Likewise.
5006 2016-12-15  Andreas Schwab  <schwab@suse.de>
5008         * support/support_test_main.c (support_test_main): Don't shadow
5009         file-local variable test_pid.
5011 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5013         [BZ #20947]
5014         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5015         either is a signaling NaN.
5016         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5018 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5020         [BZ #20947]
5021         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5022         when either is a signaling NaN.
5023         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5025         * bits/long-double.h: New file.
5026         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5027         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5028         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5029         * sysdeps/mips/bits/long-double.h: Likewise.
5030         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5031         * math/Makefile (headers): Add bits/long-double.h.
5032         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5033         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5034         <bits/wordsize.h>.
5035         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5036         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5037         * math/math.h: Do not include <bits/mathdef.h>.
5038         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5039         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5040         inclusion.
5041         * sysdeps/ia64/bits/mathdef.h: Remove file.
5042         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5043         * sysdeps/mips/bits/mathdef.h: Likewise.
5044         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5045         * sysdeps/s390/bits/mathdef.h: Likewise.
5046         * sysdeps/sparc/bits/mathdef.h: Likewise.
5047         * sysdeps/x86/bits/mathdef.h: Likewise.
5048         * sysdeps/s390/s390-32/bits/wordsize.h
5049         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5050         conditional code.
5051         * sysdeps/s390/s390-64/bits/wordsize.h
5052         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5053         Likewise.
5054         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5055         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5056         Likewise.
5057         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5058         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5059         Likewise.
5060         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5061         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5062         Likewise.
5064         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5065         <linux/falloc.h>.
5066         (FALLOC_FL_KEEP_SIZE): Remove.
5067         (FALLOC_FL_PUNCH_HOLE): Likewise.
5068         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5069         (FALLOC_FL_ZERO_RANGE): Likewise.
5071 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5073         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5075 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5077         * sysdeps/unix/sysv/linux/renameat.c: New file.
5078         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5080         * sysdeps/unix/sysv/linux/rename.c: New file.
5081         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5083 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5085         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5086         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5087         * string/strtok_r.c (__strtok_r): Optimize for performance.
5088         * string/string-inlines.c (__old_strtok_r_1c): New function.
5089         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5091 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5093         * math/Makefile (gen-libm-calls): Add w_log1pF.
5094         (libm-calls): Remove w_log1pF.
5095         * math/w_log1p.c: Remove.
5096         * math/w_log1pf.c: Likewise.
5097         * math/w_log1pl.c: Likewise.
5098         * math/w_log1p_template.c: New file with type-generic
5099         implementation based on math/w_log1p.c.
5100         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5101         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5103 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5105         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5107 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5109         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5110         kernel version to 4.9.
5112 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5114         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5115         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5117 2016-12-13  Andreas Schwab  <schwab@suse.de>
5119         * sysdeps/powerpc/dl-procinfo.c: Don't define
5120         _dl_powerpc_platforms.
5121         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5122         constants instead of referencing _dl_powerpc_platforms.
5123         (_dl_platform_string): Remove.
5125 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5127         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5129 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5131         * Rules (binaries-shared-tests, binaries-pie-tests)
5132         (binaries-static-tests): Link with $(link-extra-libs-tests).
5133         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5134         Remove $(link-extra-libs-tests).
5136 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5138         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5139         (sysdep_routines): Add strncmp_power9.
5140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5141         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5142         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5143         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5144         (strncmp): Add __strncmp_power9 to ifunc list.
5145         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5147 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5149         [BZ #17252]
5150         Add getentropy, getrandom.
5151         * stdlib/sys/random.h: New file.
5152         (headers): Add it.
5153         * stdlib/Makefile (routines): Add getentropy, getrandom.
5154         (tests): Add tst-getrandom.
5155         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5156         * stdlib/getentropy.c: New file.
5157         * stdlib/getrandom.c: Likewise.
5158         * stdlib/tst-getrandom.c: Likewise.
5159         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5160         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5161         * manual/crypt.texi (Unpredictable Bytes): New section.
5162         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5163         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5164         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5170         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5171         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5172         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5173         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5175         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5176         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5177         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5179         Likewise.
5180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5181         Likewise.
5182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5184         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5185         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5186         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5188         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5191         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5192         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5193         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5195 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5197         [BZ #20956]
5198         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5199         as additional compiler barriers.
5200         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5201         (fn2, do_test): Declare with external linkage.
5202         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5203         (do_test): Declare with external linkage.
5204         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5205         (do_test): Declare with external linkage.
5206         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5207         (do_test): Declare with external linkage.
5209 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5211         * support/support_test_main.c (support_test_main): Use correct
5212         timeout.
5214 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5215             Florian Weimer  <fweimer@redhat.com>
5217         [BZ #16421]
5218         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5219         and __u6_addr32 members.
5220         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5221         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5222         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5223         Use __u6_addr32.
5224         * inet/tst-checks.c: Use <support/test-driver.c>
5225         * inet/tst-checks-posix.c: New file.
5226         * inet/Makefile (tests): Add it.
5227         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5229 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5231         New subdirectory support for build and test infrastructure.
5232         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5233         setting install-lib.
5234         * Makeconfig (link-extra-libs-tests): Define.
5235         (+link-pie-tests, +link-static-tests, +link-tests): Use
5236         link-extra-libs-tests.
5237         (rpath-dirs, all-subdirs): Add support.
5238         (built-modules): Add libsupport.
5239         (libsupport): Define.
5240         * support: New directory.
5241         * support/Makefile: New file.
5242         * support/check.c: Likewise.
5243         * support/check.h: Likewise.
5244         * support/delayed_exit.c: Likewise.
5245         * support/ignore_stderr.c: Likewise.
5246         * support/oom_error.c: Likewise.
5247         * support/set_fortify_handler.c: Likewise.
5248         * support/support.h: Likewise.
5249         * support/temp_file-internal.h: Likewise.
5250         * support/temp_file.c: Likewise.
5251         * support/test-driver.c: Likewise.
5252         * support/test-driver.h: Likewise.
5253         * support/test_main.c: Likewise.
5254         * support/write_message.c: Likewise.
5255         * support/xasprintf.c: Likewise.
5256         * support/xcalloc.c: Likewise.
5257         * support/xmalloc.c: Likewise.
5258         * support/xpthread_barrier_destroy.c: Likewise.
5259         * support/xpthread_barrier_init.c: Likewise.
5260         * support/xpthread_barrier_wait.c: Likewise.
5261         * support/xpthread_cancel.c: Likewise.
5262         * support/xpthread_check_return.c: Likewise.
5263         * support/xpthread_cond_wait.c: Likewise.
5264         * support/xpthread_create.c: Likewise.
5265         * support/xpthread_detach.c: Likewise.
5266         * support/xpthread_join.c: Likewise.
5267         * support/xpthread_mutex_lock.c: Likewise.
5268         * support/xpthread_mutex_unlock.c: Likewise.
5269         * support/xpthread_sigmask.c: Likewise.
5270         * support/xpthread_spin_lock.c: Likewise.
5271         * support/xpthread_spin_unlock.c: Likewise.
5272         * support/xrealloc.c: Likewise.
5273         * support/xsignal.h: Likewise.
5274         * support/xthread.h: Likewise.
5275         * support_tempfile.h: Likewise.
5276         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5277         (TEST_DATA_LIMIT): Remove unused macro.
5278         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5279         <support/check.h>.
5280         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5281         (ignore_stderr, set_fortify_handler): Remove.  Now in
5282         <support/support.h>.
5283         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5284         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5285         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5286         (xpthread_join): Remove.  Now in <support/xthread.h>.
5287         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5288         Introduce legacy wrappers.
5289         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5290         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5291         (write_message): Remove.
5292         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5293         test-skeleton.c.
5294         * io/test-open-tmpfile: Likewise.
5295         * io/tst-posix_fallocate-common.c: Likewise.
5296         * libio/tst-fseek.c: Likewise.
5297         * malloc/tst-malloc-backtrace.c: Likewise.
5298         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5299         * malloc/tst-malloc-thread-exit.c: Likewise.
5300         * nptl/tst-cancel7.c: Likewise.
5301         * nptl/tst-cleanup0.c: Likewise.
5302         * posix/tst-posix_fadvise-common.c: Likewise.
5303         * rt/tst-shm.c: Likewise.
5304         * time/bug-getdate1.c: Likewise.
5305         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5306         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5307         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5309 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5311         * Rules [$(run-built-tests) != no] (tests-expected): Add
5312         $(tests-printers).
5313         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5315 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5317         [BZ #20539]
5318         * math/Makefile (install-lib-ldscripts): Add libm.a.
5319         (install_subdir): Remove.
5320         (install-others): Add.
5321         ($(inst_libdir)/libm.a): Add rule for installation as
5322         linker script.
5323         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5325 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5327         * INSTALL: Regenerated.
5328         * Makeconfig: Add comments and whitespace to make the control flow
5329         clearer.
5330         (+link-printers-tests, +link-pie-printers-tests,
5331         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5332         built-rtld-LDFLAGS, link-libc-rpath,
5333         link-libc-tests-after-rpath-link,
5334         link-libc-printers-tests): New.
5335         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5336         link-libc-tests): Use the new variables as required.
5337         * Makerules ($(py-const)): New rule.
5338         generated: Add $(py-const).
5339         * README.pretty-printers: New file.
5340         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5341         (others): Depend on $(py-const).
5342         (tests): Depend on $(tests-printers-programs) or
5343         $(tests-printers-out),
5344         as required.  Pass $(tests-printers) to merge-test-results.sh.
5345         * manual/install.texi: Add requirements for testing the pretty
5346         printers.
5347         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5348         tests-printers, CFLAGS-test-mutexattr-printers.c
5349         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5350         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5351         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5352         * nptl/nptl-printers.py: New file.
5353         * nptl/nptl_lock_constants.pysym: Likewise.
5354         * nptl/test-cond-printers.c: Likewise.
5355         * nptl/test-cond-printers.py: Likewise.
5356         * nptl/test-condattr-printers.c: Likewise.
5357         * nptl/test-condattr-printers.py: Likewise.
5358         * nptl/test-mutex-printers.c: Likewise.
5359         * nptl/test-mutex-printers.py: Likewise.
5360         * nptl/test-mutexattr-printers.c: Likewise.
5361         * nptl/test-mutexattr-printers.py: Likewise.
5362         * nptl/test-rwlock-printers.c: Likewise.
5363         * nptl/test-rwlock-printers.py: Likewise.
5364         * nptl/test-rwlockattr-printers.c: Likewise.
5365         * nptl/test-rwlockattr-printers.py: Likewise.
5366         * scripts/gen-py-const.awk: Likewise.
5367         * scripts/test_printers_common.py: Likewise.
5368         * scripts/test_printers_exceptions.py: Likewise.
5370 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5372         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5373         argument.
5374         (Glibc.build_glibc): Strip installed shared libraries if
5375         requested.
5376         (get_parser): Add --strip option.
5377         (main): Update Context call.
5379 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5380             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5382         [BZ #20847]
5383         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5384         array bounds for else branch.
5385         (__execvpe): Style fixes.
5386         * posix/tst-vfork3.c (run_script): New function.
5387         (create_script): Likewise.
5388         (do_test): Use run_script internal function.
5389         (do_prepare): Use create_script internal function.
5391 2016-12-07  Andreas Schwab  <schwab@suse.de>
5393         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5394         (__elision_available): Don't declare.
5395         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5396         (__elision_available): Don't define.
5397         (elision_init): Don't set __elision_available.
5399 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5401         [BZ #20940]
5402         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5403         return Inf for arguments Inf and sNaN.
5404         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5405         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5406         Likewise.
5407         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5408         Likewise.
5409         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5410         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5411         for arguments Inf and sNaN.  When returning a NaN, compute it by
5412         arithmetic on the arguments.
5413         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5414         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5415         arguments.
5417 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5419         [BZ #20916]
5420         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5421         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5422         to compute result.
5423         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5424         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5426 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5428         * include/atomic.h (__atomic_check_size_ls): New.
5429         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5430         atomic_store_release): Use it.
5431         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5432         (elision_adapt, ELIDE_LOCK): Use atomics.
5433         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5434         atomics and improve code comments.
5435         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5436         (__lll_trylock_elision): Likewise.
5438 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5440         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5441         programs.
5443 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5445         [BZ #20916]
5446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5447         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5448         arguments to compute result.
5449         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5450         1 for arguments (sNaN, 0) or (1, sNaN).
5451         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5452         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5454         [BZ #20919]
5455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5456         NaN first argument when raised to power 0.
5457         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5458         raising to power zero.
5459         * math/w_powf.c (__powf): Likewise.
5460         * math/w_powl.c (__powl): Likewise.
5461         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5462         pow (0, 0) or pow (NaN, 0).
5464 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5466         [BZ #20918]
5467         * configure.ac: Test for static NSS cryptographic libraries and set
5468         libc_cv_static_nss_crypt.
5469         * configure: Regenerate.
5470         * config.make.in (static-nss-crypt): Define.
5471         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5472         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5473         (CFLAGS-tst-linkall-static.c): Define.
5474         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5475         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5476         ($(objpfx)tst-linkall-static): Define.
5477         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5478         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5480 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5482         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5483         (one-hundred, tst-tls-many-dynamic-modules): Define.
5484         (modules-names): Add $(tst-tls-many-dynamic-modules).
5485         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5486         macros.
5487         (tst-tls-manydynamic): Link against libdl, libpthread.
5488         (tst-tls-manydynamic.out): The test needs the test modules at run
5489         time.
5490         * elf/tst-tls-manydynamic.c: New file.
5491         * elf/tst-tls-manydynamic.h: Likewise.
5492         * elf/tst-tls-manydynamicmod.c: Likewise.
5494 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5496         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
5497         (TLS_DTV_UNALLOCATED): Add.
5498         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
5499         offsets.
5501 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5503         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5505 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5507         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
5508         Add -fno-optimize-sibling-calls.
5510 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5512         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
5513         New declaration.
5514         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
5515         macro.
5516         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
5517         New macro.
5518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
5519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
5520         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
5521         (llogbf): Likewise.
5522         (llogbl): Likewise.
5523         * math/Makefile (gen-libm-calls): Add w_llogbF.
5524         (tests): Add test-fp-llogb-constants.
5525         * math/w_llogb_template.c: New file.  Based on
5526         math/w_ilogb_template.c.
5527         * math/libm-test.inc (llogb_test_data): New array.
5528         (llogb_test): New function.
5529         (main): Call llogb_test.
5530         * math/test-fp-llogb-constants.c: New file.  Based on
5531         math/test-fp-ilogb-constants.c.
5532         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
5533         (do_test): Call check_return_llogb.
5534         * math/test-tgmath.c (NCALLS): Increase to 126.
5535         (F(compile_test)): Call llogb.
5536         (F(llogb)): New function.
5537         * manual/math.texi (Exponents and Logarithms): Document llogb,
5538         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
5539         * manual/libm-err-tab.pl (@all_functions): Add llogb.
5540         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
5541         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
5542         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
5543         (CFLAGS-nldbl-llogb.c): New variable.
5544         * sysdeps/nacl/libm.abilist: Update.
5545         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5546         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5547         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5551         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5552         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5553         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5554         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5556         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5558         Likewise.
5559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5560         Likewise.
5561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5562         Likewise.
5563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5564         Likewise.
5565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5566         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5567         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5568         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5571         Likewise.
5572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5573         Likewise.
5574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5575         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5576         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5578 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5580         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
5581         _Float128 instead of long double.
5582         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
5584         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
5585         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
5586         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
5587         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
5588         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
5589         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
5590         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
5591         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
5592         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
5593         Likewise.
5595 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5597         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
5598         Remove redirection to __strrchr_ppc.
5600 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5602         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5603         (sysdep_routines): Add strcmp_power9.
5604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5605         (strcmp): Add __strcmp_power9 to list of strcmp functions.
5606         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
5607         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5608         (strcmp): Add __strcmp_power9 to ifunc list.
5609         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
5611 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5613         * bits/fp-logb.h: New file.
5614         * sysdeps/ia64/bits/fp-logb.h: Likewise.
5615         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
5616         * sysdeps/x86/bits/fp-logb.h: Likewise.
5617         * math/Makefile (headers): Add bits/fp-logb.h.
5618         * math/math.h: Include <bits/fp-logb.h>.
5619         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
5620         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
5621         * bits/mathdef.h (FP_ILOGB0): Remove.
5622         (FP_ILOGBNAN): Likewise.
5623         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
5624         (FP_ILOGBNAN): Likewise.
5625         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
5626         (FP_ILOGBNAN): Likewise.
5627         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
5628         (FP_ILOGBNAN): Likewise.
5629         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
5630         (FP_ILOGBNAN): Likewise.
5631         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
5632         (FP_ILOGBNAN): Likewise.
5633         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
5634         (FP_ILOGBNAN): Likewise.
5635         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
5636         (FP_ILOGBNAN): Likewise.
5637         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
5638         (FP_ILOGBNAN): Likewise.
5639         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
5640         (FP_ILOGBNAN): Likewise.
5642         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
5643         time module.
5644         (Context.__init__): Initialize self.logsdir_old.
5645         (Context.run_builds): Handle bot action.
5646         (Context.bot_cycle): Copy logs directory before running builds.
5647         (Context.bot_run_self): Take argument for whether to check
5648         subprocess result.  Flush stdout before running subprocess.
5649         (Context.bot): New function.
5650         (get_parser): Allow bot action.
5652 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
5654         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5655         Import email.mime.text, email.utils and smtplib modules.
5656         (Context.__init__): Initialize self.bot_config_json.
5657         (Context.run_builds): Handle bot-cycle action.
5658         (Context.load_bot_config_json): New function.
5659         (Context.part_build_old): Likewise.
5660         (Context.bot_cycle): Likewise.
5661         (Context.bot_build_mail): Likewise.
5662         (Context.bot_run_self): Likewise.
5663         (get_parser): Allow bot-cycle action.
5665 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5667         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5668         Remove redirection to __stpcpy_ppc.
5670 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5672         Remove __libc_memalign from ld.so because it is unused.
5673         * elf/dl-minimal.c: Update comment on the malloc implementation.
5674         (malloc): Renamed from __libc_memalign, replacing the original
5675         malloc implementation.  Replace the align parameter with
5676         MALLOC_ALIGNMENT.
5677         * elf/Versions (ld): Update comment and remove __libc_memalign.
5678         * sysdeps/nacl/ld.abilist: Likewise.
5679         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5680         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5681         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5682         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5683         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5684         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5687         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5688         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5689         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5691         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5695         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5696         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5697         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5698         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5699         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5702         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5703         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5704         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5705         * sysdeps/generic/localplt.data (ld.so): Likewise.
5706         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5707         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5708         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5709         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5710         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5711         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5712         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5713         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5714         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5716         (ld.so): Likewise.
5717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5718         (ld.so): Likewise.
5719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5720         Likewise.
5721         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5722         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5723         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5724         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5725         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5727 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5729         [BZ #16628]
5730         Implement _dl_catch_error, _dl_signal_error in libc.so.
5731         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5732         (catch_hook): Define as thread-local or regular variable,
5733         depending on DL_ERROR_BOOTSTRAP.
5734         (CATCH_HOOK): Remove.
5735         (dl_signal_error, _dl_catch_error): Use
5736         catch_hook.  Add hidden definition for libc.
5737         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5738         for DL_ERROR_BOOTSTRAP only.
5739         * elf/dl-error.c: New file.
5740         * elf/dl-error-minimal.c: Likewise.
5741         * elf/tst-latepthread.c: Likewise.
5742         * elf/tst-latepthreadmod.c: Likewise.
5743         * elf/Makefile (routines): Add dl-error.
5744         (dl-routines): Remove dl-error.
5745         (rtld-routines): Add dl-error-minimal.
5746         [build-shared] (tests): Add tst-latepthread.
5747         (module-names): Add tst-latepthreadmod.
5748         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5749         symbol.
5750         (tst-latepthreadmod.so): Link against libpthread.
5751         (tst-latepthread): Link against libdbl.
5752         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5753         _dl_catch_error.
5754         [ld] (GLIBC_PRIVATE): Likewise.
5755         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5756         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5757         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5758         directly.
5759         * elf/dl-tsd.c: Remove file.
5760         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5761         _dl_catch_error, _dl_signal_error.
5762         (_dl_initial_error_catch_tsd): Remove definition.
5763         (do_preload): Remove initialization of dl_error_catch_tsd.
5764         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5765         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5766         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5767         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5768         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5769         set dl_error_catch_tsd.
5770         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5771         _dl_error_catch_tsd member.
5772         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5773         members.
5774         (_dl_initial_error_catch_tsd): Remove declaration.
5775         (_dl_dprintf): Provide definition for use outside of ld.so.
5776         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5777         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5778         prototype for libc.
5779         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5780         _dl_catch_error.
5781         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5782         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5783         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5784         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5785         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5786         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5787         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5788         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5789         Likewise.
5790         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5792         (ld.so): Likewise.
5793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5794         (ld.so): Likewise.
5795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5796         Likewise.
5797         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5798         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5799         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5800         Likewise.
5801         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5802         Likewise.
5803         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5805 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5807         [BZ #4099]
5808         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5809         _IO_BUFSIZ (8192).
5811 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5813         * PROJECTS: Remove file.
5815 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5817         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5819 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5820             Steve Ellcey  <sellcey@caviumnetworks.com>
5822         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5823         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5824         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5825         fxstatat.
5826         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5827         lxstat.
5828         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5829         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5830         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5831         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5832         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5833         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5834         __xstat.
5836 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5838         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5839         Define.
5840         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5841         definition.
5843 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5845         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5846         version and turn into strong alias.  Remove compat symbol.
5848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5849         (__longjmp): Remove.
5851 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5853         * bits/fp-fast.h: New file.
5854         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5855         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5856         * math/Makefile (headers): Add bits/fp-fast.h.
5857         * math/math.h: Include <bits/fp-fast.h>.
5858         * bits/mathdef.h (FP_FAST_FMA): Remove.
5859         (FP_FAST_FMAF): Likewise.
5860         (FP_FAST_FMAL): Likewise.
5861         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5862         (FP_FAST_FMAF): Likewise.
5863         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5864         (FP_FAST_FMAF): Likewise.
5865         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5866         (FP_FAST_FMAF): Likewise.
5867         (FP_FAST_FMAL): Likewise.
5868         * sysdeps/arm/bits/mathdef.h: Remove file.
5869         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5870         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5871         * sysdeps/tile/bits/mathdef.h: Likewise.
5873 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5875         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5876         * math/w_ilogb.c: Remove.
5877         * math/w_ilogbf.c: Likewise.
5878         * math/w_ilogbl.c: Likewise.
5879         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5880         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5881         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5882         (libm-calls): Remove w_ilogbF.
5883         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5884         (LDOUBLE_ilogbl_libm_version): New macro.
5886         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5888         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5889         [!__STRICT_ANSI__ && !__cplusplus].
5891 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5893         [BZ #20750]
5894         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5895         of PIC.
5897 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5898             Yury Norov  <ynorov@caviumnetworks.com>
5899             Steve Ellcey  <sellcey@caviumnetworks.com>
5901         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5902         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5903         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5904         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5905         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5906         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5907         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5908         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5909         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5910         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5911         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5912         to get correct reg name for ILP32.
5913         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5914         (RELA_SIZE): New Macro.
5915         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5916         to support ILP32.
5917         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5918         cast for ILP32 mode.
5919         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5920         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5921         * sysdeps/aarch64/memset.S (__memset): Ditto.
5922         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5923         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5924         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5925         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5926         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5927         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5928         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5929         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5930         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5931         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5932         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5933         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5934         change PTR_MANGLE call to use register numbers instead of names.
5935         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5936         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5937         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5938         * sysdeps/aarch64/start.S (_start): Ditto.
5939         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5940         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5941         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5942         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5943         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5944         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5945         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5946         Make defined values dependent on __ILP32__.
5947         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5948         (sem_t): Change __align type.
5949         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5950         PTR_SIZE): New Macros.
5951         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5952         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5953         Set when in ILP32 mode.
5954         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5955         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5956         Set elf flags for ILP32.
5957         (add_system_dir): Set ILP32 library directories.
5958         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5959         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5960         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5961         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5962         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5963         New Macros.
5964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5966 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5968         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5969         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5970         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5972 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5974         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5975         <asm/cachectl.h>.
5977 2016-11-27  Zack Weinberg  <zackw@panix.com>
5979         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5980         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5982 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5984         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5985         error_t to fix usage in C++ programs.
5987 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5989         * scripts/build-many-glibcs.py: Import datetime module.
5990         (Context.__init__): Load JSON build state.  Initialize list of
5991         status logs.
5992         (Context.run_builds): Update saved build state.
5993         (Context.add_makefile_cmdlist): Update list of status logs.
5994         (Context.load_build_state_json): New function.
5995         (Context.store_build_state_json): Likewise.
5996         (Context.clear_last_build_state): Likewise.
5997         (Context.update_build_state): Likewise.
5998         (CommandList.status_logs): Likewise.
6000 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6002         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6003         script being executed.
6004         (Context.get_script_text): New function.
6005         (Context.exec_self): Likewise.
6006         (Context.checkout): Re-exec script if changed by checkout process.
6008 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6010         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6011         (setpayloadsig): New declaration.
6012         * math/Versions (setpayloadsig): New libm symbol at version
6013         GLIBC_2.25.
6014         (setpayloadsigf): Likewise.
6015         (setpayloadsigl): Likewise.
6016         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6017         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6018         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6019         (setpayloadsig_test_data): New array.
6020         (setpayloadsig_test): New function.
6021         (main): Call setpayloadsig_test.
6022         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6023         setpayloadsigf and setpayloadsigl.
6024         * manual/libm-err-tab.pl: Update comment on interfaces without
6025         ulps tabulated.
6026         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6027         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6028         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6029         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6030         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6031         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6032         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6033         setpayloadsig.
6034         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6035         * sysdeps/nacl/libm.abilist: Update.
6036         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6037         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6038         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6039         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6040         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6041         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6042         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6043         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6044         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6045         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6046         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6047         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6049         Likewise.
6050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6051         Likewise.
6052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6053         Likewise.
6054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6057         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6062         Likewise.
6063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6064         Likewise.
6065         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6069         * scripts/build-many-glibcs.py: Import json module.
6070         (Context.__init__): Take replace_sources argument.  Load
6071         versions.json.
6072         (Context.load_versions_json): New function.
6073         (Context.store_json): Likewise.
6074         (Context.store_versions_json): Likewise.
6075         (Context.set_component_version): Likewise.
6076         (Context.checkout): Update versions.json.  Check for and handle
6077         changes of version.  Prefer previously explicitly specified
6078         version to default version.
6079         (Context.checkout_vcs): Return a revision identifier.
6080         (Context.git_checkout): Likewise.
6081         (Context.gcc_checkout): Likewise.
6082         (get_parser): Add --replace-sources option.
6083         (main): Pass replace_sources argument to Context call.
6085 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6087         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6088         * nptl/allocatestack.c (allocate_stack): Likewise.
6089         (__reclaim_stacks): Likewise.
6090         (setxid_signal_thread): Obtain pid through syscall.
6091         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6092         (sighandle_setxid): Likewise.
6093         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6094         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6095         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6096         Likewise.
6097         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6098         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6099         comment.
6100         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6101         * nptl/descr.h (struct pthread): Change comment about pid value.
6102         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6103         pid assert.
6104         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6105         Do not set pid value.
6106         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6107         pid cache check.
6108         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6109         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6110         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6111         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6112         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6113         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6114         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6115         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6116         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6117         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6118         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6119         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6120         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6121         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6122         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6123         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6124         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6125         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6126         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6127         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6128         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6129         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6130         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6131         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6132         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6135         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6136         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6137         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6138         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6139         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6140         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6141         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6142         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6143         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6144         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6145         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6146         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6147         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6148         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6149         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6150         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6153         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6154         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6155         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6156         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6157         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6158         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6159         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6160         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6161         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6162         struct access.
6163         (clone_test): Remove function.
6164         (do_test): Rewrite to take in consideration pid is not cached anymore.
6166 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6168         * bits/flt-eval-method.h: New file.
6169         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6170         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6171         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6172         * math/Makefile (headers): Add bits/flt-eval-method.h.
6173         * math/math.h: Include <bits/flt-eval-method.h>.
6174         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6175         [__USE_ISOC99] (double_t): Likewise.
6176         * bits/mathdef.h (float_t): Remove.
6177         (double_t): Likewise.
6178         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6179         (double_t): Likewise.
6180         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6181         (double_t): Likewise.
6182         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6183         (double_t): Likewise.
6184         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6185         (double_t): Likewise.
6186         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6187         (double_t): Likewise.
6188         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6189         (double_t): Likewise.
6190         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6191         (double_t): Likewise.
6192         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6193         (double_t): Likewise.
6194         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6195         (double_t): Likewise.
6196         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6197         (double_t): Likewise.
6198         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6199         (double_t): Likewise.
6200         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6201         (double_t): Likewise.
6202         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6203         (double_t): Likewise.
6205 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6207         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6208         instead of PIC.
6210 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6212         [BZ #20859]
6213         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6214         (-0x7fffffff) instead of 0x80000001.
6215         * math/test-fp-ilogb-constants.c: New file.
6216         * math/Makefile (tests): Add test-fp-ilogb-constants.
6218 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6220         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6221         (_init): Use it in place of hardcoded R_MIPS_JALR.
6222         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6223         (_init): Use it in place of hardcoded R_MIPS_JALR.
6224         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6225         (_init): Use it in place of hardcoded R_MIPS_JALR.
6227 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6229         [BZ #20787]
6230         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6231         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6232         (double_t): Do not define to double if [__x86_64__] when
6233         __FLT_EVAL_METHOD__ is nonzero.
6234         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6235         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6236         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6237         test-flt-eval-method-387 and test-flt-eval-method-sse.
6238         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6239         variable.
6240         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6242 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6244         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6245         use of -fno-isolate-erroneous-paths options for tilepro.
6247 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6249         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6250         structure initialization is no longer needed.
6252 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6254         [BZ #20855]
6255         * bits/mathdef.h (float_t): Define to float.
6256         * math/test-flt-eval-method.c: New file.
6257         * math/Makefile (tests): Add test-flt-eval-method.
6258         (CFLAGS-test-flt-eval-method.c): New variable.
6260 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6262         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6263         and __fstatfs.  Make them aliases of __fstatfs64 if
6264         STATFS_IS_STATFS64 is set to non-zero.
6265         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6266         and __statfs64.
6267         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6268         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6269         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6270         for __statfs and statfs.
6271         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6272         to 0.
6273         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6274         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6275         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6276         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6277         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6278         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6281         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6282         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6283         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6284         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6286 2016-11-22  Andreas Schwab  <schwab@suse.de>
6288         * misc/mkstemp.c: Include <fcntl.h>.
6289         * misc/mkstemps.c: Likewise.
6290         * misc/mkostemp.c: Likewise.
6291         * misc/mkostemps.c: Likewise.
6293 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6295         [BZ #20847]
6296         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6297         array bounds.
6298         (__execvpe): Likewise.
6300 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6302         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6303         -fno-isolate-erroneous-paths options for tilepro.
6305 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6307         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6308         to 0 when in 32 bit mode.
6309         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6310         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6311         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6312         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6314         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6315         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6316         XSTAT_IS_XSTAT64 test.
6317         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6318         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6319         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6320         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6321         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6322         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6323         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6324         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6325         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6326         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6327         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6329 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6331         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6332         (setpayload): New declaration.
6333         * math/Versions (setpayload): New libm symbol at version
6334         GLIBC_2.25.
6335         (setpayloadf): Likewise.
6336         (setpayloadl): Likewise.
6337         * math/Makefile (libm-calls): Add s_setpayloadF.
6338         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6339         test_Ff_b1_data.
6340         (RUN_TEST_Ff_b1): New macro.
6341         (RUN_TEST_LOOP_Ff_b1): Likewise.
6342         (canonicalize_test_data): Update type.
6343         (setpayload_test_data): New array.
6344         (setpayload_test): New function.
6345         (main): Call setpayload_test.
6346         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6347         setpayloadf and setpayloadl.
6348         * manual/libm-err-tab.pl: Update comment on interfaces without
6349         ulps tabulated.
6350         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6351         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6352         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6353         Likewise.
6354         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6355         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6360         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6362         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6363         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6364         setpayload.
6365         (CFLAGS-nldbl-setpayload.c): New variable.
6366         * sysdeps/nacl/libm.abilist: Update.
6367         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6368         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6369         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6370         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6371         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6372         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6373         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6374         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6375         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6377         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6382         Likewise.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6384         Likewise.
6385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6389         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6390         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6391         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6393         Likewise.
6394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6395         Likewise.
6396         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6397         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6400 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6402         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6403         * include/unistd.h: Extend comment about __access_noerrno return
6404         semantics.
6405         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6406         (access_common): Correct typo for EACCES.
6408 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6410         * sysdeps/tile/math-tests.h: New file.
6412         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6413         (__old_set_dataplane): Rename from set_dataplane and make a
6414         compatibility symbol.
6415         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6416         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6417         sys/dataplane.h.
6419 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6421         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6422         script quote words in command output to log suitably for input to
6423         the shell.
6425 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6426             Maciej W. Rozycki  <macro@imgtec.com>
6428         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6429         `.Lno_weak_fn' label.
6430         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6431         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6433 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6434             Yury Norov  <ynorov@caviumnetworks.com>
6436         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6437         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6438         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6439         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6440         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6441         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6442         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6444         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6445         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6446         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6447         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6448         (sysdep_routines): Remove oldgetrlimit64.
6449         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6450         (sysdep_routines): Likewise.
6451         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6452         (sysdep_routines): Likewise.
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6454         [$(subdir) = resource] (sysdep_routines): Likewise.
6455         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6456         [$(subdir) = resource] (sysdep_routines): Likewise.
6457         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6458         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6459         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6460         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6461         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6462         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6463         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6464         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6465         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6466         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6467         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6468         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6469         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6470         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6471         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6472         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6473         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6474         setrlimit and getrlimit.
6475         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6477         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6480         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6481         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6482         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6483         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6484         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6485         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6486         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6487         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
6488         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
6489         (__old_getrlimit64): Add compatibility symbol.
6490         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
6492 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
6494         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
6495         newly built gmp, mpfr and mpc.
6497         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
6499 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6501         * conform/Makefile (linknamespace-libs): Rename to
6502         linknamespace-libs-thr.
6503         (linknamespace-libs-posix): New variable.
6504         (linknamespace-libs-xsi): Likewise.
6505         (linknamespace-libs-XPG3): Include libcrypt.a.
6506         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
6507         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
6508         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
6509         (linknamespace-libs-XOPEN2K): Likewise.
6510         (linknamespace-libs-XOPEN2K8): Likewise.
6511         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
6513         [BZ #20829]
6514         * stdio-common/Versions (__snprintf): Add to version
6515         GLIBC_PRIVATE.
6516         * include/stdio.h (__snprintf): Use libc_hidden_proto.
6517         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
6518         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
6519         of snprintf.
6520         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6522 2016-11-16  Zack Weinberg  <zackw@panix.com>
6524         * string/string.h: Remove obsolete comment stating that
6525         strcoll_l and strxfrm_l have not yet been standardized.
6527 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6529         * hurd/hurd.h (__hurd_fail_noerrno): New function.
6530         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
6531         __access_noerrno.
6532         * io/access.c (__access_noerrno): New function.
6533         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
6534         (hurd_fail_seterrno): Likewise.
6535         (access_common): Likewise.
6536         (__access_noerrno): Likewise.
6537         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
6538         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
6539         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
6540         macro.
6542 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6544         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
6545         Only declare fpregs if [__SH_FPU_ANY__].
6547 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
6549         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
6550         Make code unconditional.
6551         [!(__SH4__ || __SH4A__)]: Remove conditional code.
6553 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
6555         * manual/sysinfo.texi (S_APPEND): Delete.
6556         (S_IMMUTABLE): Likewise.
6558 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
6559             Magnus Granberg  <zorry@gentoo.org>
6560             Mike Frysinger  <vapier@gentoo.org>
6562         [BZ #20662]
6563         * configure.ac (libc_cv_predef_stack_protector): Also check for
6564         __stack_chk_fail_local symbols.
6565         * configure: Regenerated.
6567 2016-11-15  Florian Weimer  <fweimer@redhat.com>
6569         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6570         (libc_hidden_def): Remove redefinition.
6571         (__sigsetjmp): Add hidden definition.
6572         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6573         (libc_hidden_def): Remove redefinition.
6574         (__sigsetjmp): Add hidden definition.
6576 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
6578         * scripts/build-many-glibcs.py (os.path): Do not import.
6579         (Context): Inherit explicitly from object.  Remove blank line
6580         between class and docstring.
6581         (Config): Likewise.
6582         (Glibc): Likewise.
6583         (Command): Likewise.
6584         (CommandList): Likewise.
6585         (Context.write_files): Store chmod mode in a variable.
6587         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
6588         LIBC_SLIBDIR_RTLDDIR for tilegx32.
6589         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
6591 2016-11-14  Zack Weinberg  <zackw@panix.com>
6593         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
6594         creating or re-creating it.
6596         * string/bits/string2.h: Fix typo in comment.
6598 2016-11-14  Zack Weinberg  <zackw@panix.com>
6600         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
6601         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
6602         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
6603         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
6604         of redirected function names.
6606         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
6607         as well.  Document that MESSAGE must be a single string literal.
6609 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
6611         * scripts/build-many-glibcs.py: New file.
6613         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
6614         (do_test): Disable -Wmaybe-uninitialized around uses of
6615         except_mask.
6617         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
6619 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
6621         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
6622         (atomic_store_release): Provide tilepro-specific implementations.
6624 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
6626         * math/math.h (__MATH_TG): New macro.
6627         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
6628         [__USE_ISOC99] (signbit): Likewise.
6629         [__USE_ISOC99] (isfinite): Likewise.
6630         [__USE_ISOC99] (isnan): Likewise.
6631         [__USE_ISOC99] (isinf): Likewise.
6632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
6633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
6634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
6635         __MATH_TG and __MATH_EVAL_FMT2.
6636         * sysdeps/generic/math_private.h (fabs_tg): Define using
6637         __MATH_TG.
6638         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6639         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
6640         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
6641         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
6642         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
6643         macro.
6644         (__iscanonical): Likewise.
6645         (iscanonical): Define using __MATH_TG.
6647 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6649         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
6650         guards.
6652         * sysdeps/unix/sysv/linux/access.c: New file.
6653         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6655 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6657         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6658         and __WORDSIZE32_PTRDIFF_LONG.
6660 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6662         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6664 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6666         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6667         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6668         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6669         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6670         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6672         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6673         * sysdeps/unix/sysv/linux/truncate.c: New file.
6674         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6675         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6676         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6677         Remove.
6678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6679         Likewise.
6681         * posix/tst-truncate-common.c: New file.
6682         * posix/tst-truncate.c: Use tst-truncate-common.c.
6683         * posix/tst-truncate64.c: Likewise and add LFS tests.
6684         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6685         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6686         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6687         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6688         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6690         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6691         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6692         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6693         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6694         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6695         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6696         Remove.
6697         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6698         Likewise.
6700 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6702         [BZ #20790]
6703         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6704         to MAXLINESIZE.
6705         * sunrpc/bug20790.x: New file.
6706         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6707         variable.
6708         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6709         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6711         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6713         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6715         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6716         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6717         calloc, realloc, free, memalign and __libc_memalign rather than
6718         making them optional.
6720         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6721         for libc.so.
6723 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6725         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6726         ptw-lseek64.
6727         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6728         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6729         Likewise.
6730         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6731         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6732         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6733         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6734         * sysdeps/unix/sysv/linux/lseek.c: New file.
6735         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6736         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6737         __libc_lseek64 from auto-generation.
6738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6739         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6741 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6743         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6744         * nptl/tst-cleanup1.c (do_test): Likewise.
6745         * nptl/tst-cleanup3.c (do_test): Likewise.
6746         * nptl/tst-key1.c (do_test): Likewise.
6747         * nptl/tst-key2.c (tf, do_test): Likewise.
6748         * nptl/tst-key3.c (tf, do_test): Likewise.
6749         * nptl/tst-stdio1.c (do_test): Likewise.
6750         * nptl/tst-stdio2.c (do_test): Likewise.
6752         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6753         * nptl/tst-kill6.c (handler): Likewise.
6754         * nptl/tst-tls2.c (CB): Likewise.
6755         * nptl/tst-tls3.c (CB): Likewise.
6757 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6759         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6761 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6762             Steve Ellcey  <sellcey@caviumnetworks.com>
6764         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6765           __ASSUME_ST_INO_64_BIT as 0
6766         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6767         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6768           over the code where __ASSUME_ST_INO_64_BIT is used.
6769         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6770         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6771         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6773 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6775         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6776         Document ABI exposure of the __kind offset.
6777         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6778         Mention reason for the __kind offset exposure in the ABI.
6779         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6780         Likewise.
6781         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6782         Likewise.
6783         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6784         Likewise.
6785         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6786         (struct __pthread_mutex_s): Likewise.
6787         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6788         Likewise.
6789         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6790         Likewise.
6791         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6792         Likewise.
6793         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6794         Likewise.
6795         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6796         Likewise.
6797         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6798         Likewise.
6799         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6800         (struct __pthread_mutex_s): Likewise.
6801         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6802         (struct __pthread_mutex_s): Likewise.
6803         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6804         Likewise.
6806 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6808         * test-skeleton.c: Document do_test usage.
6810 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6812         * iconv/gconv.h (__gconv_info): Define __data element using a
6813         zero-length array.
6815 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6817         * math/test-tgmath2.c: Split up test function.
6819 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6821         * Rules (tests-expected): New variable, depending on
6822         $(run-built-tests).
6823         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6824         $(tests).
6826         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6827         $(tests-unsupported).
6829 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6831         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6832         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6834 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6836         [BZ #20768]
6837         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6838         __fegetenv instead of fegetenv.
6840         [BZ #14139]
6841         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6842         (find_files): Obtain platform name from libm-test-ulps-name and
6843         store in %pplatforms.
6844         (canonicalize_platform): Remove.
6845         (print_platforms): Use $pplatforms directly.
6846         (by_platforms): Do not allow for platforms missing from
6847         %pplatforms.
6848         * sysdeps/aarch64/libm-test-ulps-name: New file.
6849         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6850         * sysdeps/arm/libm-test-ulps-name: Likewise.
6851         * sysdeps/generic/libm-test-ulps-name: Likewise.
6852         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6853         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6854         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6855         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6856         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6857         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6858         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6859         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6860         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6861         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6862         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6863         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6864         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6865         * sysdeps/sh/libm-test-ulps-name: Likewise.
6866         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6867         * sysdeps/tile/libm-test-ulps-name: Likewise.
6868         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6870         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6872         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6873         (test-xfail-check-execstack): New variable.
6875         * sysdeps/mips/localplt.data: New file.
6877 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6878             Steve Ellcey  <sellcey@caviumnetworks.com>
6880         * bits/wordsize.h: Add documentation.
6881         * sysdeps/aarch64/bits/wordsize.h : New file
6882         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6883         definitions.
6884         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6885         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6886         with #if instead of #ifdef.
6887         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6888         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6889         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6890         Add or change defines.
6891         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6892         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6893         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6894         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6895         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6896         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6897         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6898         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6899         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6900         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6901         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6902         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6903         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6904         * sysdeps/x86/bits/wordsize.h: Likewise.
6906 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6907             Kevin Petit  <kevin.petit@arm.com>
6909         * sysdeps/aarch64/memchr.S (__memchr): New file.
6911 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6913         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6915 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6917         [BZ #19398]
6918         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6919         $(linknamespace-symlists-tests).
6921 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6923         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6925 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6926             Carlos O'Donell  <carlos@redhat.com>
6928         [Bug #20729]
6929         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6930         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6931         for -Os related change.
6933 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6935         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6937 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6939         [BZ #19673]
6940         * manual/math.texi (Exponents and Logarithms): Correct description
6941         of clog10.
6943 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6945         [Bz #20729]
6946         * locale/weight.h: Include libc-internal.h.
6947         * locale/weightwc.h: Likewise.
6948         * nptl/nptl_dbP.h: Likewise.
6950 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6952         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6953         when it is MACH_PORT_NULL.
6955 2016-10-31  Andreas Schwab  <schwab@suse.de>
6957         [BZ #20707]
6958         * posix/glob.c (glob): Initialize pglob before checking for
6959         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6960         valid brace expression despite GLOB_BRACE.
6961         * posix/globtest.sh: Test it.
6963 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6965         [BZ #20729]
6966         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6967         Define.
6968         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6969         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6970         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6971         for seq2.back_us and seq1.back_us only for -Os compiles.
6972         * locale/weightwc.h (findix): Likewise.
6973         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6974         DB_GET_FIELD_ADDRESS only for -Os compiles.
6975         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6976         for slen only for -Os compiles.
6977         * string/strcoll_l.c (get_next_seq): Ignore
6978         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6979         for -Os compiles.
6981         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6982         * include/crypt.h: New file.
6984 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6986         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6987         from test-skeleton.c.
6988         (statclass): Replace calls to write with calls to write_message.
6990 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6992         * math/math.h
6993         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6994         New macro.
6995         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6996         Likewise.
6997         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6998         Likewise.
6999         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7000         SNANL.
7001         * math/test-double.h (snan_value_MACRO): New macro.
7002         * math/test-float.h (snan_value_MACRO): Likewise.
7003         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7004         * math/libm-test.inc (issignaling_test_data): Add tests of
7005         snan_value_MACRO.
7007 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7009         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7010         behavior when eliding a lock not held by the current thread.
7011         * sysdeps/powerpc/nptl/elide.h: Likewise.
7013 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7015         [BZ #20728]
7016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7017         branch to _exit() by a function call.
7019 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7021         * malloc/malloc.c: Update chunk layout comments.
7022         (chunk_main_arena): Update comment.
7024 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7026         * crypt/sha256.c, crypt/sha256-block.c,
7027         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7028         sha256_process_block to __sha256_process_block.
7029         * crypt/sha512.c, crypt/sha512-block.c,
7030         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7031         sha512_process_block to __sha512_process_block.
7033 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7035         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7037         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7039 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7041         [BZ #20019]
7042         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7043         definition in unrelocated shared library.
7044         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7046 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7048         [BZ #20729]
7049         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7050         * sysdeps/unix/sysv/linux/i386/Makefile
7051         (uses-6-syscall-arguments): Define.
7052         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7053         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7054         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7055         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7056         Likewise.
7057         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7058         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7059         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7060         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7061         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7062         (CFLAGS-fallocate64.os): Likewise.
7063         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7064         (CFLAGS-pthread_rwlock_timedrdlock.os)
7065         (CFLAGS-pthread_rwlock_timedwrlock.o)
7066         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7067         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7068         (CFLAGS-sem_timedwait.os): Likewise.
7070 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7072         * elf/tst-linkall-static.c: New file.
7073         * elf/Makefile (tests-static): Add tst-linkall-static.
7074         (tst-linkall-static): Link against static libraries.
7076 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7078         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7079         mmaped chunks.
7081 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7083         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7084         members to mchunk_prev_size, mchunk_size.
7085         (chunk_main_arena): Reverse sense and rename from
7086         chunk_non_main_arena.
7087         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7088         mchunk_size instead of size.
7089         (set_non_main_arena): Define.
7090         (chunksize): Use chunksize_nomask instead of direct member access.
7091         (chunksize_nomask): Define.
7092         (next_chunk): Use chunksize instead of direct member access.
7093         (prev_size, set_prev_size): Define.
7094         (prev_chunk): Use prev_size instead of direct member access.
7095         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7096         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7097         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7098         (mchunk_prev_size, mchunk_size): Poison tokens.
7099         (unlink): Use chunksize_nomask, prev_size accessors.
7100         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7101         (do_check_free_chunk): Use prev_size accessor.
7102         (sysmalloc): Use set_prev_size, set_head accessors.
7103         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7104         (__libc_free): Use chunksize_nomask accessor.
7105         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7106         chunk_main_arena accessors.
7107         (_int_free): Use chunksize_nomask, prev_size accessors.
7108         (malloc_consolidate): Use chunksize, prev_size accessors.
7109         (_int_realloc): Use chunksize_nomask accessor.
7110         (_int_memalign): Use set_prev_size accessor.
7111         (__malloc_info): Use chunksize_nomask accessor.
7112         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7113         accessors.
7114         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7115         (heap_trim): Use chunksize_nomask, prev_size accessors.
7117 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7119         [BZ #19380]
7120         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7121         for inexact results.
7122         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7123         of inexact result where mpfr_subnormalize is the only inexact
7124         step.
7125         * stdlib/tst-strtod-round-data.h: Regenerated.
7126         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7127         Define to 0.
7128         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7130 2016-10-27  David S. Miller  <davem@davemloft.net>
7132         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7134 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7136         * malloc/malloc.c (do_set_mallopt_check): New function.
7137         (do_set_mmap_threshold): Likewise.
7138         (do_set_mmaps_max): Likewise.
7139         (do_set_top_pad): Likewise.
7140         (do_set_perturb_byte): Likewise.
7141         (do_set_trim_threshold): Likewise.
7142         (do_set_arena_max): Likewise.
7143         (do_set_arena_test): Likewise.
7144         (__libc_mallopt): Use them.
7146 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7148         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7149         (canonicalize): New declaration.
7150         * math/Versions (canonicalize): New libm symbol at version
7151         GLIBC_2.25.
7152         (canonicalizef): Likewise.
7153         (canonicalizel): Likewise.
7154         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7155         * math/s_canonicalize_template.c: New file.
7156         * math/libm-test.inc: Update comment on functions tested and
7157         testing of NaN payloads.
7158         (TEST_NAN_PAYLOAD): New macro.
7159         (NO_TEST_INLINE): Update value.
7160         (XFAIL_TEST): Likewise.
7161         (ERRNO_UNCHANGED): Likewise.
7162         (ERRNO_EDOM): Likewise.
7163         (ERRNO_ERANGE): Likewise.
7164         (IGNORE_RESULT): Likewise.
7165         (NON_FINITE): Likewise.
7166         (TEST_SNAN): Likewise.
7167         (NO_TEST_MATHVEC): Likewise.
7168         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7169         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7170         (struct test_Ffp_b1_data): New type.
7171         (RUN_TEST_Ffp_b1): New macro.
7172         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7173         (canonicalize_test_data): New array.
7174         (canonicalize_test): New function.
7175         (main): Call canonicalize_test.
7176         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7177         canonicalizef and canonicalizel.
7178         * manual/libm-err-tab.pl: Update comment on interfaces without
7179         ulps tabulated.
7180         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7181         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7182         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7183         canonicalize.
7184         (CFLAGS-nldbl-canonicalize.c): New variable.
7185         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7186         to ...
7187         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7188         ... here.
7189         (do_test): Also test canonicalizel.
7190         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7191         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7192         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7193         file.
7194         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7195         Use libm_hidden_def.
7196         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7197         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7198         (do_test): Also test canonicalizel.
7199         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7200         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7201         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7202         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7203         libm_hidden_def.
7204         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7205         macro.
7206         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7207         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7208         * sysdeps/nacl/libm.abilist: Update.
7209         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7215         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7216         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7220         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7222         Likewise.
7223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7224         Likewise.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7228         Likewise.
7229         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7235         Likewise.
7236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7237         Likewise.
7238         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7239         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7242         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7243         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7244         getpayload.
7245         (CFLAGS-nldbl-getpayload.c): New variable.
7247 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7249         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7250         integer from the format string.
7252 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7254         [BZ #19473]
7255         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7256         declarations.
7257         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7258         weak aliases.
7259         * malloc/hooks.c (__malloc_get_state): Remove definition.
7260         (malloc_get_state): New stub implementation as
7261         compatibility symbol.
7262         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7263         compat symbol.
7264         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7265         malloc_set_state.
7266         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7268 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7270         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7271         (names): Turn into concatenation of strings.
7272         (gconv_init): Adapt iteration over names.
7274 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7276         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7277         make const.
7278         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7279         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7280         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7281         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7282         character in sbconv.
7283         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7284         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7285         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7287 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7289         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7291         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7292         (M_TRIM_THRESHOLD): Likewise.
7294         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7295         (M_ARENA_MAX): Likewise.
7296         * malloc/malloc.c: Remove obsolete comment.
7298         * manual/memory.texi: Add environment variable alternatives to
7299         setting mallopt parameters.
7301 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7303         * include/atomic.h
7304         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7305         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7307 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7309         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7310         * stdlib/tst-strfrom.h: New file.
7311         * stdlib/tst-strfrom.c: New file.
7312         * stdlib/tst-strfrom-locale.c: New file.
7314         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7315         * stdlib/bug-strtod2.c: Likewise.
7316         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7317         * stdlib/tst-strtod6.c: Likewise.
7318         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7320 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7322         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7323         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7324         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7325         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7326         * stdlib/stdlib.h (strfromd): New declaration.
7327         (strfromf): Likewise.
7328         (strfroml): Likewise.
7329         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7330         strfrom.
7331         * stdlib/strfromd.c: New file.
7332         * stdlib/strfromf.c: Likewise.
7333         * stdlib/strfroml.c: Likewise.
7334         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7335         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7336         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7337         * sysdeps/arm/nacl/libc.abilist: Update.
7338         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7339         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7340         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7341         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7342         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7343         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7344         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7345         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7346         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7347         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7348         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7350         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7351         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7358         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7359         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7360         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7363         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7364         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7365         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7367 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7369         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7370         instead of cmpli.
7371         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7372         instead of cmpli.
7374 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7376         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7377         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7378         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7379         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7380         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7381         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7383 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7385         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7386         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7387         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7388         SYSCALL_LL64_PRW.
7389         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7390         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7391         __ASSUME_PRW_DUMMY_ARG.
7392         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7393         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7394         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7395         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7396         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7397         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7399 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7401         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7403 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7405         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7406         "C++", to override a potential extern "C" directive around the
7407         header file inclusion.
7409 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7411         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7413 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7415         * sysdeps/powerpc/fpu/fenv_private.h:
7416         (_FPU_MASK_ALL): Rename to...
7417         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7418         XE FPSCR bits.
7420         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7422         (_FPU_MASK_ROUNDING): Rename to...
7423         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7424         NI bits.
7426         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7427         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7428         bits and rounding bits.
7430         (__libc_feholdbits_ppc): New inline function to mask, set,
7431         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7432         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7433         (libc_feholdexcept_setround_ppc): Likewise.
7435         (__libc_femergeenv_ppc): New function to dynamically mask both
7436         old and new FP environments and merge.
7437         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7438         (libc_feresetround_ppc): Likewise.
7439         (libc_feupdateenv_test_ppc): Likewise.
7440         (libc_feupdateenv_ppc): Likewise.
7442         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7443         of ISA RN bits, and update macro names.
7444         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7445         effectively the same as the previously mentioned function.
7447         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7448         usage with fe_resetround_ppc.
7450         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7451         to be used.
7452         (libc_feholdexcept_setround_ctxf): Likewise.
7453         (libc_feholdexcept_setround_ctxl): Likewise.
7455 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7457         [BZ #20715]
7458         * math/math.h [__cplusplus] (iszero): Define as function template.
7459         * math/Makefile [CXX] (tests): Add test-math-iszero.
7460         (CFLAGS-test-math-iszero.cc): Set.
7461         * math/test-math-iszero.cc: New file.
7463 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7465         [BZ #20660]
7466         * sysdeps/arm/e_sqrt.c: New file.
7467         * sysdeps/arm/e_sqrtf.c: Likewise.
7469 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7471         [BZ #20718]
7472         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7473         not use floating-point comparisons to test sign.
7474         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7475         Likewise.
7477         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7478         (getpayload): New declaration.
7479         * math/Versions (getpayload): New libm symbol at version
7480         GLIBC_2.25.
7481         (getpayloadf): Likewise.
7482         (getpayloadl): Likewise.
7483         * math/Makefile (libm-calls): Add s_getpayloadF.
7484         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7485         (struct test_f_f_data): Add comment.
7486         (RUN_TEST_fp_f): New macro.
7487         (RUN_TEST_LOOP_fp_f): Likewise.
7488         (getpayload_test_data): New array.
7489         (getpayload_test): New function.
7490         (main): Call getpayload_test.
7491         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
7492         descriptor.
7493         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
7494         getpayloadf and getpayloadl.
7495         * manual/libm-err-tab.pl: Update comment on interfaces without
7496         ulps tabulated.
7497         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
7498         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
7499         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
7500         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
7501         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
7502         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
7503         * sysdeps/nacl/libm.abilist: Update.
7504         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7505         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7506         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7507         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7508         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7509         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7510         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7511         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7512         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7513         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7517         Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7519         Likewise.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7521         Likewise.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7523         Likewise.
7524         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7525         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7526         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7527         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7528         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7530         Likewise.
7531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7532         Likewise.
7533         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7534         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7535         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7537 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7539         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
7540         tst-fallocate{64}.
7541         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
7542         on syscall return.
7544 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
7546         [BZ #20689]
7547         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
7548         usable.
7550 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
7552         * sysdeps/generic/nan-high-order-bit.h: New file.
7553         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
7554         * sysdeps/mips/nan-high-order-bit.h: Likewise.
7555         * sysdeps/hppa/math_private.h: Remove file.
7556         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
7557         not define here.
7558         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
7559         <nan-high-order-bit.h>.
7560         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7561         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
7562         <nan-high-order-bit.h>.
7563         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7564         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7565         <nan-high-order-bit.h>.
7566         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7567         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
7568         <nan-high-order-bit.h>.
7569         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7570         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7571         <nan-high-order-bit.h>.
7572         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7573         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7574         <nan-high-order-bit.h>.
7575         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7576         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
7577         <nan-high-order-bit.h>.
7578         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7579         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7580         <nan-high-order-bit.h>.
7581         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7582         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
7583         <nan-high-order-bit.h>.
7584         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7585         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
7586         <nan-high-order-bit.h>.
7587         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7588         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7589         <nan-high-order-bit.h>.
7590         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7591         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7592         <nan-high-order-bit.h>.
7593         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7594         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
7595         <nan-high-order-bit.h>.
7596         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7597         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
7598         <nan-high-order-bit.h>.
7599         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7600         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
7601         <nan-high-order-bit.h>.
7602         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7603         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
7604         <nan-high-order-bit.h>.
7605         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7606         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7607         <nan-high-order-bit.h>.
7608         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7609         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7610         <nan-high-order-bit.h>.
7611         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7613 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7615         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
7617 2016-09-22  John David Anglin  <dave.anglin@bell.net>
7619         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
7620         abort-instr.h.
7621         (EFAULT): Remove conditional define.
7622         (ENOSYS): Likewise.
7623         (atomic_compare_and_exchange_val_acq): Use instruction nullification
7624         instead of conditional branch instructions.
7626 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
7628         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7629         (totalordermag): New declaration.
7630         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
7631         New macro.
7632         * math/Versions (totalordermag): New libm symbol at version
7633         GLIBC_2.25.
7634         (totalordermagf): Likewise.
7635         (totalordermagl): Likewise.
7636         * math/Makefile (libm-calls): Add s_totalordermagF.
7637         * math/libm-test.inc (totalordermag_test_data): New array.
7638         (totalordermag_test): New function.
7639         (main): Call totalordermag_test.
7640         * math/test-tgmath.c (NCALLS): Increase to 125.
7641         (F(compile_test)): Call totalordermag.
7642         (F(totalordermag)): New function.
7643         * manual/arith.texi (FP Comparison Functions): Document
7644         totalordermag, totalordermagf and totalordermagl.
7645         * manual/libm-err-tab.pl: Update comment on interfaces without
7646         ulps tabulated.
7647         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
7648         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
7649         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
7650         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
7651         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
7652         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
7653         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
7654         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7655         totalordermag.
7656         (CFLAGS-nldbl-totalordermag.c): New variable.
7657         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7658         (do_test): Also test totalordermagl.
7659         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7660         Likewise.
7661         * sysdeps/nacl/libm.abilist: Update.
7662         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7663         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7664         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7665         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7666         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7667         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7668         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7669         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7670         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7671         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7672         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7673         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7675         Likewise.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7677         Likewise.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7679         Likewise.
7680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7681         Likewise.
7682         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7683         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7684         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7685         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7686         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7688         Likewise.
7689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7690         Likewise.
7691         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7692         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7693         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7695 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7697         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7698         boolean.
7700 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7702         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7703         raising FE_INVALID with feraisexcept in case where part of
7704         argument is infinite, subtract that part of argument from itself.
7705         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7706         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7707         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7709 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7711         * math/libm-test.inc (totalorder_test_data): Add more tests.
7713 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7715         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7716         Undefine weak_alias and add a comment why mips64 require
7717         versioning.
7719 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7721         [BZ #20647]
7722         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7723         maximum CPUID level is less than 2.
7725 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7727         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7728         (totalorder): New declaration.
7729         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7730         New macro.
7731         * math/Versions (totalorder): New libm symbol at version
7732         GLIBC_2.25.
7733         (totalorderf): Likewise.
7734         (totalorderl): Likewise.
7735         * math/Makefile (libm-calls): Add s_totalorderF.
7736         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7737         string.
7738         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7739         (qnan_value_pl): Likewise.
7740         (snan_value_pl): Likewise.
7741         (qnan_value): Define using qnan_value_pl.
7742         (snan_value): Define using snan_value_pl.
7743         (struct test_ff_i_data): Add comment about which tests use this
7744         structure.
7745         (RUN_TEST_ff_b): New macro.
7746         (RUN_TEST_LOOP_ff_b): Likewise.
7747         (totalorder_test_data): New array.
7748         (totalorder_test): New function.
7749         (main): Call totalorder_test.
7750         * math/test-tgmath.c (NCALLS): Increase to 122.
7751         (F(compile_test)): Call totalorder.
7752         (F(totalorder)): New function.
7753         * manual/arith.texi (FP Comparison Functions): Document
7754         totalorder, totalorderf and totalorderl.
7755         * manual/libm-err-tab.pl: Update comment on interfaces without
7756         ulps tabulated.
7757         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7758         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7759         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7760         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7761         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7762         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7763         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7764         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7765         totalorder.
7766         (CFLAGS-nldbl-totalorder.c): New variable.
7767         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7768         file.
7769         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7770         Add test-totalorderl-ldbl-128ibm.
7771         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7772         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7773         test-totalorderl-ldbl-96.
7774         * sysdeps/nacl/libm.abilist: Update.
7775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7777         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7778         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7781         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7783         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7786         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7788         Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7790         Likewise.
7791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7792         Likewise.
7793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7796         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7797         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7798         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7799         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7801         Likewise.
7802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7803         Likewise.
7804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7805         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7806         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7808 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7810         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7811         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7812         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7813         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7814         remove ENOSYS implementation.
7815         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7816         Consolidate all Linux implementations.
7818 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7820         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7821         * resolv/herror.c (herror): Cast away const-ness.
7822         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7823         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7825 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7827         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7828         instead of M_NAN + M_NAN.
7829         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7831 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7833         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7834         unused variable 'p'.
7836 2016-10-09  Alan Modra  <amodra@gmail.com>
7837             Andreas Schwab  <schwab@linux-m68k.org>
7839         [BZ #20554]
7840         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7841         [PIC && !SHARED]: Set up PIC register for PLT call.
7843 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7845         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7846         conditional on value of [__FLT_EVAL_METHOD__].
7847         * math/test-iseqsig-excess-precision.c: New file.
7848         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7850 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7852         * math/s_iseqsig_template.c: Include math-private.h.
7854         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7855         * posix/tst-posix_fadvise.c: New file.
7856         * posix/tst-posix_fadvise64.c: Likewise.
7857         * posix/tst-posix_fadvise-common.c: Likewise.
7858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7859         (__ASSUME_FADVISE64_64_6ARG): Define.
7860         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7861         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7862         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7863         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7864         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7865         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7866         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7867         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7868         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7869         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7870         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7871         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7874         Likewise.
7875         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7876         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7877         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7878         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7879         Alias to __posix_fadvise64_l32.
7880         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7881         Add compat definition to posix_fadvise64.
7882         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7883         Add versioned definition to posix_fadvise64.
7884         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7885         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7886         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7887         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7888         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7890         * io/Makefile (tests): Add tst-posix_fallocate and
7891         tst-posix_fallocate64.
7892         * io/tst-posix_fallocate-common.c: New file.
7893         * io/tst-posix_fallocate.c: Likewise.
7894         * io/tst-posix_fallocate64.c: Likewise.
7895         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7896         file.
7897         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7900         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7901         Likewise.
7902         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7903         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7904         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7905         SYSCALL_LL to pass both offset and len arguments.
7906         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7907         Likewise.
7908         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7909         __libc_pwrite64 alias used by posix_fallocate64.
7911         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7912         tst-fallocate64.
7913         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7914         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7915         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7916         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7917         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7918         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7919         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7920         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7921         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7922         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7923         macro on offset argument.
7924         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7925         SYSCALL_LL64 on offset argument.
7927         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7928         tst-fallocate64.
7929         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7930         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7931         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7932         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7933         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7934         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7935         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7936         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7937         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7938         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7939         macro on offset argument.
7940         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7941         SYSCALL_LL64 on offset argument.
7942         * test-skeleton.c (FAIL_RET): Add macro.
7943         (FAIL_EXIT): Likewise.
7944         (FAIL_EXIT1): Likewise.
7945         (_FAIL): Likewise.
7947 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7949         [BZ #20629]
7950         resolv: Remove RES_USEBSTRING and its implementation.
7951         * resolv/resolv.h (RES_USEBSTRING): Remove.
7952         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7953         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7954         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7955         (labellen): Remove extended label types support.
7956         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7957         * resolv/res_init.c (res_setoptions): Likewise.
7958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7960 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7962         resolv: Remove RES_NOIP6DOTINT and its implementation.
7963         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7964         (RES_NOIP6DOTINT): Remove.
7965         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7966         handling.
7967         * resolv/res_debug.c (p_option): Likewise.
7968         * resolv/res_init.c (res_setoptions): Likewise.
7969         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7971 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7973         resolv: Deprecate unimplemented flags.
7974         * misc/sys/cdefs.h (__glibc_macro_warning1)
7975         (__glibc_macro_warning): Define.
7976         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7977         (RES_KEEPTSIG): Mark as deprecated.
7978         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7979         RES_NOCHECKNAME, RES_KEEPTSIG.
7980         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7982 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7984         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7985         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7986         Use strong_alias to create symbols for glibc verison 2.19.
7988 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7990         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7992 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7994         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7996 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7998         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8000 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8003         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8004         in header for using it as type for ifunc function because __GI_* symbols
8005         for ppc32 do not target the ifunc symbols.
8006         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8008 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8010         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8011         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8012         libc_ifunc_hidden_def.
8013         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8014         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8015         Redirect ifunced function in header for using it as type of ifunc'ed
8016         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8017         function for __GI_* symbol.
8018         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8019         * include/libc-symbols.h
8020         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8022 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8024         [BZ #20478]
8025         * sysdeps/s390/multiarch/ifunc-resolve.h
8026         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8027         to create ifunc symbols.
8028         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8029         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8030         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8031         for using it as type for ifunc function.
8032         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8033         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8034         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8035         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8036         * sysdeps/s390/multiarch/strcat.c: Likewise.
8037         * sysdeps/s390/multiarch/strchr.c: Likewise.
8038         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8039         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8040         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8041         * sysdeps/s390/multiarch/strlen.c: Likewise.
8042         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8043         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8044         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8045         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8046         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8047         * sysdeps/s390/multiarch/strspn.c: Likewise.
8048         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8049         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8050         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8051         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8052         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8053         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8054         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8055         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8056         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8057         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8058         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8059         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8061 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8063         * include/libc-symbols.h (__ifunc_resolver):
8064         New macro is used by __ifunc* macros.
8065         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8066         depending on HAVE_GCC_IFUNC.
8067         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8068         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8070         Redirect ifunced function in header for using as type for ifunc function.
8071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8076         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8077         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8078         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8079         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8080         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8081         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8082         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8084         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8090         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8091         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8092         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8093         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8094         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8095         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8096         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8097         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8098         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8099         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8101         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8102         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8103         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8105         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8106         instead of libc_ifunc() macro.
8107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8108         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8110 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8112         * config.h.in (HAVE_GCC_IFUNC): New undef.
8113         * configure.ac: Add check if gcc supports attribute ifunc feature.
8114         * configure: Regenerated.
8115         * manual/install.texi: Add recommendation for gcc with
8116         indirect-function support.
8117         * INSTALL: Regenerated.
8119 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8121         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8122         macro.
8123         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8124         (__iseqsig): New declaration.
8125         * math/s_iseqsig_template.c: New file.
8126         * math/Versions (__iseqsigf): New libm symbol at version
8127         GLIBC_2.25.
8128         (__iseqsig): Likewise.
8129         (__iseqsigl): Likewise.
8130         * math/libm-test.inc (iseqsig_test_data): New array.
8131         (iseqsig_test): New function.
8132         (main): Call iseqsig_test.
8133         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8134         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8135         * manual/libm-err-tab.pl: Update comment on interfaces without
8136         ulps tabulated.
8137         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8138         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8139         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8140         * sysdeps/nacl/libm.abilist: Update.
8141         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8142         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8143         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8144         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8145         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8146         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8147         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8148         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8149         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8150         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8151         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8152         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8154         Likewise.
8155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8156         Likewise.
8157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8158         Likewise.
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8160         Likewise.
8161         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8162         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8163         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8164         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8165         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8167         Likewise.
8168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8171         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8172         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8174 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8176         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8177         do_sincos_2, sloww, sloww1): Update comments.
8179         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8180         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8182         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8183         K boolean and rename it.
8184         (__sin): Adjust.
8185         (__cos): Adjust.
8187 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8188             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8190         * manual/nss.texi: Fix typos in the manual.
8192 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8194         * manual/contrib.texi: Fix typos in the manual.
8196         * manual/maint.texi: Fix typos in the manual.
8198         * manual/install.texi: Fix typos in the manual.
8199         * INSTALL: Regenerated.
8201         * manual/lang.texi: Fix typos in the manual.
8203         * manual/probes.texi: Fix typos in the manual.
8205         * manual/threads.texi: Fix typos in the manual.
8207         * manual/debug.texi: Fix typos in the manual.
8209         * manual/crypt.texi: Fix typos in the manual.
8211         * manual/conf.texi: Fix typos in the manual.
8213         * manual/sysinfo.texi: Fix typos in the manual.
8215         * manual/users.texi: Fix typos in the manual.
8217         * manual/job.texi: Fix typos in the manual.
8219         * manual/process.texi: Fix typos in the manual.
8221         * manual/argp.texi: Fix typos in the manual.
8222         * manual/getopt.texi: Likewise.
8223         * manual/startup.texi: Likewise.
8225         * manual/signal.texi: Fix typos in the manual.
8227         * manual/setjmp.texi: Fix typos in the manual.
8229         * manual/resource.texi: Fix typos in the manual.
8231         * manual/time.texi: Fix typos in the manual.
8233         * manual/arith.texi: Fix typos in the manual.
8235         * manual/math.texi: Fix typos in the manual.
8237         * manual/syslog.texi: Fix typos in the manual.
8239         * manual/terminal.texi: Fix typos in the manual.
8241         * manual/socket.texi: Fix typos in the manual.
8243         * manual/filesys.texi: Fix typos in the manual.
8245         * manual/llio.texi: Fix typos in the manual.
8247         * manual/stdio.text: Fix typos in the manual.
8249 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8251         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8252         instead of K1.
8254         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8255         SHIFT_QUADRANT and make it bool.
8256         (do_sincos_2): Likewise.
8257         (sloww): Likewise.
8258         (sloww1): Likewise.
8259         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8260         (__cos): Likewise.
8262 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8264         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8266 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8268         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8269         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8270         0x7fffffffL].
8271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8273 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8275         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8276         inline by __inline__.
8277         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8278         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8279         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8280         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8281         sigset_t from signal.h.
8282         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8283         which is already required.
8285 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8287         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8289 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8291         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8292         (struct tcp_repair_window): New type.
8294 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8296         * libio/tst-memstream3.c: Include string.h.
8298 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8300         [BZ #18241]
8301         [BZ #20181]
8302         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8303         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8304         write position is at the end the buffer.
8305         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8306         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8307         (_IO_str_seekoff): Set correct offset from negative displacement and
8308         set EINVAL for invalid ones.
8309         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8310         buffer length.
8311         (_IO_wstr_switch_to_get_mode): New function.
8312         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8313         set EINVAL for invalid ones.
8314         * libio/tst-memstream3.c: New file.
8315         * libio/tst-wmemstream3.c: Likewise.
8316         * manual/examples/memstrm.c: Remove warning when priting size_t.
8318 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8320         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8321         macro to use __builtin_fma.
8322         * sysdeps/x86_64/fpu/dla.h: Remove file.
8324         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8325         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8326         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8328 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8330         [BZ #20292]
8331         * elf/Makefile (routines): Add dl-addr-obj.
8332         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8333         tst-_dl_addr_inside_object.
8334         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8335         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8336         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8337         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8338         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8339         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8340         * elf/dl-open.c: Likewise.
8341         * elf/dl-addr-obj.c: New file.
8342         * elf/tst-_dl_addr_inside_object.c: New file.
8344 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8346         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8347         <bits/iscanonical.h>.
8348         * bits/iscanonical.h: New file.
8349         * math/s_iscanonicall.c: Likewise.
8350         * math/Versions (__iscanonicall): New libm symbol at version
8351         GLIBC_2.25.
8352         * math/libm-test.inc (iscanonical_test_data): New array.
8353         (iscanonical_test): New function.
8354         (main): Call iscanonical_test.
8355         * math/Makefile (headers): Add bits/iscanonical.h.
8356         (type-ldouble-routines): Add s_iscanonicall.
8357         * manual/arith.texi (Floating Point Classes): Document
8358         iscanonical.
8359         * manual/libm-err-tab.pl: Update comment on interfaces without
8360         ulps tabulated.
8361         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8362         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8363         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8364         Likewise.
8365         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8366         test-iscanonical-ldbl-128ibm.
8367         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8368         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8369         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8370         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8371         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8372         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8375         Likewise.
8376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8377         Likewise.
8378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8379         Likewise.
8380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8381         Likewise.
8382         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8383         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8385 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8387         * string/bits/string3.h: Remove C++ style comments.
8389 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8391         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8392         instead of ternary condition.
8393         (do_sincos_2): Likewise.
8394         (__sin): Likewise.
8395         (__cos): Likewise.
8396         (slow): Likewise.
8397         (sloww): Likewise.
8398         (sloww1): Likewise.
8399         (bsloww): Likewise.
8400         (bsloww1): Likewise.
8402         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8403         instead of ternary condition.
8404         (do_sin_slow): Likewise.
8405         (do_sincos_1): Likewise.
8406         (do_sincos_2): Likewise.
8407         (__cos): Likewise.
8408         (sloww): Likewise.
8409         (sloww1): Likewise.
8410         (sloww2): Likewise.
8411         (bsloww): Likewise.
8412         (bsloww1): Likewise.
8413         (bsloww2): Likewise.
8415         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8416         check from here...
8417         (slow2): ... and here...
8418         (__sin): ... to here.
8420 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8422         * math/math.h
8423         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8424         Cast argument to its own type.
8425         * math/test-iszero-excess-precision.c: New file.
8426         * math/Makefile (tests): Add test-iszero-excess-precision.
8427         (CFLAGS-test-iszero-excess-precision.c): New variable.
8429 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8431         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8432         field, add err field.
8433         (__spawni_child): Report error through err member instead of pipe.
8434         (__spawnix): Likewise.
8436 2016-09-28  Zack Weinberg  <zackw@panix.com>
8438         * scripts/check-installed-headers.sh: Generalize treatment of
8439         sys/elf.h to all target architectures.
8441         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8442         deleted typedef ucontext_t.
8444 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8446         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8447         (__INTERNAL_SYSCALL1): Likewise.
8448         (__INTERNAL_SYSCALL2): Likewise.
8449         (__INTERNAL_SYSCALL3): Likewise.
8450         (__INTERNAL_SYSCALL4): Likewise.
8451         (__INTERNAL_SYSCALL5): Likewise.
8452         (__INTERNAL_SYSCALL6): Likewise.
8453         (__INTERNAL_SYSCALL7): Likewise.
8454         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8455         (__INTERNAL_SYSCALL_NARGS): Likewise.
8456         (__INTERNAL_SYSCALL_DISP): Likewise.
8457         (INTERNAL_SYSCALL_CALL): Likewise.
8458         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8459         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8460         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8461         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8462         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8463         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8464         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8465         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8466         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8467         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8468         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8469         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8470         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8472 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8474         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8475         macro.
8476         * math/libm-test.inc (iszero_test_data): New array.
8477         (iszero_test): New function.
8478         (main): Call iszero_test.
8479         * manual/arith.texi (Floating Point Classes): Document iszero.
8480         * manual/libm-err-tab.pl: Update comment on interfaces without
8481         ulps tabulated.
8483 2016-09-23  Zack Weinberg  <zackw@panix.com>
8485         * scripts/check-installed-headers.sh: New script.
8486         * Rules: In each directory that defines header files to be installed,
8487         run check-installed-headers.sh on them as a special test.
8488         * Makefile: Likewise for the headers installed at top level.
8490         * include/aliases.h, include/alloca.h, include/argz.h
8491         * include/arpa/nameser.h, include/arpa/nameser_compat.h
8492         * include/elf.h, include/envz.h, include/err.h
8493         * include/execinfo.h, include/fpu_control.h, include/getopt.h
8494         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
8495         * include/link.h, include/malloc.h, include/mcheck.h
8496         * include/mntent.h, include/netinet/ether.h
8497         * include/nss.h, include/obstack.h, include/printf.h
8498         * include/pty.h, include/resolv.h, include/rpc/auth.h
8499         * include/rpc/auth_des.h, include/rpc/auth_unix.h
8500         * include/rpc/clnt.h, include/rpc/des_crypt.h
8501         * include/rpc/key_prot.h, include/rpc/netdb.h
8502         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
8503         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
8504         * include/rpc/rpc_msg.h, include/rpc/svc.h
8505         * include/rpc/svc_auth.h, include/rpc/xdr.h
8506         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
8507         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
8508         * include/rpcsvc/ypupd.h, include/shadow.h
8509         * include/stdio_ext.h, include/sys/epoll.h
8510         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
8511         * include/sys/prctl.h, include/sys/profil.h
8512         * include/sys/statfs.h, include/sys/sysctl.h
8513         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
8514         * sysdeps/arm/nacl/include/bits/setjmp.h
8515         * sysdeps/mips/include/sys/asm.h
8516         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
8517         * sysdeps/unix/sysv/linux/include/sys/timex.h
8518         * sysdeps/x86/fpu/include/bits/fenv.h:
8519         Add #ifndef _ISOMAC guard around internal declarations.
8520         Add multiple-inclusion guard if not already present.
8522 2016-09-23  Zack Weinberg  <zackw@panix.com>
8524         * sysdeps/generic/sys/ucontext.h
8525         * sysdeps/arm/sys/ucontext.h
8526         * sysdeps/i386/sys/ucontext.h
8527         * sysdeps/m68k/sys/ucontext.h
8528         * sysdeps/mips/sys/ucontext.h
8529         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
8530         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
8531         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
8532         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
8533         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
8534         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
8535         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
8536         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
8537         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
8538         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
8539         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
8540         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
8541         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
8542         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
8543         Include both bits/sigcontext.h and bits/sigstack.h.
8544         Fix grammar error in comment, if present.
8546         * bits/sigstack.h
8547         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
8548         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
8549         * sysdeps/unix/sysv/linux/bits/sigstack.h
8550         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
8551         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
8552         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
8553         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
8554         * bits/sigcontext.h
8555         * sysdeps/mach/hurd/i386/bits/sigcontext.h
8556         * sysdeps/unix/sysv/linux/bits/sigcontext.h
8557         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
8558         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
8559         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
8560         as well as signal.h, if this was not already allowed.  Request
8561         definition of size_t if necessary.  Minimize semantically-null
8562         differences across files.
8564 2016-09-23  Zack Weinberg  <zackw@panix.com>
8566         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
8567         Remove all logic conditional on __need macros.  Move all the
8568         conditionally defined types to their own headers...
8569         * time/bits/types/clock_t.h: Define clock_t here.
8570         * time/bits/types/clockid_t.h: Define clockid_t here.
8571         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
8572         * time/bits/types/struct_timespec.h: Define struct timespec here.
8573         * time/bits/types/struct_timeval.h: Define struct timeval here.
8574         * time/bits/types/struct_tm.h: Define struct tm here.
8575         * time/bits/types/time_t.h: Define time_t here.
8576         * time/bits/types/timer_t.h: Define timer_t here.
8577         * time/Makefile: Install the new headers.
8579         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
8580         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
8581         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
8582         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
8583         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
8584         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
8585         * sysdeps/unix/sysv/linux/bits/resource.h
8586         * sysdeps/unix/sysv/linux/bits/timex.h
8587         * sysdeps/unix/sysv/linux/mips/bits/resource.h
8588         * sysdeps/unix/sysv/linux/net/ppp_defs.h
8589         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
8590         * sysdeps/unix/sysv/linux/sys/acct.h
8591         * sysdeps/unix/sysv/linux/sys/timerfd.h
8592         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
8593         * time/sys/time.h, time/sys/timeb.h
8594         Use the new bits/types headers.
8596         * include/time.h: Remove __need logic.
8597         * include/bits/time.h
8598         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
8599         * include/bits/types/time_t.h, include/bits/types/timer_t.h
8600         * include/bits/types/struct_itimerspec.h
8601         * include/bits/types/struct_timespec.h
8602         * include/bits/types/struct_timeval.h
8603         * include/bits/types/struct_tm.h:
8604         New wrapper headers.
8606 2016-09-23  Zack Weinberg  <zackw@panix.com>
8608         * sysdeps/mach/hurd/net/if_ppp.h
8609         * sysdeps/unix/sysv/linux/net/if_ppp.h:
8610         Only define struct ifpppstatsreq and struct ifpppcstatsreq
8611         if __USE_MISC is defined, to ensure struct ifreq is declared.
8613         * inet/netinet/ether.h: Condition all function prototypes
8614         on __USE_MISC, to ensure struct ether_addr is declared.
8616         * socket/bits/types/struct_osockaddr.h: New header.
8617         * include/bits/types/struct_osockaddr.h: New wrapper.
8618         * socket/Makefile: Install the new header.
8619         * socket/sys/socket.h, inet/protocols/talkd.h:
8620         Refer to bits/types/struct_osockaddr.h for the definition of
8621         struct osockaddr.
8623 2016-09-23  Zack Weinberg  <zackw@panix.com>
8625         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
8626         * inet/protocols/routed.h, inet/protocols/talkd.h
8627         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
8628         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
8629         * sysdeps/generic/netinet/if_ether.h
8630         * sysdeps/generic/netinet/in_systm.h
8631         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
8632         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8633         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
8634         * sysdeps/mach/hurd/net/if_arp.h
8635         * sysdeps/mach/hurd/net/if_ppp.h
8636         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
8637         * sysdeps/unix/sysv/linux/bits/in.h
8638         * sysdeps/unix/sysv/linux/net/ethernet.h
8639         * sysdeps/unix/sysv/linux/net/if_arp.h
8640         * sysdeps/unix/sysv/linux/net/if_ppp.h
8641         * sysdeps/unix/sysv/linux/net/if_shaper.h
8642         * sysdeps/unix/sysv/linux/net/route.h
8643         * sysdeps/unix/sysv/linux/netinet/if_ether.h
8644         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8645         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8646         * sysdeps/unix/sysv/linux/netipx/ipx.h
8647         * sysdeps/unix/sysv/linux/sys/acct.h
8648         * include/arpa/nameser.h, include/resolv.h:
8649         Change all uses of u_char to unsigned char,
8650         u_short and ushort to unsigned short, u_int and uint to unsigned int,
8651         u_long and ulong to unsigned long, u_int8_t to uint8_t,
8652         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
8653         and u_int64_t and u_quad_t to uint64_t.
8655         * mach/sys/reboot.h: Remove two casts of integer literals
8656         to the types they already have.
8658         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8659         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8660         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8661         from referring to 'unsigned char' to 'uint8_t' for consistency with
8662         the macro definition below.
8664         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8665         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8666         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8667         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8668         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8669         * sysdeps/unix/sysv/linux/sys/acct.h
8670         * include/arpa/nameser.h, include/resolv.h:
8671         Fix indentation disrupted by mechanical edits.
8673         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8674         * sysdeps/generic/netinet/in_systm.h
8675         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8676         * sysdeps/gnu/netinet/udp.h
8677         * sysdeps/unix/sysv/linux/net/ethernet.h
8678         * sysdeps/unix/sysv/linux/net/if_arp.h
8679         * sysdeps/unix/sysv/linux/net/if_ppp.h
8680         * sysdeps/unix/sysv/linux/net/if_shaper.h
8681         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8682         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8683         * sysdeps/unix/sysv/linux/netipx/ipx.h
8684         * sysdeps/unix/sysv/linux/sys/acct.h
8685         Include stdint.h for uintNN_t definitions.
8686         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8688 2016-09-23  Zack Weinberg  <zackw@panix.com>
8690         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8691         * sysdeps/unix/sysv/linux/netrose/rose.h:
8692         Include sys/socket.h and netax25/ax25.h.
8694         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8695         * resolv/arpa/nameser_compat.h:
8696         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8698         * sysdeps/unix/sysv/linux/sys/quota.h:
8699         Use __caddr_t instead of caddr_t.
8700         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8701         Use __clockid_t instead of clockid_t.
8703         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8705         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8706         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8707         expanding it.
8709         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8710         Define __glibc_c99_flexarr_available to 1 when the compiler
8711         supports C99-compatible flexible array members, 0 otherwise.
8712         * sysdeps/unix/sysv/linux/bits/socket.h
8713         * sysdeps/mach/hurd/bits/socket.h
8714         * bits/socket.h: Use __glibc_c99_flexarr_available in
8715         definitions of struct cmsghdr and CMSG_DATA.
8717 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8719         * manual/nss.texi (NSS Modules Interface): Adjust function return
8720         type to enum nss_status.  Document errnop argument.  Clarify
8721         h_errnop semantics.  Fix cross-reference formatting.
8722         (NSS Module Function Internals): Mention that *errnop needs to be
8723         set on failure, but not to zero.
8725 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8727         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8728         (get_random_name): New functions.
8729         (check_wrapper_flags_mode): Use linkat to give the new file a name
8730         determined by get_random_name.
8731         (do_test): Add calls to test open64 and openat64.
8733 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8735         * test-skeleton.c: Remove #include <stdarg.h>.
8737 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8739         [BZ #19826]
8740         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8741         initialization of static TLS entries.
8742         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8743         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8745 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8747         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8748         _hurd_malloc_fork_prepare.
8749         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8750         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8751         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8752         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8753         (_hurd_fork_child_hook): Drop malloc_fork_child.
8754         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8755         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8756         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8757         after locking locks (notably hurd_dtable_lock). Call
8758         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8759         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8760         __malloc_fork_unlock_child.
8761         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8763 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8765         * soft-fp/extendhftf2.c: New.
8766         * soft-fp/fixhfti.c: Likewise.
8767         * soft-fp/fixunshfti.c: Likewise.
8768         * soft-fp/floattihf.c: Likewise.
8769         * soft-fp/floatuntihf.c: Likewise.
8770         * soft-fp/half.h: Likewise.
8771         * soft-fp/trunctfhf2.c: Likewise.
8773 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8775         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8776         macro.
8777         * math/libm-test.inc (issubnormal_test_data): New array.
8778         (issubnormal_test): New function.
8779         * manual/arith.texi (Floating Point Classes): Document
8780         issubnormal.
8781         * manual/libm-err-tab.pl: Update comment on interfaces without
8782         ulps tabulated.
8784         * sysdeps/generic/stdint.h: Define
8785         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8786         <bits/libc-header-start.h> instead of including <features.h>.
8787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8820         * manual/arith.texi (Integers): Document these macros for types
8821         specified by width properties.
8822         * manual/lang.texi (Width of Type): Document these macros for
8823         other standard typedefs.
8824         * stdlib/tst-width-stdint.c: New file.
8825         * stdlib/Makefile (tests): Add tst-width-stdint.
8827 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8829         [BZ #20016]
8830         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8831         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8832         Move ...
8833         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8834         ... here, as compatibility symbols in a new file.
8835         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8836         * resolv/res_init.c (__res_vinit): Adjust member names.
8837         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8838         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8839         (res_send_rhook): Remove.
8840         (struct __res_state): Rename qhook, rhook members.
8842 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8844         malloc: Use __libc_lock wrappers.
8845         * malloc/arena.c (list_lock, free_list_lock): Define using
8846         __libc_lock_define_initialized.
8847         (arena_lock): Adjust formatting.
8848         * malloc/malloc.c (struct malloc_state): Define mutex using
8849         __libc_lock_define.
8850         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8851         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8852         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8853         (mutex_unlock, mutex_trylock): Remove.
8854         (__pthread_initialize): Remove unused macro.
8855         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8856         (mutex_unlock, mutex_trylock): Remove.
8858 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8860         [BZ #20592]
8861         Remove RR type classification macros.
8862         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8863         (ns_t_udp_p, ns_t_xfr_p): Remove.
8865 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8867         Remove misleading version information.
8868         * resolv/arpa/nameser.h (__NAMESER): Remove.
8869         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8871 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8873         Remove the always-defined BIND_4_COMPAT macro.
8874         * resolv/arpa/nameser.h: Unconditionally include
8875         <arpa/nameser_compat.h>.
8876         (BIND_4_COMPAT): Remove.
8877         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8879 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8881         [BZ #20591]
8882         Remove obsolete DNSSEC support.
8883         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8884         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8885         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8886         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8887         (ns_cert_types): Add comment.
8888         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8889         separately.
8890         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8891         (dst_s_dns_key_id): Remove.
8892         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8893         variables.
8895 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8897         [BZ #20524]
8898         * manual/string.texi (String/Array Comparison): Clarify the
8899         strverscmp behavior.
8901 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8903         * test-skeleton.c (xasprintf): Add function.
8904         * io/tst-open-tmpfile.c: New test.
8905         * io/Makefile (tests): Add it.
8907 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8909         Avoid running $(CXX) during build to obtain header file paths.
8910         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8911         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8912         * Makerules (cstdlib, cmath): Remove variables.  Use
8913         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8914         * configure: Regenerate.
8916 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8918         * Makeconfig (all-object-suffixes): Include .op only if
8919         $(build-profile).
8921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8923         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8924         conditionals.  Do not define PATH_MAX.
8926 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8928         * posix/Makefile (tests): Add tst-spawn3.
8929         * posix/tst-spawn3.c: New file.
8930         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8931         if it is already opened for open action.
8933         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8934         all signals when executing the clone vfork child.
8935         (SIGALL_SET): Remove macro.
8937         * nptl/Makefile (tests): Add tst-exec5.
8938         * nptl/tst-exec5.c: New file.
8939         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8940         asynchronous cancellation.
8942 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8944         * hurd/exc2signal.c: #include <hurd/signal.h>
8945         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8946         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8947         accordingly.
8948         * mach/mach_error.c (mach_error): Fix old-style function definition.
8949         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8951 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8953         * math/Makefile (libm-calls): Remove s_nanF.
8954         (gen-libm-calls): Add s_nanF.
8956         * math/s_nan.c: Refactor into ...
8957         * math/s_nan_template.c: New file.
8959         * math/s_nanf.c: Removed.
8960         * math/s_nanl.c: Removed.
8961         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8962         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8964         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8965         (LDOUBLE_nanl_libm_version): New macro.
8967         * sysdeps/generic/math-type-macros-double.h:
8968         (M_STRTO_NAN): New macro.
8969         * sysdeps/generic/math-type-macros-float.h: Likewise.
8970         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8972         * sysdeps/generic/math-type-macros.h: Document
8973         M_STRTO_NAN.
8975 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8977         * math/s_nanf.c: Remove __nanf undef.
8978         * math/s_nan.c: Remove __nan undef.
8979         * math/s_nanl.c: Remove __nanl undef.
8981         * sysdeps/generic/math_private.h (__nan): Remove macro
8982         override.
8983         (__nanf): Likewise.
8984         (__nanl): Likewise.
8986 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8988         * math/Makefile (gen-all-calls): New variable.
8989         (generated): Replace gen-libm-calls with gen-all-calls.
8990         (gen-libm-templates.stmp): Likewise.  Also, ensure
8991         the output directory exists or is created and add
8992         dependency on the Makefile.
8993         (calls): Move s_ldexpF into gen-calls.
8994         (gen-calls): New variable.
8996         * math/s_ldexpf.c: Removed.
8997         * math/s_ldexpl.c: Removed.
8998         * math/s_ldexp.c: Refactored into ...
8999         * math/s_ldexp_template.c: New file.
9001         * sysdeps/generic/math-type-macros-double.h: Remove
9002         redundant fall-through definition of declare_mgen_alias.
9003         (declare_mgen_alias_2): New macro.
9005         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9006         New macro for function aliased to two exported symbols.
9008         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9009         new template file.
9010         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9012 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9014         * Makeconfig (all-object-suffixes): Remove .og.
9015         * Makerules (elide-routines.og): Remove.
9016         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9017         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9018         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9020 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9022         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9023         .os objects.
9025 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9027         [BZ #20615]
9028         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9029         fpu directory by non-fpu.
9030         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9031         on non-fpu directory from a fpu directory.
9033 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9035         * include/limits.h: Define
9036         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9037         <bits/libc-header-start.h> instead of including <features.h>.
9038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9049         * manual/lang.texi (Width of Type): Document these macros.
9050         * stdlib/tst-width.c: New file.
9051         * stdlib/Makefile (tests): Add tst-width.
9053 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9055         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9056         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9058 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9060         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9061         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9062         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9064 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9066         [BZ #18243]
9067         * rt/Makefile (test): Add tst-shm-cancel.
9068         * rt/tst-shm-cancel.c: New file.
9069         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9071         [BZ #18243]
9072         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9073         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9074         definition.
9075         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9076         uncontended case.
9077         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9078         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9079         (tf): Fix check for uncontended case.
9080         (do_test): Likewise.
9081         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9082         (tf): Fix check for uncontended case.
9083         (do_test): Likewise.
9084         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9085         (tf): Fix check for uncontended case.
9086         (do_test): Likewise.
9087         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9088         (tf): Fix check for uncontended case.
9089         (do_test): Likewise.
9091         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9092         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9094         [BZ #15765]
9095         * nptl/Makefile (tests): Add tst-sem16.
9096         * nptl/tst-sem16.c: New file.
9097         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9099         * nptl/sem_open.c (sem_open): Init pad value to 0.
9100         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9101         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9103 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9105         [BZ #20611]
9106         * inet/Makefile (routines): Add inet6_scopeid_pton.
9107         (tests): Add tst-inet6_scopeid_pton.
9108         * inet/inet6_scopeid_pton.c: New file.
9109         * inet/net-internal.h: Likewise.
9110         * inet/tst-inet6_scopeid_pton.c: New test.
9111         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9112         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9115 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9117         Remove support for compiling wrappers with PTW.
9118         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9119         * nptl/Makefile (pthread-compat-wrappers): Define.
9120         (libpthread-routines): Use pthread-compat-wrappers.
9121         * sysdeps/unix/sysv/linux/alpha/Makefile
9122         (libpthread-routines, libpthread-shared-only-routines): Remove
9123         ptw- prefix.
9124         * sysdeps/s390/nptl/Makefile
9125         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9126         * sysdeps/ia64/nptl/Makefile
9127         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9128         * sysdeps/nacl/Makefile (libpthread-routines): Use
9129         pthread-compat-wrappers to filter the routines list instead of the
9130         ptw- prefix.
9132 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9134         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9135         with L() and remove explicit suffix, convert real literals
9136         which can be equivalentally substituted with integers, and
9137         transform -L(x) to L(-x).
9139         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9140         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9141         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9142         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9143         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9144         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9145         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9146         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9147         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9148         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9152         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9153         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9154         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9155         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9156         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9157         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9158         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9159         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9160         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9161         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9162         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9163         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9164         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9165         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9166         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9167         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9169         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9170         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9171         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9172         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9173         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9174         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9175         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9176         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9177         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9178         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9179         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9180         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9181         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9182         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9183         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9184         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9185         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9186         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9187         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9188         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9190 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9192         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9194 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9196         * malloc/Makefile (tests): Remove individual static test names
9197         and just add all of tests-static.
9199         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9201 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9203         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9204         file.
9206         * sysdeps/sparc/fpu/fegetmode.c: New file.
9207         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9209         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9210         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9212         * sysdeps/s390/fpu/fegetmode.c: New file.
9213         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9215         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9216         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9217         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9218         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9219         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9220         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9222         * sysdeps/mips/fpu/fegetmode.c: New file.
9223         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9225         * sysdeps/m68k/fpu/fegetmode.c: New file.
9226         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9228         * sysdeps/ia64/fpu/fegetmode.c: New file.
9229         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9231         * sysdeps/hppa/fpu/fegetmode.c: New file.
9232         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9234         * sysdeps/arm/fegetmode.c: New file.
9235         * sysdeps/arm/fesetmode.c: Likewise.
9237         * sysdeps/alpha/fpu/fegetmode.c: New file.
9238         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9240         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9241         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9243         * math/fegetmode.c: New file.
9244         * math/fesetmode.c: Likewise.
9245         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9246         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9247         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9248         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9249         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9251         declaration.
9252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9253         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9254         typedef.
9255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9256         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9257         (femode_t): New typedef.
9258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9259         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9260         (femode_t): New typedef.
9261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9262         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9263         (femode_t): New typedef.
9264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9265         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9266         (femode_t): New typedef.
9267         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9268         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9269         (femode_t): New typedef.
9270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9271         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9272         (femode_t): New typedef.
9273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9274         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9275         (femode_t): New typedef.
9276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9277         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9278         (femode_t): New typedef.
9279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9280         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9281         (femode_t): New typedef.
9282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9283         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9284         (femode_t): New typedef.
9285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9286         declaration.
9287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9288         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9289         (femode_t): New typedef.
9290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9291         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9292         (femode_t): New typedef.
9293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9294         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9295         (femode_t): New typedef.
9296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9297         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9298         (femode_t): New typedef.
9299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9300         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9301         (femode_t): New typedef.
9302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9303         * manual/arith.texi (FE_DFL_MODE): Document macro.
9304         (fegetmode): Document function.
9305         (fesetmode): Likewise.
9306         * math/Versions (fegetmode): New libm symbol at version
9307         GLIBC_2.25.
9308         (fesetmode): Likewise.
9309         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9310         (tests): Add test-femode and test-femode-traps.
9311         * math/test-femode-traps.c: New file.
9312         * math/test-femode.c: Likewise.
9313         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9314         alias for __fe_dfl_env.
9315         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9316         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9317         (__fe_dfl_mode): Likewise.
9318         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9319         version GLIBC_2.25.
9320         * sysdeps/nacl/libm.abilist: Update.
9321         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9322         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9323         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9324         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9325         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9326         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9327         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9328         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9329         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9330         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9331         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9332         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9334         Likewise.
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9336         Likewise.
9337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9338         Likewise.
9339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9340         Likewise.
9341         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9342         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9343         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9344         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9345         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9347         Likewise.
9348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9349         Likewise.
9350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9351         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9354 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9356         [BZ #20495]
9357         [BZ #20508]
9358         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9359         processors, set Use_dl_runtime_resolve_slow and set
9360         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9361         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9362         New.
9363         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9364         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9365         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9366         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9367         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9368         if Use_dl_runtime_resolve_opt is set.  Use
9369         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9370         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9371         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9372         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9373         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9374         New.
9375         (_dl_runtime_resolve_opt): Likewise.
9376         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9377         defined.
9379 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9381         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9382         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9384 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9386         Convert malloc to __libc_lock.  Automated part, using this Perl
9387         s/// command:
9388           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9389             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9390         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9391         conversion.
9393 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9395         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9396         (linknamespace-symlists-tests): Likewise.
9397         (linknamespace-header-tests): Likewise.
9399 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9401         [BZ #19810]
9402         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9403         * elf/tst-noload.c: New test case.
9404         * elf/Makefile (tests): Add tst-noload.
9406 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9408         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9410         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9411         not any more.
9413         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9415 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9417         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9418         (do_cos_slow): Likewise.
9419         (do_sin): Likewise.
9420         (do_sin_slow): Likewise.
9421         (slow): Likewise.
9422         (slow1): Likewise.
9423         (slow2): Likewise.
9424         (sloww): Likewise.
9425         (sloww1): Likewise.
9426         (sloww2): Likewise.
9427         (bsloww): Likewise.
9428         (bsloww1): Likewise.
9429         (bsloww2): Likewise.
9430         (cslow2): Likewise.
9432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9434         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9435         arguments.  Consolidate input partitioning from callers here.
9436         (do_cos_slow): Likewise.
9437         (do_sin): Likewise.
9438         (do_sin_slow): Likewise.
9439         (do_sincos_1): Remove the no longer necessary input partitioning.
9440         (do_sincos_2): Likewise.
9441         (__sin): Likewise.
9442         (__cos): Likewise.
9443         (slow1): Likewise.
9444         (slow2): Likewise.
9445         (sloww1): Likewise.
9446         (sloww2): Likewise.
9447         (bsloww1): Likewise.
9448         (bsloww2): Likewise.
9449         (cslow2): Likewise.
9451 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9453         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9454         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9455         outside of allocated array.
9457 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9459         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9460         instead of MB_CUR_MAX to avoid variable-length array.
9462 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9464         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9465         (type-double-routines): Add k_rem_pio2.
9466         (type-float-routines): Add k_rem_pio2f.
9468         * sysdeps/generic/math_private.h:
9469         (__kernel_rem_pio2l): Removed.
9471         * math/k_rem_pio2l.c: Removed.
9472         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9473         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9474         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9475         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9477 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9479         * math/Makefile (gen-libm-calls): Add s_fmin
9480         (libm-calls): Remove above.
9482         * math/s_fmin.c: Refactor into ...
9483         * math/s_fmin_template.c: New file.
9485         * math/s_fminf.c: Removed.
9486         * math/s_fminl.c: Removed.
9487         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9488         (LDOUBLE_fmin_libm_version): New macro.
9490         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
9491         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
9493 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9495         * math/Makefile: (gen-libm-calls): Add s_fmax.
9496         (libm-calls): Remove above.
9498         * math/s_fmax.c: Refactor into ...
9499         * math/s_fmax_template.c: New file.
9500         * math/s_fmaxf.c: Removed.
9501         * math/s_fmaxl.c: Removed.
9503         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9504         (LDOUBLE_fmaxl_libm_version): New macro.
9506         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
9507         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
9509         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
9510         s_fmin.c to pick the aarch64 version of the file.
9511         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
9512         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
9514 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9516         * math/Makefile: (gen-libm-calls): Add s_nextdown.
9517         (libm-calls): Remove above.
9519         * math/s_nextdown.c: Refactor into ...
9520         * math/s_nextdown_template.c: New file.
9521         * math/s_nextdownf.c: Removed.
9522         * math/s_nextdownl.c: Removed.
9524         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
9526 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9528         * math/Makefile (gen-libm-calls): Add s_fdim.
9529         (libm-calls): Move to above.
9531         * math/s_fdim.c: Renamed and refactored into to ...
9532         * math/s_fdim_template.c: New file.
9533         * math/s_fdiml.c: Removed.
9534         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
9535         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
9537         * sysdeps/generic/math-type-macros-double.h:
9538         (declare_mgen_alias): Don't declare if already declared.
9539         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
9540         Likewise.
9542         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9543         (declare_mgen_alias): Don't declare if already declared.
9544         (M_LIBM_NEED_COMPAT): Likewise.
9545         (declare_mgen_libm_compat): Likewise.
9546         (LDOUBLE_fdiml_libm_version): New macro.
9548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9549         Include math/s_fdim.c now that ldbl-opt version is not needed.
9550         (declare_mgen_alias): New macro to disable aliasing.
9552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
9553         (declare_mgen_alias): Likewise.
9554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
9555         (declare_mgen_alias): Likewise.
9556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
9557         (declare_mgen_alias): Likewise.
9558         (M_LIBM_NEED_COMPAT): Likewise.
9560 2016-09-01  Florian Weimer  <fweimer@redhat.com>
9562         [BZ #20525]
9563         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
9564         Include <linux/quota.h>.
9565         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
9566         and btodb.
9567         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
9568         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
9569         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
9570         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
9571         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
9572         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
9573         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
9574         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
9575         types.
9576         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
9577         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
9579 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9581         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
9582         (gammal_positive): Fix spacing.
9583         (__ieee754_gammal_r): Likewise.
9585 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9587         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
9588         (_Float128): Define as long double, always.
9589         (L): Apply long double type suffix, always.
9591         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
9592         _Float128, excepting comments.
9594         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9595         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9597         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9598         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9599         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9600         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9601         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9602         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9603         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
9604         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9605         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9608         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9609         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9610         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9611         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9612         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9613         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9614         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9615         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9616         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9620         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9622         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9623         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9624         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9626         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9629         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9630         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9631         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9636         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9638         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9640         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9642         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9644         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9647         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9648         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9649         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9650         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9660         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9664         _Float128, and include math_private.h.
9665         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9668         long double semantics.
9669         (_Float128): Likewise.
9670         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9671         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9672         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9673         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9675 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9677         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9678         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9679         * sysdeps/s390/configure: Regenerated.
9680         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9681         instruction for raising over-/underflow if z196 zarch is supported
9682         by default.
9683         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9685 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9687         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9688         it point to a dumb buffer for RPC to fill it.
9690 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9692         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9693         instead of if/else.
9694         (do_sin_slow): Likewise.
9695         (do_sincos_1): Use fabs instead of if/else.
9696         (do_sincos_2): Likewise.
9697         (__sin): Likewise.
9698         (__cos): Likewise.
9699         (slow2): Likewise.
9700         (sloww): Likewise.
9701         (sloww1): Likewise.  Drop argument M.
9702         (sloww2): Use fabs instead of if/else.
9703         (bsloww): Likewise.
9704         (bsloww1): Likewise.
9705         (bsloww2): Likewise.
9707         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9708         fall through comment.
9709         (do_sincos_1): Likewise.
9711         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9712         Consolidate switch cases 0 and 2.
9714 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9716         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9717         (libm-calls): Remove the above.
9719         * math/s_cexp_template.c: Update using type-generic macros.
9720         * math/s_clog10_template.c: Likewise.
9721         * math/s_cpow_template.c: Likewise.
9722         * math/s_clog_template.c: Likewise.
9723         * math/s_cproj_template.c: Likewise.
9724         * math/s_csqrt_template.c: Likewise.
9726         * math/s_cexp.c: Removed.
9727         * math/s_cexpf.c: Removed.
9728         * math/s_cexpl.c: Removed.
9729         * math/s_clog10.c: Removed.
9730         * math/s_clog10f.c: Removed.
9731         * math/s_clog10l.c: Removed.
9732         * math/s_cpow.c: Removed.
9733         * math/s_cpowf.c: Removed.
9734         * math/s_cpowl.c: Removed.
9735         * math/s_clog.c: Removed.
9736         * math/s_clogf.c: Removed.
9737         * math/s_clogl.c: Removed.
9738         * math/s_cproj.c: Removed.
9739         * math/s_cprojf.c: Removed.
9740         * math/s_cprojl.c: Removed.
9741         * math/s_csqrt.c: Removed.
9742         * math/s_csqrtf.c: Removed.
9743         * math/s_csqrtl.c: Removed.
9745         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9746         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9747         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9748         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9749         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9750         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9752         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9753         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9754         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9755         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9756         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9757         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9758         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9759         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9760         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9761         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9762         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9764         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9765         version.
9767         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9768         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9769         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9770         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9772 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9774         * s_cexp_template.c: Copy of s_cexp.c.
9775         * s_clog_template.c: Copy of s_clog.c.
9776         * s_clog10_template.c: Copy of s_clog10.c.
9777         * s_cpow_template.c: Copy of s_cpow.c.
9778         * s_cproj_template.c: Copy of s_cproj.c.
9779         * s_csqrt_template.c: Copy of s_csqrt.c.
9781 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9783         [BZ #20517]
9784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9785         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9786         exported.
9788 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9790         * math/fetestexceptflag.c: New file.
9791         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9792         Stefan Liebler.
9793         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9794         (fetestexceptflag): New function declaration.
9795         * manual/arith.texi (fetestexceptflag): Document function.
9796         * math/Versions (fetestexceptflag): New libm symbol at version
9797         GLIBC_2.25.
9798         * math/Makefile (libm-support): Add fetestexceptflag.
9799         (tests): Add test-fetestexceptflag.
9800         * math/test-fetestexceptflag.c: New file.
9801         * sysdeps/nacl/libm.abilist: Update.
9802         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9805         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9808         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9815         Likewise.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9817         Likewise.
9818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9819         Likewise.
9820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9821         Likewise.
9822         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9823         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9824         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9825         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9826         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9828         Likewise.
9829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9830         Likewise.
9831         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9832         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9833         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9835 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9837         [BZ #20432]
9838         Avoid strong references to malloc-internal symbols when linking
9839         statically, to support statically interposed mallocs.
9840         * include/libc-symbols.h (call_function_static_weak): New macro.
9841         * malloc/Makefile (tests): Add tst-interpose-nothread,
9842         tst-interpose-thread, tst-interpose-static-nothread,
9843         tst-interpose-static-thread.
9844         (tests-static): Add tst-interpose-static-nothread,
9845         tst-interpose-static-thread.
9846         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9847         tst-interpose-aux-thread.o.
9848         (test-extras): Add tst-interpose-aux-nothread,
9849         tst-interpose-aux-thread.
9850         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9851         tst-interpose-aux-nothread.o.
9852         (tst-interpose-thread, tst-interpose-static-thread): Link with
9853         tst-interpose-aux-thread.o and libthread.
9854         * malloc/tst-interpose-aux-nothread.c: New file.
9855         * malloc/tst-interpose-aux-thread.c: Likewise.
9856         * malloc/tst-interpose-aux.c: Likewise.
9857         * malloc/tst-interpose-aux.h: Likewise.
9858         * malloc/tst-interpose-nothread.c: Likewise.
9859         * malloc/tst-interpose-skeleton.c: Likewise.
9860         * malloc/tst-interpose-static-nothread.c: Likewise.
9861         * malloc/tst-interpose-static-thread.c: Likewise.
9862         * malloc/tst-interpose-thread.c: Likewise.
9863         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9864         * sysdeps/mach/hurd/fork.c (__fork): Only call
9865         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9866         __malloc_fork_unlock_child if defined.
9867         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9869 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9871         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9872         timespec C99 designated initialization.
9874 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9876         [BZ #19946]
9877         Avoid expected SIGALRM signals.
9878         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9879         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9880         (xpthread_create, xpthread_detach, xpthread_join)
9881         (delayed_exit_thread, delayed_exit): New functions.
9882         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9883         (tf): Use xpthread_cond_wait.
9884         (do_test): Likewise.  Replace alarm with delayed_exit.
9885         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9886         (do_test): Call delayed_exit.  Report failure.
9887         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9888         (do_test): Call delayed_exit.
9889         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9890         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9891         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9892         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9893         error.
9894         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9895         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9896         error.
9897         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9898         (do_test): Call delayed_exit.
9899         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9900         (do_test): Call delayed_exit.
9901         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9902         (do_test): Call delayed_exit instead of alarm.  Use
9903         xpthread_mutex_lock.
9904         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9905         (do_test): Call delayed_exit instead of alarm.  Use
9906         xpthread_mutex_lock.
9907         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9908         (do_test): Call delayed_exit instead of alarm.
9909         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9910         (do_test): Call delayed_exit instead of alarm.  Use
9911         xpthread_spin_lock.
9912         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9913         (do_test): Call delayed_exit instead of alarm.  Use
9914         xpthread_join.
9916 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9918         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9919         adjust CFA when allocating register save area on re-aligned
9920         stack.
9922 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9924         * string/tst-cmp.c: New test.
9925         * string/Makefile (tests): Add it.
9927 2016-08-25  Mark Wielaard  <mark@klomp.org>
9929         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9930         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9931         (check_tree_recurse): Use newly defined accessors.
9932         (check_tree): Likewise.
9933         (maybe_split_for_insert): Likewise.
9934         (__tfind): Likewise.
9935         (__tdelete): Likewise.
9936         (trecurse): Likewise.
9937         (tdestroy_recurse): Likewise.
9938         (__tsearch): Likewise. And add asserts for malloc alignment.
9939         (__twalk): Cast root to node in case CHECK_TREE is defined.
9941 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9943         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9945 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9947         * math/Makefile (libm-gen-calls): Add
9948         catan, catanh, ctan, ctanh.
9949         (libm-calls): Remove the above.
9951         * math/s_catan_template.c: Update using type-generic macros.
9952         * math/s_catanh_template.c: Likewise.
9953         * math/s_ctan_template.c: Likewise.
9954         * math/s_ctanh_template.c: Likewise.
9956         * math/s_catanf.c: Removed.
9957         * math/s_catan.c: Removed.
9958         * math/s_catanl.c: Removed.
9959         * math/s_catanhf.c: Removed.
9960         * math/s_catanh.c: Removed.
9961         * math/s_catanhl.c: Removed.
9962         * math/s_ctanf.c: Removed.
9963         * math/s_ctan.c: Removed.
9964         * math/s_ctanl.c: Removed.
9965         * math/s_ctanhf.c: Removed.
9966         * math/s_ctanh.c: Removed.
9967         * math/s_ctanhl.c: Removed.
9969         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9970         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9971         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9972         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9973         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9974         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9976         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9977         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9978         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9979         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9981 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9983         * s_catan_template.c: Copy of s_catan.c.
9984         * s_catanh_template.c: Copy of s_catanh.c.
9985         * s_ctan_template.c: Copy of s_ctan.c.
9986         * s_ctanh_template.c: Copy of s_ctanh.c.
9988 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9990         * math/Makefile (gen-libm-calls): Move
9991         casin, casinh, csin, csinh here.
9992         (libm-calls): Remove the above.
9994         * math/s_casin_template.c: Update using type-generic macros.
9995         * math/s_casinh_template.c: Likewise.
9996         * math/s_csin_template.c: Likewise.
9997         * math/s_csinh_template.c: Likewise.
9998         * math/k_casinh_template.c: Likewise.
10000         * math/s_casinf.c: Removed.
10001         * math/s_casin.c: Removed.
10002         * math/s_casinl.c: Removed.
10003         * math/s_casinh.c: Removed.
10004         * math/s_casinhf.c: Removed.
10005         * math/s_casinhl.c: Removed.
10006         * math/s_csin.c: Removed.
10007         * math/s_csinf.c: Removed.
10008         * math/s_csinl.c: Removed.
10009         * math/s_csinh.c: Removed.
10010         * math/s_csinhf.c: Removed.
10011         * math/s_csinhl.c: Removed.
10012         * math/k_casinh.c: Removed.
10013         * math/k_casinhf.c: Removed.
10014         * math/k_casinhl.c: Removed.
10016         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10017         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10018         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10019         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10021         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10022         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10023         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10024         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10025         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10026         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10027         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10028         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10030         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10031         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10032         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10033         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10035         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10036         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10037         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10038         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10040 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10042         * s_casin_template.c: Copy of s_casin.c.
10043         * s_casinh_template.c: Copy of s_casinh.c.
10044         * s_csin_template.c: Copy of s_csin.c.
10045         * s_csinh_template.c: Copy of s_csinh.c.
10046         * k_casinh_template.c: Copy of k_casinh.c.
10048 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10050         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10052 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10054         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10055         (mul_split) Remove, rename as mul_splitl, remove
10056         redundant float.h include, and include via mul_splitl.h
10058         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10060         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10061         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10062         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10064         * math/mul_splitl.h: New file.
10066         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10067         Move into mul_split.h, and remove redundant float.h include.
10069         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10070         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10071         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10072         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10074         * math/mul_split.h: New file.
10076 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10078         * math/Makefile (libm-gen-calls): Move
10079         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10080         (libm-calls): Remove above.
10082         * math/s_cacos_template.c: Update using type-generic macros.
10083         * math/s_cacosh_template.c: Likewise.
10084         * math/s_ccos_template.c: Likewise.
10085         * math/s_ccosh_template.c: Likewise.
10087         * math/s_cacosf.c: Removed.
10088         * math/s_cacos.c: Removed.
10089         * math/s_cacosl.c: Removed.
10090         * math/s_cacoshf.c: Removed.
10091         * math/s_cacosh.c: Removed.
10092         * math/s_cacoshl.c: Removed.
10093         * math/s_ccosf.c: Removed.
10094         * math/s_ccos.c: Removed.
10095         * math/s_ccosl.c: Removed.
10096         * math/s_ccoshf.c: Removed.
10097         * math/s_ccosh.c: Removed.
10098         * math/s_ccoshl.c: Removed.
10100         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10101         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10102         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10103         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10104         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10105         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10107         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10108         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10109         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10110         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10112         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10113         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10114         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10115         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10117 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10119         * s_cacos_template.c: Copy of s_cacos.c.
10120         * s_cacosh_template.c: Copy of s_cacosh.c.
10121         * s_ccos_template.c: Copy of s_ccos.c.
10122         * s_ccosh_template.c: Copy of s_ccosh.c.
10124 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10126         * stdlib/tst-strtod-round-skeleton.c:
10127         Refactored from tst-strtod-round.c.
10129         (L_): New macro to apply literal modifier.
10130         (FNPFX): New macro to select str or wcs prefix.
10131         (CHAR): New macro to choose wchar_t or char.
10132         (STRM): New macro to choose printf for tested character type.
10134         (STRTO): New macro to choose appropriate string -> real function.
10135         (FNPFXS): Stringitized version of FNPFX.
10136         (STR): Support for above macro.
10137         (STRX): Likewise.
10139         (TEST): Update with above macros.
10140         (test): Likewise.
10141         (GEN_ONE_TEST): Likewise.
10142         (test_in_one_mode): Likewise.
10144         * stdlib/tst-strtod-round.c: New file.
10145         * wcsmbs/tst-wcstod-round.c: New file.
10147         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10148         (tst-wcstod-round): Add libm depencency for fesetround.
10150 2016-08-19  Zack Weinberg  <zackw@panix.com>
10152         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10154 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10156         [BZ #20477]
10157         * resolv/res_hconf.c (do_init): Use atomic access.
10158         * resolv/res_hconf.h: Add comments.
10159         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10160         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10163 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10165         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10166         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10167         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10168         Likewise.
10170 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10172         [BZ #16907]
10173         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10174         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10175         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10176         (__attribute__): Remove definition.
10178 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10180         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10181         Remove unused sqrtl declaration.
10183 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10185         * math/Makefile: (gen-libm-templates.stmp): New rule.
10186         (libm-calls): Move carg conj cimag and cabs into ...
10187         (gen-libm-calls): New variable.
10188         (generated): Inform Make objects from gen-libm-calls
10189         may be generated.
10191         * sysdeps/generic/math-type-macros.h: New file.
10192         * sysdeps/generic/math-type-macros-float.h: Likewise.
10193         * sysdeps/generic/math-type-macros-double.h: Likewise.
10194         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10195         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10196         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10198         * math/cabs.c: Refactor into
10199         * math/cabs_template.c: new file.
10200         * math/cabsf.c: Removed.
10201         * math/cabsl.c: Removed.
10202         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10203         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10205         * math/carg.c: Refactor into
10206         * math/carg_template.c: new file.
10207         * math/cargf.c: Removed.
10208         * math/cargl.c: Removed.
10209         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10210         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10212         * math/conj.c: Refactor into
10213         * math/conj_template.c: new file.
10214         * math/conjf.c: Removed.
10215         * math/conjl.c: Removed.
10216         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10217         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10219         * math/cimag.c: Refactor into
10220         * math/cimag_template.c: new file.
10221         * math/cimagf.c: Removed.
10222         * math/cimagl.c: Removed.
10223         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10224         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10226         * math/cimag.c: Refactor into
10227         * math/cimag_template.c: new file.
10228         * math/cimagf.c: Removed.
10229         * math/cimagl.c: Removed.
10230         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10231         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10233 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10235         Reduce time to expected nptl/tst-once5 failure.
10236         * nptl/tst-once5.cc (TIMEOUT): Define.
10238 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10240         [BZ #20452]
10241         Avoid additional copies of objects in libc.a in static libraries.
10242         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10243         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10244         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10245         rt-sysdep.
10246         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10247         Add nptl-sysdep.
10248         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10249         Add ptw-sysdep.
10250         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10251         rt-sysdep.
10252         * sysdeps/unix/sysv/linux/alpha/Makefile
10253         (libpthread-shared-only-routines): Add ptw-sysdep,
10254         ptw-sigprocmask, ptw-rt_sigaction.
10255         * sysdeps/unix/sysv/linux/ia64/Makefile
10256         (librt-shared-only-routines): Add rt-sysdep.
10257         * sysdeps/unix/sysv/linux/i386/Makefile
10258         (libpthread-shared-only-routines): Add libc-do-syscall.
10259         * sysdeps/unix/sysv/linux/microblaze/Makefile
10260         (libpthread-shared-only-routines): Add sysdep.
10261         * sysdeps/unix/sysv/linux/powerpc/Makefile
10262         (librt-shared-only-routines): Add rt-sysdep.
10263         (libpthread-shared-only-routines): Add sysdep.
10264         * sysdeps/unix/sysv/linux/s390/Makefile
10265         (librt-shared-only-routines): Add rt-sysdep.
10266         * sysdeps/unix/sysv/linux/sparc/Makefile
10267         (librt-shared-only-routines): Add rt-sysdep.
10268         (libpthread-shared-only-routines): Add sysdep.
10269         * sysdeps/unix/sysv/linux/tile/Makefile
10270         (libpthread-shared-only-routines): Likewise.
10272 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10274         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10275         Mask implicit bit out of unpacked value.
10276         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10277         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10278         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10280         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10282         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10284         * sysdeps/s390/fpu/fesetexcept.c: New file.
10286         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10287         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10288         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10290         * sysdeps/mips/fpu/fesetexcept.c: New file.
10292         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10294         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10296         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10298         * sysdeps/arm/fesetexcept.c: New file.
10300         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10302         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10304         * math/fesetexcept.c: New file.
10305         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10306         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10307         * math/fenv.h: Define
10308         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10309         <bits/libc-header-start.h> instead of including <features.h>.
10310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10311         declaration.
10312         * manual/arith.texi (fesetexcept): Document function.
10313         * math/Versions (fesetexcept): New libm symbol at version
10314         GLIBC_2.25.
10315         * math/Makefile (libm-support): Add fesetexcept.
10316         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10317         * math/test-fesetexcept.c: New file.
10318         * math/test-fesetexcept-traps.c: Likewise.
10319         * sysdeps/nacl/libm.abilist: Update.
10320         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10333         Likewise.
10334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10335         Likewise.
10336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10337         Likewise.
10338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10339         Likewise.
10340         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10341         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10343         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10348         Likewise.
10349         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10353 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10355         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10356         New.
10357         (do_test): Apply default_stack_size_in_mb if not set.
10358         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10360 2016-08-15  Andreas Schwab  <schwab@suse.de>
10362         [BZ #20435]
10363         CVE-2016-6323
10364         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10365         as .cantunwind.
10367 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10369         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10370         comment from fraiseexcpt.c.
10372         * math/test-fexcept.c (feraiseexcept_exact): New function.
10373         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10374         (test_except): Likewise.
10376 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10378         [BZ #20455]
10379         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10380         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10381         to be restored.
10383         * math/test-fexcept-traps.c: New file.
10384         * math/test-fexcept.c: Likewise.
10385         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10386         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10387         macro.
10388         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10389         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10391 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10393         * include/atomic.h (atomic_fetch_and_relaxed,
10394         atomic_fetch_and_release, atomic_fetch_or_release,
10395         atomic_fetch_xor_release): New.
10397 2016-08-06  Christian Seiler  <christian@iwakd.de>
10399         [BZ #20444]
10400         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10401         MACH_PORT_NULL.
10403 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10405         * math/s_fdim.c: Avoid alias renamed.
10406         * math/s_fdimf.c: Likewise.
10407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10408         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10409         Add s_fdimf-vis3, s_fdim-vis3.
10410         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10411         (CFLAGS-s_fdim-vis3.c): Likewise.
10412         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10413         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10415 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10418         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10419         Remove s_fdimf-vis3, s_fdim-vis3.
10420         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10421         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10428         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10429         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10431 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10433         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10434         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10435         -Wa,-Av9a -mvis.
10437 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10439         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10440         LIT() to individual constants in simple expressions
10441         after splitting on spaces.
10442         (_apply_lit): Rename replaced version, and use it to
10443         apply to what appears to be a token.
10445         * math/libm-test.inc: Fix many, many issues with
10446         spacing.
10448 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10450         * math/math.h: Move comment about <bits/mathdef.h> definitions
10451         above inclusion of <bits/mathdef.h>.  Do not mention
10452         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10454 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10456         * include/atomic.h (atomic_exchange_relaxed): New.
10458 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10460         * math/e_scalb.c: Do not include <fenv.h>.
10461         (invalid_fn): Do calculation resulting in NaN instead of raising
10462         FE_INVALID and returning a NaN explicitly.
10463         * math/e_scalbf.c: Do not include <fenv.h>.
10464         (invalid_fn): Do calculation resulting in NaN instead of raising
10465         FE_INVALID and returning a NaN explicitly.
10466         * math/e_scalbl.c: Do not include <fenv.h>.
10467         (invalid_fn): Do calculation resulting in NaN instead of raising
10468         FE_INVALID and returning a NaN explicitly.
10470 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10472         * po/de.po: Updated from Translation Project.
10473         * po/fi.po: Likewise.
10474         * po/sv.po: Likewise.
10476 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10478         [BZ #20452]
10479         Use sysdep.o from libc.a in static libraries.
10480         * sysdeps/unix/sysv/linux/i386/Makefile
10481         (libpthread-shared-only-routines): Add sysdep.
10482         (librt-shared-only-routines): Likewise.
10484 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10486         * math/tgmath.h (nextdown): Define if
10487         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
10488         (nextup): Likewise.
10490         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
10491         macro.
10492         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10493         Document.
10494         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10495         Document macro.
10496         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10497         (exp10f): Likewise.
10498         (exp10l): Likewise.
10499         * math/bits/mathcalls.h (exp10): Declare if
10500         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10502         * manual/arith.texi (nextup): Fix typo in last change.
10504 2016-08-03  Zack Weinberg  <zackw@panix.com>
10506         [BZ #19239]
10507         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
10508         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10509         define major, minor, and makedev to issue deprecation warnings on use.
10510         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
10511         previously-activated deprecation warnings for these macros and prevent
10512         subsequent inclusions of this header from having any effect.
10513         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
10514         including <sys/sysmacros.h>, and undefine it again afterward.
10516 2016-08-03  Zack Weinberg  <zackw@panix.com>
10518         * sysdeps/generic/sys/sysmacros.h: Delete file.
10519         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
10520         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
10521         * bits/sysmacros.h: ... here; this encoding is now the generic
10522         encoding.  Now defines only the following macros:
10523         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
10524         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
10525         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
10527         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
10528         bits/sysmacros.h and the above new macros to generate the
10529         public implementations of major, minor, and makedev.
10530         * misc/tst-makedev.c: New test.
10531         * include/sys/sysmacros.h: New wrapper.
10533         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
10534         (routines): Add makedev.
10535         (tests): Add tst-makedev.
10536         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
10537         gnu_dev_makedev.
10538         * posix/Makefile (headers): Remove sys/sysmacros.h.
10539         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
10541         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
10542         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
10543         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10544         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10545         * sysdeps/unix/sysv/linux/arm/libc.abilist
10546         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10547         * sysdeps/unix/sysv/linux/i386/libc.abilist
10548         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10549         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10550         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10551         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10556         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10561         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10562         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10563         * sysdeps/unix/sysv/linux/sh/libc.abilist
10564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10565         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10568         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10569         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10570         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10571         Add GLIBC_2.25.
10573         * include/features.h (__glibc_clang_prereq): New macro.
10574         * misc/sys/cdefs.h (__glibc_clang_has_extension)
10575         (__attribute_deprecated_msg__): New macros.
10577 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10579         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
10580         macro.
10581         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
10582         * manual/arith.texi (issignaling): Document as ISO from TS
10583         18661-1:2014.
10584         (nextup): Likewise.
10585         (nextupf): Likewise.
10586         (nextupl): Likewise.
10587         (nextdown): Likewise.
10588         (nextdownf): Likewise.
10589         (nextdownl): Likewise.
10590         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
10591         macro.
10592         * math/math.h: Define
10593         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10594         <bits/libc-header-start.h> instead of including <features.h>.
10595         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
10596         [__USE_GNU].
10597         * math/bits/mathcalls.h (nextdown): Declare if
10598         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
10599         (nextup): Likewise.
10600         (__issignaling): Likewise.
10602 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10604         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
10605         check, and remove __glibc_likely hint
10606         from FP_INFINITE check.
10607         * s_csinhf.c (__csinhf): Likewise.
10609         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
10610         hint from FP_INFINITE check.
10611         * s_csinhl.c (__csinhl): Likewise.
10613 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10615         * math/Makefile (libm-calls): Insert F placeholder into
10616         object names.  Move w_lgamma_compat* routines into
10617         (libm-compat-calls): New variable.
10618         (libm-compat-calls-ldouble-yes): New variable.
10619         (calls): Insert F placeholder.
10620         (generated): Redefine using new type-foreach macro call.
10621         (routines): Likewise.
10623         (types): New variable to hold a list of symbolic names
10624         for each type supported by the target machine.
10625         (libm-routines): Redefine using new types variable.
10626         (type-foreach): macro to replace fooF with the
10627         appropriately suffixed foo for each types.
10629         (type-ldouble-suffix): New variable.
10630         (type-ldouble-routines): Likewise.
10631         (type-ldouble-yes): Likewise.
10632         (type-double-suffix): Likewise.
10633         (type-double-routines): Likewise.
10634         (type-float-suffix): Likewise.
10635         (type-float-routines): Likewise.
10637         (dbl-only-routines): Remove.
10638         (long-c-yes): Likewise.
10639         (long-m-routines): Likewise.
10640         (long-m-support): Likewise.
10641         (long-m-yes): Likewise.
10642         (test-longdouble-yes): Likewise.
10644         (test-float.o): Simplify by increasing the scope of the
10645         recipe which adds libm-test.stmp to the vector types.
10646         (test-ifloat.o): Likewise.
10647         (test-float-finite.o): Likewise.
10648         (test-double.o): Likewise
10649         (test-idouble.o): Likewise.
10650         (test-double-finite.o): Likewise.
10651         (test-ldouble.o): Likewise
10652         (test-ildoubl.o): Likewise.
10653         (test-ldouble-finite.o): Likewise.
10655         (libm-tests): Redefine type tests using foreach and the
10656         list of types in types.
10658         (CPPFLAGS-test-ildoubl.c): Rename to
10659         (CPPFLAGS-test-ildouble.c): New variable
10661         * math/test-ildoubl.c: Rename to
10662         * math/test-ildouble.c: New file.
10664 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10666         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10667         Use fabsl instead of fabs.
10668         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10669         Likewise.
10670         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10671         Add long double suffix to constant to ensure proper
10672         promotion to long double.
10674 2016-08-03  Tom Tromey  <tom@tromey.com>
10676         [BZ #20311]
10677         * nptl_db/Makefile (headers): Add proc_service.h.
10678         * nptl_db/proc_service.h: Add include guard.  Use
10679         __BEGIN/__END_DECLS.
10680         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10681         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10682         arguments.
10685 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10687         [BZ #17730]
10688         Avoid using memalign for TCB allocations.
10689         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10690         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10691         Avoid alignment gap in the TLS_DTV_AT_TP case.
10692         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10693         determine the pointer to free.
10694         * nptl/tst-tls3-malloc.c: New test.
10695         * nptl/Makefile (tests): Add it.
10696         (tst-tls3-malloc): Link with libdl, libpthread.
10697         (LDFLAGS-tst-tls3-malloc): Set.
10698         (tst-tls3-malloc.out): Depend on DSO used in test.
10700 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10702         [BZ #17730]
10703         Avoid using memalign for TLS allocations.
10704         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10705         is_static member with to_free member.
10706         (union dtv): Use struct dtv_pointer.
10707         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10708         dtv_pointer instead of is_static.
10709         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10710         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10711         instead of val.
10712         (allocate_dtv_entry): New function.
10713         (allocate_and_init): Return struct dtv_pointer.  Call
10714         allocate_dtv_entry instead of __libc_memalign.
10715         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10716         instead of val.
10717         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10718         instead of is_static.  Adjust call to allocate_and_init.
10719         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10720         struct dtv_pointer instead of val.
10722 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10724         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10725         (MALLOC_ALIGN_MASK): Move ...
10726         * malloc/malloc-internal.h: ... to here.
10727         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10729 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10731         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10732         (UDP_ENCAP_GTP1U): Likewise.
10734         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10735         (PF_MAX): Update value.
10736         (AF_QIPCRTR): New macro.
10738 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10740         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10741         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10742         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10743         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10744         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10745         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10746         s_truncf-vis3, s_trunc-vis3.
10747         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10748         (CFLAGS-s_ceil-vis3.c): Likewise.
10749         (CFLAGS-s_floorf-vis3.c): Likewise.
10750         (CFLAGS-s_floor-vis3.c): Likewise.
10751         (CFLAGS-s_truncf-vis3.c): Likewise.
10752         (CFLAGS-s_trunc-vis3.c): Likewise.
10753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10761         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10762         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10763         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10764         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10766 2016-08-02  David S. Miller  <davem@davemloft.net>
10768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10769         (__nearbyint_vis3): Don't check for sNaN before float register is
10770         loaded with the incoming argument.
10771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10772         (__nearbyintf_vis3): Likewise.
10773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10774         Likewise.
10775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10776         Likewise.
10778         * string/test-strncmp.c (do_test_limit): Make sure the test data
10779         stream is aligned as required for the type "CHAR".
10780         (do_test): Likewise.
10782 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10784         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10785         by beq instructions jumping to the end of the function.
10786         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10787         clobber list. Use "i" constraint instead of "X".
10788         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10789         of "X".
10791 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10793         * bits/libc-header-start.h: New file.
10794         * Makefile (headers): Add bits/libc-header-start.h.
10795         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10796         (__GLIBC_USE): New macro.
10797         * libio/stdio.h: Define
10798         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10799         <bits/libc-header-start.h> instead of including <features.h>.
10800         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10801         (open_memstream): Likewise.
10802         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10803         (__asprintf): Likewise.
10804         (asprintf): Likewise.
10805         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10806         (getdelim): Likewise.
10807         (getline): Likewise.
10808         * string/string.h: Define
10809         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10810         <bits/libc-header-start.h> instead of including <features.h>.
10811         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10812         (strndup): Likewise.
10813         * wcsmbs/wchar.h: Define
10814         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10815         <bits/libc-header-start.h> instead of including <features.h>.
10816         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10817         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10819 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10821         Support linking against compatibility symbols, for use in tests.
10822         * include/libc-symbols.h (symbol_version_reference): New macro.
10823         (symbol_version): Use it.
10824         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10825         (compat_symbol): Use compat_symbol_reference.
10826         (compat_symbol_1, compat_symbol_2): Remove.
10827         (compat_symbol_reference, compat_symbol_reference_1)
10828         (compat_symbol_reference_2): New macro.  Use
10829         symbol_version_reference.
10831 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10833         [BZ #19469]
10834         * malloc/Makefile (CPPFLAGS): Compile tests with
10835         -DTEST_NO_MALLOPT.
10836         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10838 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10840         [BZ #20033]
10841         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10842         finite version.
10843         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10844         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10845         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10846         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10847         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10850         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10852         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10853         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10857         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10859         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10860         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10861         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10862         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10863         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10864         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10865         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10866         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10867         in zero power.
10869 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10871         [BZ #20370]
10872         * malloc/arena.c (get_free_list): Update comment.  Assert that
10873         arenas on the free list have no attached threads.
10874         (remove_from_free_list): New function.
10875         (reused_arena): Call it.
10877 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10879         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10880         when it is a NaN.
10881         [_IEEE_FP_INEXACT] Remove.
10882         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10883         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10884         when it is a NaN.
10885         [_IEEE_FP_INEXACT] Remove.
10886         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10887         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10888         when it is a NaN.
10889         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10890         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10891         when its absolute value is greater than 0x1.0p52.
10892         [_IEEE_FP_INEXACT] Remove.
10893         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10894         when its absolute value is greater than 0x1.0p23.
10895         [_IEEE_FP_INEXACT] Remove.
10897 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10899         * version.h (RELEASE): Set to "development"
10900         (VERSION): Set to 2.24.90.
10901         * NEWS: Add 2.25 section.
10903         * version.h (RELEASE): Set to "stable"
10904         (VERSION): Set to 2.24.
10905         * include/features.h (__GLIBC_MINOR__): Set to 24.
10907         * NEWS: Add 2.24 fixed bugs.
10908         * po/libc.pot: Regenerate.
10910 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10913         [$(subdir) = math] (libm-sysdep_routines): Remove.
10914         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10915         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10916         s_truncf-vis3, s_trunc-vis3.
10917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10919         file.
10920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10953         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10954         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10955         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10956         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10957         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10958         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10959         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10960         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10961         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10962         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10964 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10966         [BZ #20384]
10967         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10968         test-double-libmvec-sincos-avx-main.o,
10969         test-double-libmvec-sincos-avx2-main.o,
10970         test-double-libmvec-sincos-main.o,
10971         test-float-libmvec-sincosf-avx-main.o,
10972         test-float-libmvec-sincosf-avx2-main.o and
10973         test-float-libmvec-sincosf-main.o.
10974         test-float-libmvec-sincosf-avx512-main.o.
10975         ($(objpfx)test-double-libmvec-sincos): Also link with
10976         $(objpfx)test-double-libmvec-sincos-main.o.
10977         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10978         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10979         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10980         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10981         ($(objpfx)test-float-libmvec-sincosf): Also link with
10982         $(objpfx)test-float-libmvec-sincosf-main.o.
10983         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10984         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10985         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10986         test-double-libmvec-sincos-avx512-main.o and
10987         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10988         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10989         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10990         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10991         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10992         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10993         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10994         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10995         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10996         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10997         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10998         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10999         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11000         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11001         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11002         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11003         -DREQUIRE_AVX2.
11004         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11005         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11006         -DREQUIRE_AVX512F.
11007         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11008         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11009         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11010         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11011         file.
11012         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11013         Likewise.
11014         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11015         Likewise.
11016         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11017         Likewise.
11018         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11019         Likewise.
11020         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11021         Likewise.
11022         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11023         Likewise.
11024         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11025         Likewise.
11027 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11029         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11031 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11033         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11034         and typo in a comment about AT_HWCAP entry.
11036 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11038         * sysdeps/aarch64/libm-test-ulps: Updated.
11040 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11042         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11043         of r13 as it is not restored in mvcle case.
11045 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11047         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11048         Rename "ret" to "__ret".
11049         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11050         inline_syscall5, inline_syscall6): Likewise.
11052 2016-07-19   Will Newton  <will.newton@gmail.com>
11054         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11055         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11056         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11057         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11058         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11060 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11062         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11063         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11064         -mfpmath=387 with $(rtld-CFLAGS).
11065         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11066         $(rtld-CFLAGS).
11068 2016-07-18   Ross Burton  <ross.burton@intel.com>
11069              Khem Raj  <raj.khem@gmail.com>
11071         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11072         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11073         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11074         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11075         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11076         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11077         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11078         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11079         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11080         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11081         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11082         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11083         R_METAG_TLS_DTPOFF): New.
11085 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11086             Matt Clay  <mclay@lycos.com>
11088         [BZ #20357]
11089         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11090         to call __mpsin/__mpcos and to negate values.
11091         * math/auto-libm-test-in: Add test.
11092         * math/auto-libm-test-out: Regenerate.
11094 2016-07-18  Zack Weinberg  <zackw@panix.com>
11096         * grp/Makefile: Don't install the internal header grp-merge.h.
11098 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11100         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11102 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11104         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11106 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11108         [BZ #15368]
11109         * sysdeps/unix/sysv/linux/nptl-signals.h
11110         (__nptl_clear_internal_signals): New function.
11111         (__libc_signal_block_all): Likewise.
11112         (__libc_signal_block_app): Likewise.
11113         (__libc_signal_restore_set): Likewise.
11114         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11115         implementation.
11116         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11117         the cached pid/tid value in pthread structure.
11119 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11121         [BZ #20347]
11122         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11124 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11126         [BZ #20348]
11127         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11128         preadv64, pwrite64 and pwritev64.
11130 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11132         [BZ #20350]
11133         * posix/tst-preadwrite.c: Renamed to ...
11134         * posix/tst-preadwrite-common.c: This.
11135         (PREAD): Removed.
11136         (PWRITE): Likewise.
11137         (STRINGIFY): Likewise.
11138         (STRINGIFY2): Likewise.
11139         (do_prepare): Make it static and remove function arguments.
11140         (do_test): Likewise.
11141         (PREPARE): Updated.
11142         (TEST_FUNCTION): New.
11143         (name): Make it static.
11144         (fd): Likewise.
11145         (do_prepare): Use create_temp_file.
11146         (do_test): Renamed to ...
11147         (do_test_with_offset): This.  Make it static and accept offset.
11148         Properly check return value of PWRITE and PREAD.  Return bytes
11149         read.  Don't close fd nor unlink name.
11150         * posix/tst-preadwrite.c: Rewrite.
11151         * posix/tst-preadwrite64.c: Likewise.
11153 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11155         [BZ #20309]
11156         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11157         -mtls-dialect=gnu2 works.
11158         * configure: Regenerated.
11159         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11160         (tests): Add tst-gnu2-tls1.
11161         (modules-names): Add tst-gnu2-tls1mod.
11162         ($(objpfx)tst-gnu2-tls1): New.
11163         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11164         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11165         * elf/tst-gnu2-tls1.c: New file.
11166         * elf/tst-gnu2-tls1mod.c: Likewise.
11167         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11168         bytes for push in the PLT entry to align the stack.
11170 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11172         [BZ #20349]
11173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11175 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11177         [BZ #18707]
11178         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11179         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11181 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11183         * sysdeps/unix/sysv/linux/sysdep.h
11184         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11185         guards.
11186         * misc/tst-preadvwritev-common.c: New file.
11187         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11188         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11189         a check for files larger than 2GB.
11191         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11192         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11193         * sysdeps/unix/sysv/linux/pread.c
11194         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11195         __OFF_T_MATCHES_OFF64_T.
11196         * sysdeps/unix/sysv/linux/pread64.c
11197         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11198         * sysdeps/unix/sysv/linux/preadv.c
11199         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11200         * sysdeps/unix/sysv/linux/preadv64.c
11201         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11202         * sysdeps/unix/sysv/linux/pwrite.c
11203         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11204         * sysdeps/unix/sysv/linux/pwrite64.c
11205         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11206         * sysdeps/unix/sysv/linux/pwritev.c
11207         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11208         * sysdeps/unix/sysv/linux/pwritev64.c
11209         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11211 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11213         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11214         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11216 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11218         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11220 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11222         [BZ #20240]
11223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11224         (CFLAGS-s_modf-ppc32.c): New variable.
11225         (CFLAGS-s_modff-ppc32.c): Likewise.
11226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11227         (CFLAGS-s_modf-ppc64.c): Likewise.
11228         (CFLAGS-s_modff-ppc64.c): Likewise.
11230 2016-07-07  Andreas Schwab  <schwab@suse.de>
11232         [BZ #20263]
11233         * nptl/tst-robust10.c: New test.
11234         * nptl/Makefile (tests): Add tst-robust10.
11236 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11238         [BZ #20263]
11239         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11241 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11243         * sysdeps/s390/linkmap.h (struct link_map_machine):
11244         Remove member gotplt and add member jmprel.
11245         * sysdeps/s390/s390-32/dl-machine.h
11246         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11247         instead of gotplt with &got[3].
11248         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11249         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11251 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11253         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11255 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11257         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11258         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11259         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11260         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11261         * libio/vtables.c (_IO_vtable_check)
11262         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11263         * libio/libioP.h (IO_set_accept_foreign_vtables)
11264         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11266 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11268         [BZ #20314]
11269         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11270         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11271         $(common-objpfx)cmath.
11272         ($(common-objpfx)cstdlib): New target.
11273         ($(common-objpfx)cmath): Likewise.
11275 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11277         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11279 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11281         [BZ #20327]
11282         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11283         are not part of the string.
11285 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11287         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11288         * nptl/tst-cancel4-common.h (fifoname): New variable.
11289         (fifofd): Likewise.
11290         (cl_fifo): New function.
11291         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11292         SIGINT.
11293         (tf_open): Add early cancel test.
11295 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11297         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11299 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11301         * sysdeps/generic/ldsodefs.h
11302         (dl_symbol_visibility_binds_local_p): New inline function.
11303         * elf/dl-addr.c (determine_info): Treat hidden and internal
11304         symbols as local.
11305         * elf/dl-lookup.c (do_lookup_x): Likewise.
11306         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11308 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11310         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11311         invalid exception for a sNaN input.
11312         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11313         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11314         (__nearbyint_vis3): Likewise
11315         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11316         (__nearbyintf_vis3): Likewise
11317         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11318         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11319         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11320         Likewise.
11321         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11322         Likewise.
11324 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11326         [BZ #20139]
11327         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11328         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11329         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11330         2.24 or above.
11331         (HAVE_AVX512_ASM_SUPPORT): Removed.
11332         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11333         * sysdeps/x86_64/configure: Regenerated.
11334         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11335         check unconditional.
11336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11337         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11338         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11339         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11340         Likewise.
11341         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11342         Likewise.
11343         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11344         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11345         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11346         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11347         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11348         Likewise.
11349         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11350         Likewise.
11351         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11352         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11354         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11356         Likewise.
11357         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11358         Likewise.
11359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11360         Likewise.
11361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11362         Likewise.
11363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11364         Likewise.
11365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11366         Likewise.
11367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11368         Likewise.
11369         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11370         Likewise.
11371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11372         Likewise.
11373         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11374         Likewise.
11375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11376         Likewise.
11378 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11380         [BZ #20024]
11381         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11382         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11383         of this implementation of vector function.
11384         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11385         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11386         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11387         Likewise.
11388         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11389         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11390         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11391         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11392         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11393         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11394         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11395         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11396         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11397         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11398         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11399         for testing vector sincos with fixed ABI.
11400         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11401         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11402         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11403         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11404         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11405         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11406         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11407         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11408         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11409         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11410         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11411         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11412         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11413         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11414         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11415         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11417 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11419         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11421 2016-06-30  Anton Blanchard  <anton@samba.org>
11423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11424         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11425         s_sinf-ppc64.
11426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11429         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11431 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11435         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11436         e_expf-ppc64.
11437         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11438         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11439         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11440         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11442 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11444         [BZ #20277]
11445         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11446         when SHARED is defined.
11448 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11450         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11451         (index_arch_Prefer_ERMS): Likewise.
11452         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11453         __memcpy_erms for Prefer_ERMS.
11454         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11455         (__memmove_erms): Enabled for libc.a.
11456         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11457         __memmove_erms or Prefer_ERMS.
11458         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11459         __mempcpy_erms for Prefer_ERMS.
11460         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11461         __memset_erms for Prefer_ERMS.
11463 2016-06-30  Andreas Schwab  <schwab@suse.de>
11465         [BZ #20262]
11466         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11467         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11468         of memory.
11470 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11472         [BZ #18645]
11473         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11474         (test-extras): Add tst-cleanupx4aux.
11475         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11476         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11477         tst-cleanupx4aux.o.
11478         * nptl/tst-cleanupx4aux.c: New file.
11480 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11482         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11484 2016-06-29  Andreas Schwab  <schwab@suse.de>
11486         [BZ #20260]
11487         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
11488         address before the beginning of the string as an integer to avoid
11489         array-bounds warning.
11491 2016-06-28  Richard Henderson  <rth@redhat.com>
11493         * elf/elf.h (EM_BPF): New.
11494         (EM_NUM): Update.
11495         (R_BPF_NONE, R_BPF_MAP_FD): New.
11497         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
11498         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
11499         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
11500         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
11501         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
11502         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
11503         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
11504         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
11505         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
11506         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
11507         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
11508         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
11509         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
11510         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
11511         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
11512         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
11513         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
11514         (EM_NUM): Update.
11516 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
11518         [BZ #18960]
11519         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
11520         Set _nl_current_LC_CATEGORY_used to two instead of one.
11522 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
11524         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
11525         (do_test): ... this.
11526         (TEST_FUNCTION): New macro.
11527          Include test-skeleton.c.
11528         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
11529         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
11531 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
11533         [BZ #15479]
11534         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
11535         floating-point environment rather than just control word.
11536         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11537         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
11538         floating-point environment, with "invalid" exceptions merged in,
11539         rather than just control word.
11540         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
11541         * math/libm-test.inc (trunc_test_data): Do not allow spurious
11542         "inexact" exceptions.
11544         [BZ #15479]
11545         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
11546         floating-point environment rather than just control word.
11547         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11548         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
11549         floating-point environment, with "invalid" exceptions merged in,
11550         rather than just control word.
11551         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
11552         * math/libm-test.inc (floor_test_data): Do not allow spurious
11553         "inexact" exceptions.
11555         [BZ #15479]
11556         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
11557         floating-point environment rather than just control word.
11558         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11559         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
11560         floating-point environment, with "invalid" exceptions merged in,
11561         rather than just control word.
11562         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
11563         * math/libm-test.inc (ceil_test_data): Do not allow spurious
11564         "inexact" exceptions.
11566 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
11568         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
11569         __libc_vfork.
11570         (__vfork) [IS_IN (libc)]: Remove alias.
11571         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
11572         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11573         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11575 2016-06-24  Torvald Riegel  <triegel@redhat.com>
11577         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
11578         of atomic_compare_and_exchange_bool_rel.
11579         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11580         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
11581         catomic_compare_and_exchange_bool_rel): Remove.
11582         * sysdeps/aarch64/atomic-machine.h
11583         (atomic_compare_and_exchange_bool_rel): Likewise.
11584         * sysdeps/alpha/atomic-machine.h
11585         (atomic_compare_and_exchange_bool_rel): Likewise.
11586         * sysdeps/arm/atomic-machine.h
11587         (atomic_compare_and_exchange_bool_rel): Likewise.
11588         * sysdeps/mips/atomic-machine.h
11589         (atomic_compare_and_exchange_bool_rel): Likewise.
11590         * sysdeps/microblaze/atomic-machine.h
11591         ( __arch_compare_and_exchange_bool_8_rel,
11592         __arch_compare_and_exchange_bool_16_rel): Likewise.
11593         * sysdeps/powerpc/atomic-machine.h
11594         ( __arch_compare_and_exchange_bool_8_rel,
11595         __arch_compare_and_exchange_bool_16_rel): Likewise.
11596         * sysdeps/powerpc/powerpc32/atomic-machine.h
11597         ( __arch_compare_and_exchange_bool_32_rel,
11598         __arch_compare_and_exchange_bool_64_rel): Likewise.
11599         * sysdeps/powerpc/powerpc64/atomic-machine.h
11600         ( __arch_compare_and_exchange_bool_32_rel,
11601         __arch_compare_and_exchange_bool_64_rel): Likewise.
11602         * sysdeps/tile/atomic-machine.h
11603         (atomic_compare_and_exchange_bool_rel): Likewise.
11605 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
11607         [BZ #20296]
11608         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
11609         when either argument is a NaN.
11610         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11611         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
11613         * math/libm-test.inc (snan_value_ld): New macro.
11614         (isgreater_test_data): Add sNaN tests.
11615         (isgreaterequal_test_data): Likewise.
11616         (isless_test_data): Likewise.
11617         (islessequal_test_data): Likewise.
11618         (islessgreater_test_data): Likewise.
11619         (isunordered_test_data): Likewise.
11620         (nextafter_test_data): Likewise.
11621         (nexttoward_test_data): Likewise.
11622         (remainder_test_data): Likewise.
11623         (remquo_test_data): Likewise.
11624         (significand_test_data): Likewise.
11625         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
11627 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11629         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
11630         environment macros are defined.
11631         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
11633 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11635         [BZ #20191]
11636         Implement vtable verification in libio.
11637         * Makerules (shlib.lds): Place __libc_IO_vtables section.
11638         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
11639         * debug/vdprintf_chk.c (__vdprintf_chk): Call
11640         _IO_new_file_init_internal instead of _IO_file_init.
11641         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
11642         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
11643         * libio/Makefile (routines): Add vtables.
11644         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
11645         (_IO_init): Remove, not for internal use.
11646         (_IO_init_internal): Declare, internal replacement for _IO_init.
11647         (_IO_file_init): Remove, not for internal use.
11648         (_IO_new_file_init): Remove, not for internal use.
11649         (_IO_new_file_init_internal): Declare, internal replacement for
11650         _IO_new_file_init.
11651         (_IO_old_file_init): Remove, not for internal use.
11652         (_IO_old_file_init_internal): Declare, internal replacement for
11653         _IO_old_file_init.
11654         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11655         internal use.
11656         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11657         Declare.
11658         (libio_vtable): New macro.
11659         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11660         functions.
11661         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11662         _IO_new_file_init.
11663         (_IO_new_file_init): New externally visible wrapper which disables
11664         vtable verification.
11665         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11666         Define as vtables.
11667         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11668         (_IO_init): New externally visible wrapper which disables
11669         vtable verification.
11670         * libio/iofdopen.c (_IO_new_fdopen): Call
11671         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11672         comment.
11673         * libio/iofopen.c (__fopen_internal): Call
11674         _IO_new_file_init_internal instead of _IO_file_init.
11675         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11676         Define as vtables.
11677         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11678         _IO_new_file_init_internal instead of _IO_file_init.
11679         * libio/iopopen.c (_IO_new_popen): Likewise.
11680         (_IO_proc_jumps): Define as vtable.
11681         * libio/iovdprintf.c (_IO_vdprintf): Call
11682         _IO_new_file_init_internal instead of _IO_file_init.
11683         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11684         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11685         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11686         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11687         _IO_old_file_init.
11688         (_IO_old_file_init): New externally visible wrapper which disables
11689         vtable verification.
11690         (_IO_old_file_jumps): Define as vtable.
11691         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11692         _IO_old_file_init_internal instead of _IO_old_file_init.
11693         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11694         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11695         (_IO_old_proc_jumps): Define as vtable.
11696         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11697         Define as vtables.
11698         * libio/vtables.c: New file.
11699         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11700         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11701         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11702         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11703         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11704         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11705         instead of _IO_init.
11707 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11709         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11711 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11713         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11714         potentially unused.
11716 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11718         * test-skeleton.c (write_message): New function.
11719         * malloc/tst-mallocfork2.c (write_message): Remove.
11720         * debug/tst-longjmp_chk2.c (write_indented): New function.
11721         (write_message): Remove.
11722         (stackoverflow_handler): Call write_indented.
11724 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11726         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11727         "inexact" exceptions after fnstenv.
11728         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11729         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11730         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11732 2015-06-22  Zack Weinberg  <zackw@panix.com>
11734         * sysdeps/generic/bits/hwcap.h: Moved to ...
11735         * bits/hwcap.h: Here.
11737 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11739         * sysdeps/aarch64/memcpy.S (memcpy):
11740         Further tuning for performance.
11742 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11744         [BZ #20284]
11745         * malloc/arena.c (reused_arena): Do not return NULL if we start
11746         out with a non-corrupted arena.
11748 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11750         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11751         * misc/tst-preadvwritev.c: New file.
11752         * misc/tst-preadvwritev64.c: Likewise.
11753         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11754         usage.
11755         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11756         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11757         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11758         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11760 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11762         [BZ #19654]
11763         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11764         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11765         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11766         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11767         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11768         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11769         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11770         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11771         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11772         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11773         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11774         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11775         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11776         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11777         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11778         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11779         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11780         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11781         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11782         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11783         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11784         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11785         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11786         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11787         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11788         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11790 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11792         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11793         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11795 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11797         * sysdeps/aarch64/memcpy.S (memcpy):
11798         Rewrite of optimized memcpy and memmove.
11799         * sysdeps/aarch64/memmove.S (memmove): Remove
11800         memmove code (merged into memcpy.S).
11802 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11804         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11805         * sysdeps/generic/dl-dtv.h: New file.
11806         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11807         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11808         (dtv_t): Remove.
11809         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11810         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11811         (dtv_t): Remove.
11812         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11813         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11814         (dtv_t): Remove.
11815         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11816         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11817         (dtv_t): Remove.
11818         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11819         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11820         (dtv_t): Remove.
11821         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11822         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11823         (dtv_t): Remove.
11824         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11825         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11826         (dtv_t): Remove.
11827         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11828         (dtv_t): Remove.
11829         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11830         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11831         (dtv_t): Remove.
11832         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11833         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11834         (dtv_t): Remove.
11835         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11836         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11837         (dtv_t): Remove.
11838         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11839         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11840         (dtv_t): Remove.
11841         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11842         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11843         (dtv_t): Remove.
11844         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11845         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11846         (dtv_t): Remove.
11847         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11848         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11849         (dtv_t): Remove.
11850         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11851         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11852         (dtv_t): Remove.
11854 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11856         Revert symbol poisoning of  __malloc_initialize_hook.
11857         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11858         poisoning.
11859         * malloc/Makefile: Remove un-poisoning.
11860         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11861         instead of old__malloc_initialize_hook.
11862         * malloc/malloc-hooks.h: Likewise.
11863         * malloc/malloc.c: Likewise.
11864         * malloc/mcheck-init.c: Likewise.
11866 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11868         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11870 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11872         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11873         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11874         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11875         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11877 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11879         * NEWS: Mention addition of nextup and nextdown.
11880         * manual/arith.texi: Document nextup and nextdown.
11881         * manual/libm-err-tab.pl: Add nextup and nextdown.
11882         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11883         * math/Versions (libm): Add GLIBC_2.24.
11884         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11885         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11886         Add new test.
11887         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11888         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11889         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11890         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11891         (nextup_test_data): Likewise.
11892         (nextdown_test_data): Likewise.
11893         * math/s_nextdown.c: New file.
11894         * math/s_nextdownf.c: Likewise.
11895         * math/s_nextdownl.c: Likewise.
11896         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11897         F(nextup): New function.
11898         F(nextdown): Likewise.
11899         * math/tgmath.h: Add nextup and nextdown.
11900         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11901         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11902         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11903         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11904         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11905         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11906         Add nextup and nextdown.
11907         (CFLAGS-nldbl-nextup.c): New variable.
11908         (CFLAGS-nldbl-nextdown.c): Likewise.
11909         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11910         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11911         * sysdeps/nacl/libm.abilist: Update.
11912         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11913         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11914         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11915         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11916         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11917         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11918         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11919         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11920         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11921         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11922         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11923         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11926         Likewise.
11927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11929         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11930         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11931         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11932         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11933         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11936         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11937         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11939         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11941 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11943         * manual/pattern.texi: Fix typos & grammar errors.
11945 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11947         * manual/search.texi: Fix typos & grammar errors.
11949 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11951         * manual/message.texi: Fix typos & grammar errors.
11953 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11955         * manual/contrib.texi: Fix spelling typos.
11956         * manual/crypt.texi: Likewise.
11957         * manual/filesys.texi: Likewise.
11958         * manual/locale.texi: Likewise.
11959         * manual/message.texi: Likewise.
11960         * manual/nss.texi: Likewise.
11961         * manual/string.texi: Likewise.
11963 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11965         * manual/locale.texi: Fix typos & grammar errors.
11967 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11969         * manual/charset.texi: Fix typos & grammar errors.
11971 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11973         * manual/string.texi: Fix typos.
11975 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11977         * manual/ctype.texi: Fix typos.
11979 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11981         * manual/memory.texi: Fix various typos & grammar errors.
11983 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11985         [BZ #20255]
11986         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11987         * math/libm-test.inc (fdim_test_data): Add another test.
11989         [BZ #6796]
11990         [BZ #20255]
11991         [BZ #20256]
11992         * math/s_fdim.c: Include <math_private.h>.
11993         (__fdim): Use math_narrow_eval on result.
11994         * math/s_fdimf.c: Include <math_private.h>.
11995         (__fdimf): Use math_narrow_eval on result.
11996         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11997         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11998         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11999         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12000         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12001         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12002         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12003         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12004         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12005         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12006         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12007         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12008         overflow.  Add sNaN tests.
12010         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12011         fpclassify.
12012         * math/s_fdimf.c (__fdimf): Likewise.
12013         * math/s_fdiml.c (__fdiml): Likewise.
12015 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12017         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12018         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12020         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12021         ifunc'ed strcasecmp/strncasecmp.
12022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12023         [EALIGN]: Removed.
12024         [END]: Likewise.
12025         [__strcasecmp]: Define instead of the above to control symbol name.
12026         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12027         for __strcasecmp_power8.
12028         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12029         for __strncasecmp_power8.
12030         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12032         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12033         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12034         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12035         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12037 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12039         [BZ #20252]
12040         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12041         arguments when second argument is a NaN.
12042         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12043         qNaN tests.
12045         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12046         (conj_test_data): Likewise.
12047         (copysign_test_data): Likewise.
12048         (creal_test_data): Likewise.
12049         (fma_test_data): Likewise.
12050         (fmod_test_data): Likewise.
12052         [BZ #20250]
12053         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12054         itself.
12055         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12056         zero input to itself.
12057         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12058         Likewise.
12059         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12060         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12061         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12062         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12063         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12065 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12067         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12068         * nptl/tst-cancel4-common.c: New file.
12069         * nptl/tst-cancel4-common.h: Likewise.
12070         * nptl/tst-cancel4.c: Move common definitions to
12071         tst-cancel4-common.{c,h} file.
12072         * nptl/tst-cancel4_1.c: New test.
12073         * nptl/tst-cancel4_2.c: New test.
12075 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12077         [BZ #20248]
12078         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12079         (write_message): New function.
12080         (stackoverflow_handler): Call it instead of printf, to avoid
12081         excessive stack usage by printf.
12082         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12084 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12086         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12087         (prio_inherit_missing): Remove define.
12088         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12089         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12091         Likewise.
12092         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12093         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12094         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12095         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12096         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12097         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12099 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12101         [BZ #19670]
12102         [BZ #19672]
12104         * io/test-lfs.c (do_prepare): Use xmalloc.
12105         * io/tst-fcntl.c (do_prepare): Likewise.
12106         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12107         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12108         * login/tst-utmp.c (do_prepare): Likewise.
12109         * posix/tst-exec.c (do_prepare): Likewise.
12110         * posix/tst-pathconf.c (prepare): Likewise.
12111         * posix/tst-spawn.c (do_prepare): Likewise.
12112         * posix/tst-truncate.c (do_prepare): Likewise.
12113         * rt/tst-aio.c (do_prepare): Likewise.
12114         * rt/tst-aio64.c (do_prepare): Likewise.
12116 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12118         [BZ #20237]
12119         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12120         (get*ent): Set entidx to NULL during initialization.  If entidx is
12121         NULL, start iteration from the beginning.
12123 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12125         * malloc/malloc.c (musable): Return correct size for dumped fake
12126         mmapped chunk.
12128 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12130         [BZ #20222]
12131         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12132         (_IO_cookie_write): Likewise.
12133         (_IO_cookie_seek): Likewise.
12134         (_IO_cookie_close): Likewise.
12135         (_IO_old_cookie_seek): Likewise.
12136         (set_callbacks): New function.
12137         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12139 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12141         * locale/programs/localedef.c (oldstyle_tables): Remove.
12142         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12144 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #20240]
12147         * math/Makefile (CFLAGS-s_modf.c): New variable.
12148         (CFLAGS-s_modff.c): Likewise.
12149         (CFLAGS-s_modfl.c): Likewise.
12150         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12152 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12154         [BZ #20215]
12155         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12156         [!__GNUC_PREREQ (3,2)]: Likewise.
12158 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12160         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12161         (msghdr.msg_controllen): Likewise.
12162         (cmsghdr.cmsg_len): Likewise.
12163         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12164         ptw-oldsendmsg.
12165         (CFLAGS-oldrecvmsg.c): Remove rule.
12166         (CFLAGS-oldsendmsg.c): Likewise.
12167         (CFLAGS-recvmsg.c): Add rule.
12168         (CFLAGS-sendmsg.c): Likewise.
12169         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12170         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12171         (CFLAGS-recvmsg.c): Remove rule.
12172         (CFLAGS-sendmsg.c): Likewise.
12173         (CFLAGS-oldrecvmsg.c): Likewise.
12174         (CFLAGS-oldsendmsg.c): Likewise.
12175         (CFLAGS-recvmmsg.c): Likewise.
12176         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12177         to kernel defined interfaces.
12178         (msghdr.msg_controllen): Likewise.
12179         (cmsghdr.cmsg_len): Likewise.
12180         (msghdr.__glibc_reserved1): Remove member.
12181         (msghdr.__glibc_reserved2): Likewise.
12182         (cmsghdr.__glibc_reserved1): Likewise.
12183         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12184         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12185         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12186         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12187         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12188         version.
12189         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12190         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12191         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12192         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12193         Remove recvmsg and sendmsg.
12194         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12195         Likewise.
12196         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12197         Likewise.
12198         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12199         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12200         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12201         Likewise.
12202         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12203         Likewise.
12204         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12205         [libc] (GLIBC_2.24): Likewise.
12206         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12209         Likewise.
12210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12211         [libc] (GLIBC_2.24): Likewise.
12212         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12213         Likewise.
12214         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12215         Likewise.
12216         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12217         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12222         Likewise.
12223         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12224         Likewise.
12225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12226         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12227         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12228         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12229         version for {recv,send,recm,sendm}msg.
12230         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12231         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12232         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12235         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12236         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12237         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12238         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12240         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12241         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12243         Likewise.
12244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12248         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12249         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12250         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12251         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12252         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12253         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12256         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12257         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12258         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12260 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12262         [BZ #19564]
12263         Remove __malloc_initialize_hook from the API.
12264         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12265         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12266         #pragma GCC poison.
12267         * malloc/malloc-hooks.h: New file.
12268         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12269         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12270         (old__malloc_initialize_hook): Rename from
12271         __malloc_initialize_hook to evade poisoning.  Turn into compat
12272         symbol.
12273         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12274         __malloc_initialize_hook.
12275         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12276         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12277         * manual/memory.texi (Hooks for Malloc): Remove
12278         __malloc_initialize_hook.  Adjust hook example.
12280 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12282         [BZ #20235]
12283         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12284         itself.
12285         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12286         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12288         [BZ #20234]
12289         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12290         infinity or NaN input to itself.
12292         [BZ #20233]
12293         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12294         to itself.
12296         [BZ #20232]
12297         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12298         itself.
12300 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12302         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12303         __libc_start_main via GOT.
12305 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12307         * sysdeps/x86_64/memcopy.h: New file.
12308         * sysdeps/x86_64/wordcopy.c: Likewise.
12310 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12312         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12313         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12314         <cstdlib>.
12315         (optimization_barrier): New.
12316         (do_test): Use it.  Call quick_exit in the global namespace.
12317         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12318         instead of <cstdlib>, <thread>.
12319         (optimization_barrier): New.
12320         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12321         Call quick_exit in the global namespace.
12322         (do_test): Call optimization_barrier.  Use pthread_create,
12323         pthread_join instead of std::thread.
12325 2016-06-09  Andreas Schwab  <schwab@suse.de>
12327         [BZ #19755]
12328         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12329         new entries in auto-propagate mode.
12330         * nscd/grpcache.c (cache_addgr): Likewise.
12332 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12334         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12335         New functions.
12336         (add_temp_file): Use them.
12338 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12340         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12342 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12344         [BZ #20229]
12345         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12346         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12347         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12349         [BZ #20228]
12350         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12351         itself.
12352         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12353         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12355         [BZ #20227]
12356         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12357         itself.
12358         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12359         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12360         * math/libm-test.inc (log_test_data): Add sNaN tests.
12362         [BZ #20226]
12363         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12364         itself.
12365         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12366         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12367         (exp10_test_data): Likewise.
12368         (expm1_test_data): Likewise.
12370         [BZ #20225]
12371         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12372         itself.
12373         * math/s_ldexpf.c (__ldexpf): Likewise.
12374         * math/s_ldexpl.c (__ldexpl): Likewise.
12375         * math/w_scalbln.c (__w_scalbln): Likewise.
12376         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12377         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12378         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12379         (scalbln_test_data): Likewise.
12381         [BZ #20224]
12382         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12383         argument to itself.
12384         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12386 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12388         [BZ #19776]
12389         * sysdeps/x86_64/memcpy.S: Make it dummy.
12390         * sysdeps/x86_64/mempcpy.S: Likewise.
12391         * sysdeps/x86_64/memmove.S: New file.
12392         * sysdeps/x86_64/memmove_chk.S: Likewise.
12393         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12394         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12395         * sysdeps/x86_64/memmove.c: Removed.
12396         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12397         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12398         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12399         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12400         Likewise.
12401         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12402         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12404         memcpy-sse2-unaligned, memmove-avx-unaligned,
12405         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12407         (__libc_ifunc_impl_list): Replace
12408         __memmove_chk_avx512_unaligned_2 with
12409         __memmove_chk_avx512_unaligned.  Remove
12410         __memmove_chk_avx_unaligned_2.  Replace
12411         __memmove_chk_sse2_unaligned_2 with
12412         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12413         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12414         with __memmove_avx512_unaligned.  Replace
12415         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12416         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12417         with __memcpy_chk_avx512_unaligned.  Remove
12418         __memcpy_chk_avx_unaligned_2.  Replace
12419         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12420         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12421         Replace __memcpy_avx512_unaligned_2 with
12422         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12423         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12424         with __mempcpy_chk_avx512_unaligned.  Remove
12425         __mempcpy_chk_avx_unaligned_2.  Replace
12426         __mempcpy_chk_sse2_unaligned_2 with
12427         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12428         Replace __mempcpy_avx512_unaligned_2 with
12429         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12430         Replace __mempcpy_sse2_unaligned_2 with
12431         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12432         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12433         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12434         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12435         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12436         (ENTRY): Removed.
12437         (END): Likewise.
12438         (ENTRY_CHK): Likewise.
12439         (libc_hidden_builtin_def): Likewise.
12440         Don't include ../memcpy.S.
12441         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12442         __memcpy_chk_avx512_unaligned_erms and
12443         __memcpy_chk_avx512_unaligned.  Use
12444         __memcpy_chk_avx_unaligned_erms and
12445         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12446         Default to __memcpy_chk_sse2_unaligned.
12447         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12448         Change function suffix from unaligned_2 to unaligned.
12449         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12450         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12451         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12452         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12453         (ENTRY): Removed.
12454         (END): Likewise.
12455         (ENTRY_CHK): Likewise.
12456         (libc_hidden_builtin_def): Likewise.
12457         Don't include ../mempcpy.S.
12458         (mempcpy): New.  Add a weak alias.
12459         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12460         __mempcpy_chk_avx512_unaligned_erms and
12461         __mempcpy_chk_avx512_unaligned.  Use
12462         __mempcpy_chk_avx_unaligned_erms and
12463         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12464         Default to __mempcpy_chk_sse2_unaligned.
12466 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12468         [BZ #19881]
12469         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12470         into ...
12471         * sysdeps/x86_64/memset.S: This.
12472         (__bzero): Removed.
12473         (__memset_tail): Likewise.
12474         (__memset_chk): Likewise.
12475         (memset): Likewise.
12476         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12477         defined.
12478         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12479         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12480         (__memset_zero_constant_len_parameter): Check SHARED instead of
12481         PIC.
12482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12483         memset-avx2 and memset-sse2-unaligned-erms.
12484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12485         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12486         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12487         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12488         (__bzero): Enabled.
12489         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
12490         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
12491         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
12492         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
12493         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12494         (memset): Removed.
12495         (__memset_chk): Likewise.
12496         (MEMSET_SYMBOL): New.
12497         (libc_hidden_builtin_def): Replace __memset_sse2 with
12498         __memset_sse2_unaligned.
12499         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
12500         __memset_chk_sse2 and __memset_chk_avx2 with
12501         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
12502         Use __memset_chk_sse2_unaligned_erms or
12503         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
12504         __memset_chk_avx512_unaligned_erms and
12505         __memset_chk_avx512_unaligned.
12507 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12509         * math/gen-auto-libm-test.c (fp_format_desc): remove
12510         suffix member.
12511         (output_generic_value): Remove usage of suffix member,
12512         and the resulting unuse of the fp_format argument.
12513         (output_for_one_input_case): Remove unused fp_format
12514         parameter.
12516         * math/auto-libm-test-out: Regenerate.
12518         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
12519         usage with TEST_COND_ibm128.
12520         (TEST_COND_flt_32): Remove.
12521         (TEST_COND_dbl_64): Remove.
12522         (TEST_COND_ldbl_96_intel): Remove.
12523         (TEST_COND_ldbl_96_m68k): Remove.
12524         (TEST_COND_ldbl_128): Remove.
12526 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12528         * auto-libm-test-in:
12529         Replace flt-32 usage with binary32.
12530         Replace dbl-64 usage with binary64.
12531         Replace ldbl-intel-96 usage with intel96.
12532         Replace ldbl-m68k-96 usage with m68k96.
12533         Replace ldbl-128ibm usage with ibm128.
12534         Replace ldbl-128 usage with binary128.
12536         * auto-libm-test-out: Regenerate.
12538 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12540         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
12541         (parse_ulps): Dynamically generate type name matching
12542         string from all_floats.
12543         (get_ulps): Generate the ulps as an array instead.
12544         (output_ulps): Dynamically compose the type based
12545         on the number of supported formats, and print
12546         the indices as type specific helper macros.
12548         * math/libm-test.inc: Remove comment about CHOOSE.
12549         (ulp_data): Generate the type in libm-test-ulps.h.
12550         (ULP_IDX): New macro.
12551         (find_ulps): Update usage of max_ulp.
12553         * math/test-double-vlen2.h (CHOOSE): Remove.
12554         * math/test-double-vlen4.h (CHOOSE): Likewise.
12555         * math/test-double-vlen8.h (CHOOSE): Likewise.
12556         * math/test-float.c (CHOOSE): Likewise.
12557         * math/test-float-finite.c (CHOOSE): Likewise.
12558         * math/test-double.c (CHOOSE): Likewise.
12559         * math/test-double-finite.c (CHOOSE): Likewise.
12560         * math/test-idouble.c (CHOOSE): Likewise.
12561         * math/test-ifloat.c (CHOOSE): Likewise.
12562         * math/test-ildoubl.c (CHOOSE): Likewise.
12563         * math/test-ldouble-finite.c (CHOOSE): Likewise.
12564         * math/test-ldouble.c (CHOOSE): Likewise.
12566         * math/test-float.h (TEST_FLOAT): Remove.
12567         * math/test-double.h (TEST_DOUBLE): Likewise.
12568         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
12570 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12572         * math/gen-libm-test.pl: (apply_lit): New subroutine.
12573         (parse_args): Strip C suffix from floating point literals
12574         typed with 'f' and wrap them with LIT().
12576         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
12577         (test_ff_f_data_nexttoward): Rename to
12578         (test_fj_f_data): New struct.
12579         (nexttoward_test_data): Relabel tests as
12580         TEST_fj_f instead of TEST_ff_f.
12582 2016-06-08  Florian Weimer  <fweimer@redhat.com>
12584         Emacs bug 23726.
12585         * malloc/malloc.c (dumped_main_arena_start): Update comment.
12586         (__libc_realloc): Correct size computation for dumped fake mmapped
12587         chunks.
12589 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
12591         [BZ #20219]
12592         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
12593         to itself.
12594         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
12596         [BZ #20218]
12597         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
12598         to itself.
12599         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
12601 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
12603         [BZ #20195]
12604         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
12605         check to ...
12606         (init_cpu_features): Here.
12608 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
12610         [BZ #20214]
12611         * sysdeps/unix/sysv/linux/bits/in.h
12612         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12613          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
12614         Define to 1.
12615         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12616          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
12617         Define to 0.
12618         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
12619         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
12621 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
12623         [BZ #20198]
12624         * stdlib/Makefile (tests): Add tst-quick_exit, and
12625         tst-thread-quick_exit.
12626         [ifeq ($(have-cxx-thread_local),yes)]
12627         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
12628         (CFLAGS-tst-thread-quick_exit.o): Likewise.
12629         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
12630         (LDLIBS-tst-thread-quick_exit): Likewise.
12631         [ifneq ($(have-cxx-thread_local),yes)]
12632         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
12633         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
12634         If run_dtors is true call __call_tls_dtors.
12635         (exit): Call __run_exit_handlers with run_dtors set to true.
12636         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
12637         definition.
12638         * stdlib/quick_exit.c (quick_exit): Remove function.
12639         (__new_quick_exit): New function.
12640         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
12641         function.
12642         * stdlib/tst-quick_exit.cc: New file.
12643         * stdlib/tst-thread-quick_exit.cc: New file.
12644         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
12645         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
12646         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
12647         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
12648         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
12649         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
12650         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
12651         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
12652         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
12653         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
12654         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12655         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12656         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12657         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12658         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12659         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12664         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12666         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12668         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12672         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12673         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12675 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12677         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12678         a typo in comments.
12680 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12682         [BZ #20213]
12683         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12684         argument to itself.
12685         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12687 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12689         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12690         required flags.
12691         (CFLAGS-pwritev64.c): Likewise.
12692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12694         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12695         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12696         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12697         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12698         syscall from auto-generation.
12699         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12700         [WORDSIZE == 64] (pwritev64): Remove macro.
12701         [!PWRITEV] (PWRITEV): Likewise.
12702         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12703         [!PWRITEV] (PWRITE): Likewise.
12704         [!PWRITEV] (OFF_T): Likewise.
12705         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12706         (LO_HI_LONG): Remove macro.
12707         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12708         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12709         (PWRITEV): Remove macro.
12710         (PWRITEV_REPLACEMENTE): Likewise.
12711         (PWRITE): Likewise.
12712         (OFF_T): Likewise.
12713         (pwritev64): New function.
12714         * nptl/tst-cancel4.c (tf_writev): Add test.
12716         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12717         required flags.
12718         (CFLAGS-preadv64.c): Likewise.
12719         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12720         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12721         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12722         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12723         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12724         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12725         syscall from auto-generation.
12726         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12727         [WORDSIZE == 64] (preadv64): Remove macro.
12728         [!PREADV] (PREADV): Likewise.
12729         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12730         [!PREADV] (PREAD): Likewise.
12731         [!PREADV] (OFF_T): Likewise.
12732         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12733         (LO_HI_LONG): Remove macro.
12734         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12735         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12736         (PREADV): Remove macro.
12737         (PREADV_REPLACEMENTE): Likewise.
12738         (PREAD): Likewise.
12739         (OFF_T): Likewise.
12740         (preadv64): New function.
12741         * nptl/tst-cancel4.c (tf_preadv): Add test.
12743 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12745         [BZ #20212]
12746         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12747         argument to itself.
12748         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12750 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12752         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12753         New symbol defined as libc_hidden_def.
12754         (strcasestr): Became a weak alias to __strcasestr.
12755         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12756         according to multi-arch support.  Move __stpncpy hidden
12757         definition from here to...
12758         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12759         symbol stpncpy.
12760         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12761         libc_hidden_builtin_def.
12762         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12763         memset symbol to use when multi-arch support is available.
12765 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12767         * dlfcn/tst-rec-dlopen.c: Include string.h.
12769 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12771         * manual/install.texi: Remove mention of --without-tls
12772         * INSTALL: Regenerate.
12774 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12776         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12777         Remove.
12778         (call_function, interposed_malloc_called): New variables.
12779         (malloc): New function.
12780         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12781         and clear call_function as needed.
12783 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12785         * include/wchar.h (__wmemset): Use __typeof.
12787 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12789         * include/wchar.h (__wmemset): Declare function without typeof.
12791 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12793         [BZ #20205]
12794         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12795         exponent when incrementing negative subnormal with low mantissa
12796         word zero.
12797         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12798         Add another test.
12800 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12802         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12803         __wmemset instead of wmemset.
12805 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12807         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12808         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12809         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12810         __USE_KERNEL_IPV6_DEFS to 0.
12811         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12812         Update comment.
12814 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12816         [BZ #19861]
12817         Do not use IFUNC resolver with potentially unrelocated symbol.
12818         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12819         (DEFINE_FORK): Remove macro and inline definition.
12820         (fork_alias): Renamed from fork_ifunc.
12821         (__fork_alias): Renamed from __fork_ifunc.
12823 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12825         [BZ 19653]
12826         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12827         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12829 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12831         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12832         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12833         i386-linux-gnu).
12834         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12835         Set to no.
12836         * sysdeps/mach/hurd/configure: Refresh.
12838 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12840         [BZ #20178]
12841         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12842         on failure instead of exit.
12844 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12846         [BZ #3629]
12847         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12848         of POSIX.1-2008.
12850 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12852         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12853           Use PLT entry for calling _hurd_self_sigstate.
12855 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12857         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12858         available logical processors with SMT level type sharing L2
12859         cache for Intel processors.
12861 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12863         [BZ #20160]
12864         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12865         argument to itself before returning the result.
12866         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12867         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12868         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12869         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12870         Likewise.
12871         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12872         Likewise.
12873         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12874         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12875         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12876         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12877         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12878         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12880         [BZ #20160]
12881         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12882         argument to itself before returning the result.
12883         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12884         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12885         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12887         Likewise.
12888         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12889         Likewise.
12890         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12891         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12892         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12893         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12894         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12895         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12897 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12899         * libm-test.inc: Replace usage of M_El with
12900         (lit_e): New macro.
12902 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12904         * libm-test.inc: Replace usage of M_PI_4l with
12905         (lit_pi_4_d): New macro.
12907 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12909         * libm-test.inc: Replace usage of M_PIl with
12910         (lit_pi): New macro.
12912 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12914         * libm-test.inc: Replace usage of M_PI2l with
12915         (lit_pi_2_d): New macro.
12917         * math/test-double.h (LITM): New macro.
12918         * math/test-float.h (LITM): Likewise.
12919         * math/test-ldouble.h (LITM): Likewise.
12921 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12923         * libm-test.inc (M_PI_34l): Rename to
12924         (lit_pi_3_m_4_d): New Macro.
12925         (M_PI_34_LOG10El): Rename to
12926         (lit_pi_3_m_4_ln10_m_d): New Macro.
12927         (M_PI2_LOG10El): Rename to
12928         (lit_pi_2_ln10_m_d):  New Macro.
12929         (M_PI4_LOG10El): Rename to
12930         (lit_pi_4_ln10_m_d):  New Macro.
12931         (M_PI_LOG10El): Rename to
12932         (lit_pi_ln10_d):  New Macro.
12934 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12936         [BZ #20157]
12937         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12938         determine whether to negate low half if [_ARCH_PPCGR], and integer
12939         comparison otherwise.
12940         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12941         determine whether to negate low half.
12943         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12944         (NO_TEST_INLINE_DOUBLE): Likewise.
12945         (TEST_COND_x86_64): Likewise.
12946         (TEST_COND_x86): Likewise.
12947         (M_PI_6l): Likewise.
12949 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12951         * math/libm-test.inc:
12952         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12953         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12954         (TEST_LDOUBLE): Update usage to evaluate as true if
12955         the guarded tests match the property being tested.
12956         (LDBL_MAX_EXP): Change to MAX_EXP.
12957         (LDBL_MIN_EXP): Change to MIN_EXP.
12958         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12959         nexttoward tests.
12961 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12963         * math/libm-test.inc:
12964         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12965         (TYPE_MIN): Likewise.
12966         (TYPE_TRUE_MIN): Likewise.
12967         (TYPE_MAX): Likewise.
12968         (MIN_EXP): Likewise.
12969         (MAX_EXP): Likewise.
12970         (MANT_DIG): Likewise.
12972         (FSTR_MAX): New macro.
12973         (__CONCATX): Likewise.
12974         (QTYPE_STR): Likewise.
12975         (TEST_COND_binary32): Likewise.
12976         (TEST_COND_binary64): Likewise.
12977         (TEST_COND_binary128): Likewise.
12978         (TEST_COND_ibm128): Likewise.
12979         (TEST_COND_intel96): Likewise.
12980         (TEST_COND_m68k96): Likewise.
12982         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12983         (TEST_COND_dbl_64): Likewise.
12984         (TEST_COND_ldbl_96_intel): Likewise.
12985         (TEST_COND_ldbl_96_m68k): Likewise.
12986         (TEST_COND_ldbl_128): Likewise.
12987         (TEST_COND_ldbl_128ibm): Likewise.
12989         (plus_zero): Redefine using LIT macro.
12990         (minus_zero): Likewise.
12991         (plus_infty): Redefine as (INF).
12992         (minux_infty): Redefine as (-INF).
12993         (max_value): Redefine as TYPE_MAX.
12994         (min_value): Redefine as TYPE_MIN.
12995         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12997         (print_float): Refactor to use snprintf to convert FLOAT values
12998         to string. This brings it closer to dropin replacement of strtof
12999         for the TS 18661 defined types.
13000         (update_stats): Likewise.
13001         (print_complex_function_ulps): Likewise.
13002         (print_max_error): Likewise.
13003         (print_complex_max_error): Likewise.
13004         (check_float_internal): Likewise.
13006         * math/test-float.h (PREFIX): New macro.
13007         (LIT): Likewise.
13008         (TYPE_STR): Likewise.
13009         (FTOSTR): Likewise.
13011         * math/test-double.h (PREFIX): New macro.
13012         (LIT): Likewise.
13013         (TYPE_STR): Likewise.
13014         (FTOSTR): Likewise.
13016         * math/test-ldouble.h (PREFIX): New macro.
13017         (LIT): Likewise.
13018         (TYPE_STR): Likewise.
13019         (FTOSTR): Likewise.
13021 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13023         [BZ #20156]
13024         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13025         to itself when zero or not finite.
13026         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13027         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13028         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13029         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13031 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13033         [BZ #20153]
13034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13035         x * x + x for infinities and NaNs.
13037         [BZ #20151]
13038         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13039         argument to itself before returning result.
13040         (__ieee754_y0l): Likewise.
13041         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13042         (__ieee754_y1l).
13044         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13045         (atan_test_data): Likewise.
13046         (ceil_test_data): Likewise.
13047         (cos_test_data): Likewise.
13048         (cosh_test_data): Likewise.
13049         (erf_test_data): Likewise.
13050         (exp2_test_data): Likewise.
13051         (fabs_test_data): Likewise.
13052         (floor_test_data): Likewise.
13053         (ilogb_test_data): Likewise.
13054         (j0_test_data): Likewise.
13055         (j1_test_data): Likewise.
13056         (jn_test_data): Likewise.
13057         (lgamma_test_data): Likewise.
13058         (lrint_test_data): Likewise.
13059         (llrint_test_data): Likewise.
13060         (logb_test_data): Likewise.
13061         (lround_test_data): Likewise.
13062         (llround_test_data): Likewise.
13063         (nearbyint_test_data): Likewise.
13064         (rint_test_data): Likewise.
13065         (round_test_data): Likewise.
13066         (sin_test_data): Likewise.
13067         (sincos_test_data): Likewise.
13068         (sinh_test_data): Likewise.
13069         (sqrt_test_data): Likewise.
13070         (tan_test_data): Likewise.
13071         (tanh_test_data): Likewise.
13072         (tgamma_test_data): Likewise.
13073         (trunc_test_data): Likewise.
13074         (y0_test_data): Likewise.
13075         (y1_test_data): Likewise.
13076         (yn_test_data): Likewise.
13078         * math/libm-test.inc: Update comment about NaN testing.
13079         (TEST_SNAN): New macro.
13080         (snan_value): Likewise.
13081         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13082         (fpclassify_test_data): Add sNaN tests.
13083         (isfinite_test_data): Likewise.
13084         (isinf_test_data): Likewise.
13085         (isnan_test_data): Likewise.
13086         (isnormal_test_data): Likewise.
13087         (issignaling_test_data): Likewise.
13088         (signbit_test_data): Likewise.
13089         * math/gen-libm-test.pl (%beautify): Add snan_value.
13090         (show_exceptions): Add argument $test_snan.
13091         (parse_args): Handle snan_value as non-finite.  Update call to
13092         show_exceptions.
13093         * math/Makefile (libm-test-no-inline-cflags): Add
13094         -fsignaling-nans.
13096 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13098         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13099         (CFLAGS-oldsendmsg.c): Add rule.
13100         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13101         Correct recvmsg symbol name.
13102         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13103         Likewise.
13105 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13107         * sysdeps/unix/sysv/linux/Makefile
13108         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13109         oldsendmmsg.
13110         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13111         sendmmsg.
13112         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13113         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13114         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13115         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13117         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13118         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13120         Likewise.
13121         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13122         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13123         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13124         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13125         iovlen and controllen fields to adjust to POSIX specification.
13126         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13128         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13129         and change to correct expected type.
13130         (msghdr.msg_controllen): Likewise.
13131         (cmsghdr.cmsg_len): Likewise.
13132         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13133         expected POSIX assumption about the size.
13134         (msghdr.msg_controllen): Likewise.
13135         (msghdr.__glibc_reserved1): Likewise.
13136         (msghdr.__glibc_reserved2): Likewise.
13137         (cmsghdr.cmsg_len): Likewise.
13138         (cmsghdr.__glibc_reserved1): Likewise.
13139         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13140         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13141         (CFLAGS-sendmsg.c): Remove rule.
13142         (CFLAGS-recvmsg.c): Likewise.
13143         (CFLAGS-oldsendmsg.c): Add rule.
13144         (CFLAGS-oldrecvmsg.c): Likewise.
13145         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13146         recvmsg and sendmsg.
13147         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13148         Likewise.
13149         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13150         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13151         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13152         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13153         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13154         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13155         Likewise.
13156         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13157         Likewise.
13158         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13167         (GLIBC_2.24): Likewise.
13168         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13174         Likewise.
13175         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13176         Likewise.
13177         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13178         Likewise.
13179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13180         (GLIBC_2.24): Likewise.
13181         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13182         Likewise.
13183         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13184         Likewise.
13185         * sysdeps/unix/sysv/linux/Makefile
13186         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13187         (CFLAGS-sendmsg.c): Add rule.
13188         (CFLAGS-recvmsg.c): Likewise.
13189         (CFLAGS-oldsendmsg.c): Likewise.
13190         (CFLAGS-oldrecvmsg.c): Likewise.
13191         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13192         initialization.
13193         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13194         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13195         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13196         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13197         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13198         iovlen and controllen fields to adjust to POSIX specification.
13199         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13200         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13201         added recvmsg and sendmsg.
13202         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13203         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13204         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13205         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13206         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13208         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13209         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13210         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13211         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13212         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13213         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13215         Likewise.
13216         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13218         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13219         Likewise.
13220         Likewise.
13221         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13222         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13223         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13224         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13225         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13226         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13228         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13230         Likewise.
13231         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13232         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13234         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13235         from auto-generation.
13236         (sendmsg): Likewise.
13237         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13238         (sendmsg): Likewise.
13239         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13240         (sendmsg): Likewise.
13241         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13242         (sendmsg): Likewise.
13243         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13244         (sendmsg): Likewise.
13245         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13246         (sendmsg): Likewise.
13247         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13248         Likewise.
13249         (sendmsg): Likewise.
13250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13251         (sendmsg): Likewise.
13252         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13253         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13254         Remove.
13255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13256         Likewise.
13257         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13258         Undefine.
13259         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13260         Likewise.
13261         * sysdeps/unix/sysv/linux/kernel-features.h
13262         (__ASSUME_SENDMSG_SYSCALL): Define.
13263         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13264         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13266         Remove.
13267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13268         Likewise.
13269         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13270         Undefine.
13271         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13275         Remove.
13276         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13277         Likewise.
13278         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13279         Undefine.
13280         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13281         Likewise.
13282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13283         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13284         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13285         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13286         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13287         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13288         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13289         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13290         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13292 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13294         * stdlib/gen-tst-strtod-round.c: Add backslash to
13295         compile command in comment.
13296         (printfp): Remove the literal suffix, and define an infinite
13297         value as INF to avoid expansion clash with INFINITY.
13298         (round_str): Remove the literal suffix.
13299         (round_for_all): Likewise, remove the now duplicate ldbl-64
13300         entry, and remove some magic constants.
13302         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13303         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13304         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13305         (_CONCAT): New macro.
13306         (CONCAT): Likewise.
13307         (CHOOSE_ld): Likewise.
13308         (CHOOSE_f): Likewise.
13309         (CHOOSE_d): Likewise.
13310         (FTYPE_MEMBER): Likewise.
13311         (BOOL_MEMBER): Likewise.
13312         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13313         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13314         (_XNTRY): Likewise.
13315         (XNTRY): Likewise.
13316         (_ENTRY): Likewise.
13317         (ENTRY): Likewise.
13318         (test_exactness): Generate members via macro.
13319         (test_results): Likewise.
13320         (test): Update members.
13321         (TEST): Redefine using new macros.
13322         (INF): New macro.
13323         (fetestmodes): New structure.
13324         (do_test): Refactor to be type generic.
13325         (test_in_one_mode): Refactor duplicate code into
13326         (GEN_ONE_TEST): New macro.
13328         * stdlib/tst-strtod-round-data.h: Regenerate.
13330         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13331         Extend to pass additional arbitrary parameters to
13332         generators.
13334 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #15479]
13337         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13338         floating-point state after first floating-point operation on
13339         input.  Restore full floating-point state instead of just rounding
13340         mode.
13341         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13342         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13343         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13344         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13345         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13347         [BZ #15479]
13348         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13349         floating-point state after first floating-point operation on
13350         input.  Restore full floating-point state instead of just rounding
13351         mode.
13352         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13353         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13354         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13355         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13356         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13358 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13360         [BZ #19727]
13361         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13362         valid high surrogate.
13363         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13364         of an utf16 surrogate.
13365         * iconv/gconv_simple.c (BODY): Likewise.
13366         * iconvdata/bug-iconv12.c: New file.
13367         * iconvdata/Makefile (tests): Add bug-iconv12.
13369 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13371         [BZ #19726]
13372         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13373         outptrp in case of an illegal input.
13374         * iconv/tst-iconv6.c: New file.
13375         * iconv/Makefile (tests): Add tst-iconv6.
13377 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13379         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13380         an error in case of a value in range of an utf16 low surrogate.
13382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13384         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13385         an error in case of a value in range of an utf16 low surrogate.
13387 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13389         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13390         Move to ...
13391         * sysdeps/s390/Makefile: ... here.
13392         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13393         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13394         (BRANCH_ON_COUNT): New define.
13395         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13396         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13397         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13398         run on s390-32, too.
13399         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13400         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13401         run on s390-32, too.
13402         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13403         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13404         run on s390-32, too.
13406 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13408         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13409         etf3eh or new vector loop-variant.
13411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13413         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13414         etf3eh or new vector loop-variant.
13416 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13418         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13419         or new vector loop-variant.
13421 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13423         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13424         Rename to TR_LOOP and usage of tr instead of troo instruction.
13426 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13428         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13429         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13431 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13433         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13434         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13435         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13436         New override define.
13437         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13439 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13441         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13442         * sysdeps/s390/configure.ac: Add test for S390 vector register
13443         support in gcc.
13444         * sysdeps/s390/configure: Regenerated.
13446 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13448         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13449         Install file from $(objpfx)gconv-modules.
13450         ($(objpfx)gconv-modules): Concatenate architecture specific file
13451         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13452         * sysdeps/s390/gconv-modules: New file.
13453         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13454         Deleted.
13455         ($(objpfx)gconv-modules-s390): Deleted.
13456         (sysdeps-gconv-modules): New variable.
13458 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13460         [BZ #15479]
13461         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13462         of immediate operand to rounding instruction.
13463         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13464         Likewise.
13465         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13466         Likewise.
13467         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13468         Likewise.
13470 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13472         * math/libm-test.inc (MIN_EXP): Directly define as
13473         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13475 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13477         * math/libm-test.inc (MANT_DIG): Directly define as
13478         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13480 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13482         * stdlib/gen-tst-strtod-round.c (main):
13483           Change usage to more closely match the generated
13484           output.  Add usage and compilation instructions.
13485           (string_to_fp): Add and use FILE* parameter as
13486           output target.
13487           (print_fp): Likewise.
13488           (round_str): Likewise.
13489           (round_for_all): Likewise.
13490         * stdlib/tst-strtod-round.c (tests): Move into
13491         * stdlib/tst-strtod-round-data.h: New file.
13493 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13495         [BZ #15479]
13496         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
13497         (__round): Do not force "inexact" exception.
13498         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
13499         variable.
13500         (__round): Do not force "inexact" exception.
13501         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
13502         (__roundf): Do not force "inexact" exception.
13503         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
13504         (__roundl): Do not force "inexact" exception.
13505         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
13506         (__roundl): Do not force "inexact" exception.
13507         * math/libm-test.inc (round_test_data): Do not allow spurious
13508         "inexact" exceptions.
13510         [BZ #15479]
13511         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
13512         exception in comment.
13513         (huge): Remove variable.
13514         (__floor): Do not force "inexact" exception.
13515         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
13516         "inexact" exception in comment.
13517         (huge): Remove variable.
13518         (__floor): Do not force "inexact" exception.
13519         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
13520         exception in comment.
13521         (huge): Remove variable.
13522         (__floorf): Do not force "inexact" exception.
13523         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
13524         exception in comment.
13525         (huge): Remove variable.
13526         (__floorl): Do not force "inexact" exception.
13528         [BZ #15479]
13529         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
13530         exception in comment.
13531         (huge): Remove variable.
13532         (__ceil): Do not force "inexact" exception.
13533         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
13534         "inexact" exception in comment.
13535         (huge): Remove variable.
13536         (__ceil): Do not force "inexact" exception.
13537         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
13538         (__ceilf): Do not force "inexact" exception.
13539         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
13540         exception in comment.
13541         (huge): Remove variable.
13542         (__ceill): Do not force "inexact" exception.
13544 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13546         * config.h.in (BIND_NOW): New.
13547         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
13548         * configure: Regenerated.
13549         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
13550         indirect branch via the GOT slot.
13552 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13554         [BZ #19765]
13555         * sysdeps/s390/mempcpy.S: New File.
13556         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13557         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
13558         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13559         Add mempcpy variants.
13560         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
13561         (memcpy): Adjust to be usable from mempcpy entry point.
13562         (__memcpy_mvcle): Likewise.
13563         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13564         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
13565         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
13566         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
13567         (__memcpy_z10): Likewise.
13568         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13570 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13572         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
13573         Remove __GI_ symbol.
13574         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
13575         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
13576         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
13577         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13578         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
13579         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
13581 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13583         * sysdeps/s390/s390-64/memcpy.S (memcpy):
13584         Use cghi instead of chi to compare 64bit value.
13586 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13588         * sysdeps/s390/s390-32/memcpy.S (memcpy):
13589         Jump to 1MB check before executing mvc-loop.
13591 2016-05-24  Florian Weimer  <fweimer@redhat.com>
13593         [BZ #6527]
13594         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
13595         unconditionally.
13596         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
13598 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13600         * stdlib/tst-strtod6.c (do_test): Use new type generic
13601         invocation of the test function.
13602         (test): Refactor into ...
13603         (TEST_STRTOD): New macro base function.
13605 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13607         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
13608         (TEST_STRTOD): New macro.
13609         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
13611 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13613         * stdlib/tst-strtod6.c (do_test): Use new type generic
13614         invocation of the test function.
13615         (test): Refactor into ...
13616         (TEST_STRTOD): New macro base function.
13618 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13620         CVE-2016-4429
13621         [BZ #20112]
13622         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
13623         payload.
13625 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13627         [BZ #20111]
13628         * bits/sockaddr.h (_SS_SIZE): Define.
13629         * bits/socket.h (_SS_SIZE): Remove.
13630         (_SS_PADSIZE): Adjust to account for all padding.
13631         (struct sockaddr_storage): Update comment.  Avoid implicit
13632         padding.
13633         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
13634         (_SS_PADSIZE): Adjust to account for all padding.
13635         (struct sockaddr_storage): Update comment.  Avoid implicit
13636         padding.
13637         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
13638         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
13639         (_SS_PADSIZE): Adjust to account for all padding.
13640         (struct sockaddr_storage): Update comment.  Avoid implicit
13641         padding.
13642         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
13643         __SS_SIZE is 126 in this version.
13644         * inet/tst-sockaddr.c: New file.
13645         * inet/Makefile (tests): Add tst-sockaddr.c
13646         (tst-sockaddr.c): Compile with non-strict aliasing.
13648 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
13650         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
13651         [XPG3 || XPG4].
13652         (NL_ARGMAX): Also expect for [XPG3].
13653         (NL_LANGMAX): Likewise.
13654         (NL_MSGMAX): Likewise.
13655         (NL_NMAX): Likewise.
13656         (NL_SETMAX): Likewise.
13657         (NL_TEXTMAX): Likewise.
13658         (NZERO): Likewise.
13659         (TMP_MAX): Likewise.
13660         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13661         variable.
13663         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13664         (PF_MAX): Update value.
13665         (AF_KCM): New macro.
13666         (SOL_NETBEUI): Likewise.
13667         (SOL_LLC): Likewise.
13668         (SOL_DCCP): Likewise.
13669         (SOL_NETLINK): Likewise.
13670         (SOL_TIPC): Likewise.
13671         (SOL_RXRPC): Likewise.
13672         (SOL_PPPOL2TP): Likewise.
13673         (SOL_BLUETOOTH): Likewise.
13674         (SOL_PNPIPE): Likewise.
13675         (SOL_RDS): Likewise.
13676         (SOL_IUCV): Likewise.
13677         (SOL_CAIF): Likewise.
13678         (SOL_ALG): Likewise.
13679         (SOL_NFC): Likewise.
13680         (SOL_KCM): Likewise.
13681         (MSG_BATCH): New enum value and macro.
13683 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13685         [BZ #18185]
13686         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13687         sharing L2 cache to 2 for Knights Landing.
13689 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13691         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13692         (FTW_DP): Do not expect for [XPG3 || XPG4].
13693         (FTW_SL): Do not expect for [XPG3].
13694         (FTW_SLN): Likewise.
13695         (FTW_PHYS): Likewise.
13696         (FTW_MOUNT): Likewise.
13697         (FTW_DEPTH): Likewise.
13698         (FTW_CHDIR): Likewise.
13699         (nftw): Likewise.
13700         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13701         variable.
13703 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13705         * manual/errno.texi: Fix various typos & grammar errors.
13707 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13709         * manual/intro.texi: Fix duplicated typo.
13711 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #13304]
13714         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13715         <float.h>, <math_private.h> and <stdlib.h>.
13716         (add_split): New function.
13717         (mul_split): Likewise.
13718         (ext_val): New typedef.
13719         (store_ext_val): New function.
13720         (mul_ext_val): New function.
13721         (compare): New function.
13722         (add_split_ext): New function.
13723         (__fmal): After checking for Inf, NaN and zero, compute result as
13724         an exact sum of scaled double values in round-to-nearest before
13725         adding those up and adjusting for other rounding modes.
13726         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13727         tests of fma.
13728         * math/auto-libm-test-out: Regenerated.
13730 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13732         [BZ #20119]
13733         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13734         processor level type mask for CPUID with EAX == 11.
13736 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13738         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13739         logical threads if the HTT bit is 0.
13740         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13741         (index_cpu_HTT): Likewise.
13742         (reg_HTT): Likewise.
13744 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13746         [BZ #20115]
13747         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13748         Remove alignments on jump targets.
13750 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13752         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13753         (getpwent): Likewise.
13754         (setpwent): Likewise.
13755         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13756         variable.
13758         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13759         (remque): Likewise.
13760         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13761         variable.
13763 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13765         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13766         not being tested.
13768 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13770         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13771         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13772         call.
13773         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13774         (__condvar_cleanup1): Likewise.
13776 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13778         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13779         New
13780         (__pthread_unwind): Renamed to ...
13781         (PTHREAD_UNWIND): This.
13782         (__pthread_enable_asynccancel): Replace
13783         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13785 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13787         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13788         (CLONE_NEWCGROUP): New macro.
13790         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13791         (Q_GETNEXTQUOTA): New macro.
13793 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13795         [BZ #19907]
13796         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13797         buffer updated by the previous run.
13798         * string/test-memcpy.c (do_one_test): Likewise.
13799         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13800         * string/test-memmove.c (do_one_test): Likewise.
13802 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13804         [BZ #20094]
13805         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13806         not [__USE_XOPEN].
13807         (unlockpt): Likewise.
13808         (ptsname): Likewise.
13809         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13810         variable.
13812         [BZ #20076]
13813         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13814         instead of [__USE_UNIX98].
13815         (S_ISSOCK): Likewise.
13816         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13817         variable.
13819         [BZ #20074]
13820         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13821         [__USE_POSIX].
13822         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13823         variable.
13825         [BZ #20051]
13826         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13827         (ttyslot): Do not declare.
13828         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13829         (ttyslot): New prototype.
13830         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13831         variable.
13832         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13834 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13836         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13838 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13840         Fix race condition in tst-mallocfork2, use fewer resources.
13841         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13842         to current process group.
13843         (signal_sender): Yield in the non-sleeping case.
13845 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13847         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13848         (ecvt): Likewise.
13849         (fcvt): Likewise.
13850         (gcvt): Likewise.
13851         (getsubopt): Likewise.
13852         (grantpt): Likewise.
13853         (initstate): Likewise.
13854         (l64a): Likewise.
13855         (mktemp): Likewise.
13856         (mkstemp): Likewise.
13857         (ptsname): Likewise.
13858         (random): Likewise.
13859         (realpath): Likewise.
13860         (setstate): Likewise.
13861         (srandom): Likewise.
13862         (ttyslot): Likewise.
13863         (unlockpt): Likewise.
13864         (valloc): Likewise.
13866         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13867         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13868         variable.
13870 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13872         [BZ #20072]
13873         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13874         init_cpu_features only if SHARED is defined.
13875         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13877 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13879         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13880         non-inclusive caches on Intel processors.
13882 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13884         * malloc/malloc.c (dumped_main_arena_start)
13885         (dumped_main_arena_end): New variables.
13886         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13887         (do_check_chunk): Skip dumped fake mmapped chunks.
13888         (munmap_chunk): Likewise.
13889         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13890         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13891         mmapped chunks.
13892         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13893         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13894         and dumped_main_arena_end to cover the dumped heap.
13896 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13898         * conform/data/time.h-data (getdate_err): Do not expect for
13899         [XPG3].
13900         (getdate): Likewise.
13901         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13902         variable.
13904         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13905         (F_ULOCK): Likewise.
13906         (F_TEST): Likewise.
13907         (F_TLOCK): Likewise.
13908         (useconds_t): Likewise.
13909         (intptr_t): Do not expect for [XPG3] or [XPG4].
13910         (brk): Do not expect for [XPG3]
13911         (fchown): Likewise.
13912         (fchdir): Likewise.
13913         (ftruncate): Likewise.
13914         (getdtablesize): Likewise.
13915         (gethostid): Likewise.
13916         (getpagesize): Likewise.
13917         (getpgid): Likewise.
13918         (getsid): Likewise.
13919         (getwd): Likewise.
13920         (lchown): Likewise.
13921         (lockf): Likewise.
13922         (readlink): Likewise.
13923         (sbrk): Likewise.
13924         (setpgrp): Likewise.
13925         (setregid): Likewise.
13926         (setreuid): Likewise.
13927         (symlink): Likewise.
13928         (sync): Likewise.
13929         (truncate): Likewise.
13930         (ualarm): Likewise.
13931         (usleep): Likewise.
13932         (vfork): Likewise.
13933         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13934         variable.
13936         [BZ #20054]
13937         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13938         not [__USE_UNIX98].
13939         * conform/data/unistd.h-data (gethostname): Do not expect for
13940         [XPG3].
13942         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13943         [!POSIX] (S_IFBLK): Likewise.
13944         [!POSIX] (S_IFCHR): Likewise.
13945         [!POSIX] (S_IFIFO): Likewise.
13946         [!POSIX] (S_IFREG): Likewise.
13947         [!POSIX] (S_IFDIR): Likewise.
13948         [!POSIX] (S_IFLNK): Likewise.
13949         [!POSIX] (S_IFSOCK): Likewise.
13950         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13951         variable.
13952         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13954 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13956         * sysdeps/aarch64/memset.S (__memset):
13957         Rewrite of optimized memset.
13959 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13961         [BZ #19703]
13962         Partially async-signal-safe fork for single-threaded processes.
13963         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13964         variable.  Do not acquire and reset/release malloc and libio locks
13965         in single-threaded processes.
13966         * malloc/tst-mallocfork2.c: New file.
13967         * malloc/Makefile (tests): Add it.
13969 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13971         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13972         argument.  Use scratch buffer instead of extend_alloca.
13973         (gethosts): Use scratch buffer instead of extend_alloca.
13974         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13975         extend_alloca.
13976         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13978 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13980         [BZ #20055]
13981         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13982         instead of [__USE_UNIX98].
13983         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13984         [__USE_UNIX98].
13985         * conform/data/termios.h-data (tcgetsid): Do not expect for
13986         [XPG3].
13987         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13988         variable.
13989         (test-xfail-XPG4/termios.h/conform): Likewise.
13991 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13993         Do not use mcheck in localedef.
13994         * locale/programs/localedef.c (turn_on_mcheck)
13995         (__malloc_initialize_hook): Remove.
13997 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13999         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14000         * sysdeps/s390/s390-64/Makefile: Likewise.
14002 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14004         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14005         Remove ifunc-defines.sym.
14006         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14007         Likewise.
14008         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14009         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14010         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14011         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14012         rtld-global-offsets.sym.
14013         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14014         * sysdeps/x86/cpu-features-offsets.sym: This.
14015         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14016         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14018 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #20073]
14021         * io/sys/stat.h (fchmod): Declare for
14022         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14023         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14024         variable.
14026         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14027         [XPG3] (S_IFSOCK): Likewise.
14028         [XPG3] (S_ISVTX): Likewise.
14029         [XPG3] (S_ISLNK): Likewise.
14030         [XPG3] (S_ISSOCK): Likewise.
14031         [XPG3] (fchmod): Likewise.
14032         [XPG3] (lstat): Likewise.
14033         [XPG3] (mknod): Likewise.
14035         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14036         [XPG3].  Expect type long and XFAIL for [XPG4].
14037         (st_blocks): Likewise.
14039         [BZ #20044]
14040         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14041         (pthread_atfork): New prototype.
14042         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14043         variable.
14045         [BZ #20043]
14046         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14047         prototype.
14049 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14051         [BZ #20017]
14052         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14053         gmtime.
14055 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14057         [BZ #19994]
14058         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14059         flag in _res.options.
14061 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14063         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14064         [XPG3 || XPG4].
14065         (blksize_t): Likewise.
14066         (clockid_t): Likewise.
14067         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14068         variable.
14069         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14071 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14073         * sysdeps/unix/sysv/linux/s390/init-first.c:
14074         Add VDSO_SYMBOL(getcpu).
14075         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14076         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14077         Add VDSO_SYMBOL(getcpu).
14078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14079         New define HAVE_GETCPU_VSYSCALL.
14080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14082 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14084         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14085         instead of <sysdeps/x86_64/cacheinfo.c>.
14086         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14087         * sysdeps/x86/cacheinfo.c: Here.
14089 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14091         * malloc/malloc-internal.h: Adjust header file guard.
14093 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14095         [BZ #19787]
14096         * inet/getnameinfo.c (check_sprintf_result): New function.
14097         (CHECKED_SNPRINTF): New macro.
14098         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14099         to the host buffer.
14100         (gni_host_local): Use checked_copy to copy the host name.
14101         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14102         (gni_serv_local): Use checked_copy to copy the service name.
14103         (getnameinfo): Remove unnecessary truncation of result buffers.
14105 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14107         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14108         in case of inet_ntop failure.
14110 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14112         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14113         avoid long lines.
14114         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14115         variables.
14116         (gni_host_inet, gni_host_local): Add comment.
14117         (gni_host): Add comment.  Use temporary to avoid long lines.
14119 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14121         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14122         registers specifiers where general purpose registers specifiers should
14123         have been used.
14125 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14127         [BZ #19779]
14128         CVE-2016-1234
14129         Avoid copying names of directory entries.
14130         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14131         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14132         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14133         (struct readdir_result): New type.
14134         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14135         (GL_READDIR): New macros.
14136         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14137         (convert_dirent, convert_dirent64): New functions.
14138         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14139         convert_dirent64.  Adjust references to the readdir result.
14140         * sysdeps/unix/sysv/linux/i386/glob64.c:
14141         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14142         * posix/bug-glob2.c (LONG_NAME): Define.
14143         (filesystem): Add LONG_NAME.
14144         (my_DIR): Increase the size of room_for_dirent.
14146 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14148         [BZ #20041]
14149         * misc/sys/select.h (__need_timespec): Only define if
14150         [__USE_XOPEN2K].
14151         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14152         variable.
14153         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14154         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14155         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14157 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14158             Segher Boessenkool  <segher@gcc.gnu.org>
14160         [BZ #20004]
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14162         (__novec_swapcontext): Add missing load.
14164 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14166         [BZ #20023]
14167         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14168         <time.h>.
14169         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14170         variable.
14171         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14173 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14176         flags CLONE_VM compare.
14178 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14180         [BZ #20031]
14181         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14182         completely empty.
14184 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14186         [BZ #19573]
14187         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14188         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14189         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14190         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14191         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14192         (hesiod_free_list): Mark as hidden.
14193         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14194         res_set, res_get.
14195         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14196         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14197         (hesiod_init): Remove obsolete res_ninit call.
14198         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14199         (hesiod_bind): Do not call init.
14200         (get_txt_records): Use res_mkquery, res_send instead of
14201         res_nmkquery, res_nsend.
14202         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14203         instead of _nss_hesiod_init.
14204         (_nss_hesiod_initgroups_dyn): Likewise.
14205         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14206         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14207         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14209 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14211         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14212         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14214 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14216         * hesiod/hesiod.h: Remove RCS keyword.
14217         * hesiod/hesiod_p.h: Likewise.
14219         * hesiod/hesiod.c: Likewise.
14221 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14223         [BZ #12450]
14224         * locale/iso-639.def: Add Samogitian/sgs.
14226 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14228         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14230         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14232 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14233             Carlos O'Donell  <carlos@redhat.com>
14235         [BZ #19072]
14236         * grp/Makefile (headers): Add grp-merge.h
14237         (routines): Add grp-merge.
14238         * grp/getgrgid_r.c: Include grp-merge.h.
14239         (DEEPCOPY_FN): Define.
14240         (MERGE_FN): Define.
14241         * grp/getgrname_r.c: Include grp-merge.h.
14242         (DEEPCOPY_FN): Define.
14243         (MERGE_FN): Define.
14244         * grp/grp-merge.c: New file.
14245         * grp/grp-merge.h: New file.
14246         * include/grp-merge.h: New file.
14247         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14248         __copy_grp@GLIBC_PRIVATE.
14249         * manual/nss.texi (Actions in the NSS configuration): Describe
14250         return, continue, and merge.
14251         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14252         (DEEPCOPY_FN): Define.
14253         (MERGE_FN): Define.
14254         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14255         (DEEPCOPY_FN): Define.
14256         (MERGE_FN): Define.
14257         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14258         [!MERGE_FN]: Define __merge_einval.
14259         (CHECK_MERGE): Define.
14260         (REENTRANT_NAME): Process merge if do_merge is true.
14261         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14262         (__nss_getent_r): Likewise.
14263         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14264         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14266 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14268         [BZ #20012]
14269         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14270         length to calculate the buffer to read.
14271         (fmemopen_write): Set the buffer position based on bytes written.
14272         (fmemopen_seek): Return EINVAL for invalid whence modes.
14274         [BZ #19957]
14275         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14276         tst-getpid2.
14277         (test): Add tst-clone2.
14278         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14279         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14280         pid/tid fields for CLONE_VM.
14281         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14282         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14283         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14284         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14285         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14286         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14287         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14288         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14290         Likewise.
14291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14292         Likewise.
14293         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14294         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14295         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14296         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14297         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14298         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14299         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14300         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14302 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14304         [BZ #19642]
14305         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14306         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14307         (gni_serv_local, gni_serv): New functions extracted from
14308         getnameinfo.
14309         (getnameinfo): Call gni_host and gni_serv to perform the
14310         processing.  Always free scratch buffer.
14312 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14314         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14315         remaining bytes in the dest string, with zeros.
14317 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14319         [BZ #20010]
14320         CVE-2016-3706
14321         * sysdeps/posix/getaddrinfo.c
14322         (convert_hostent_to_gaih_addrtuple): New function.
14323         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14324         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14325         AF_INET data.
14327 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14329         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14330         callback function gl_readdir.
14331         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14332         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14333         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14334         memcpy to copy the name.
14335         * manual/pattern.texi (Calling Glob): Document requirements for
14336         implementations of the gl_readdir callback function.
14337         * manual/examples/mkdirent.c: New example.
14338         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14339         per the manual guidance.
14340         * posix/tst-gnuglob.c (my_readdir): Likewise.
14342 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14344         [BZ #20014]
14345         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14346         not [__USE_POSIX].
14347         (getchar_unlocked): Likewise.
14348         (putc_unlocked): Likewise.
14349         (putchar_unlocked): Likewise.
14350         (flockfile): Likewise.
14351         (ftrylockfile): Likewise.
14352         (funlockfile): Likewise.
14353         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14354         variable.
14355         (test-xfail-XPG4/stdio.h/conform): Likewise.
14357         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14358         Expect constant.
14359         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14360         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14361         variable.
14362         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14363         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14365         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14366         [__USE_LARGEFILE64] (off64_t): Likewise.
14367         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14368         variable.
14370 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14372         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14374 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14376         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14377         * resolv/res_init.c: Likewise.
14378         * resolv/res_mkquery.c: Likewise.
14380 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14382         * resolv/res_init.c (isascii): Do not define.  Use definition in
14383         <ctype.h>.
14384         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14385         (LOG_AUTH): Remove.
14386         (SPRINTF): Remove, adjust caller.
14387         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14389 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14391         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14392         SUNSECURITY conditional.
14393         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14395 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14397         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14398         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14399         Remove BSD-related preprocessor conditionals.
14400         * conf/portability.h: Remove.
14402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14404         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14405         * resolv/res_data.c: Likewise.
14407 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14409         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14410         * resolv/res_data.c: Remove code conditional on ultrix.
14412 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14414         * resolv/res_init.c (RFC1535): Do not define.  Remove
14415         RFC1535 preprocessor conditionals.
14416         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14417         because there configuration options which make the resolver
14418         behavior different.
14420 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14422         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14423         RESOLVSORT preprocessor conditionals.
14424         * resolv/nss_dns/dns-host.c: Likewise.
14425         * resolv/res_init.c: Likewise.
14427 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14429         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14430         is never defined.
14432 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14434         * inet/inet_lnaof.c: Remove SCSS keyword.
14435         * inet/inet_mkadr.c: Likewise.
14436         * inet/inet_net.c: Likewise.
14437         * inet/inet_netof.c: Likewise.
14438         * inet/rcmd.c: Likewise.
14439         * inet/rexec.c: Likewise.
14440         * inet/ruserpass.c: Likewise.
14442 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14444         * resolv/inet_addr.c: Remove _LIBC conditionals.
14445         * resolv/res_data.c: Likewise.
14446         * resolv/res_init.c: Likewise.
14447         * resolv/res_mkquery.c: Likewise.
14448         * resolv/res_libc.c: Update comment.
14449         * resolv/README: Update.
14451 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14453         * resolv/gethnamaddr.c: Remove SCSS keyword.
14454         * resolv/herror.c: Likewise.
14455         * resolv/inet_addr.c: Likewise.
14456         * resolv/inet_net_ntop.c: Likewise.
14457         * resolv/inet_net_pton.c: Likewise.
14458         * resolv/inet_neta.c: Likewise.
14459         * resolv/inet_ntop.c: Likewise.
14460         * resolv/inet_pton.c: Likewise.
14461         * resolv/ns_date.c: Remove RCS keyword.
14462         * resolv/ns_name.c: Likewise.
14463         * resolv/ns_netint.c: Likewise.
14464         * resolv/ns_parse.c: Likewise.
14465         * resolv/ns_print.c: Likewise.
14466         * resolv/ns_samedomain.c: Likewise.
14467         * resolv/ns_ttl.c: Likewise.
14468         * resolv/nsap_addr.c: Likewise.
14469         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14470         * resolv/res_data.c: Remove RCS keyword.
14471         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14472         * resolv/res_init.c: Likewise.
14473         * resolv/res_mkquery.c: Likewise.
14474         * resolv/res_query.c: Likewise.
14475         * resolv/res_send.c: Likewise.
14477 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14479         * conform/data/stdio.h-data (fdopen): Expect also for
14480         [XPG3 || XPG4].
14482         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14483         (fseeko): Likewise.
14484         (ftello): Likewise.
14485         (ftrylockfile): Likewise.
14486         (funlockfile): Likewise.
14487         (getc_unlocked): Likewise.
14488         (getchar_unlocked): Likewise.
14489         (putc_unlocked): Likewise.
14490         (putchar_unlocked): Likewise.
14492 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14494         [BZ #19868]
14495         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
14496         DNS packet syntax checks (which were not needed before).  Skip
14497         over non-PTR records.
14499 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14501         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
14502         definition.  Include <stddef.h> instead.
14504 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14506         [BZ #19831]
14507         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
14508         function.
14509         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
14510         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
14512 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14514         [BZ #19862]
14515         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
14516         (getanswer_r): Do not call syslog.
14517         (gaih_getanswer_slice): Likewise.
14518         * resolv/gethnamaddr.c (AskedForGot): Remove.
14519         (getanswer): Do not call syslog.
14520         (gethostbyaddr): Likewise.
14522 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14524         * conform/data/signal.h-data (union sigval): Expect also if
14525         [XOPEN2K].
14526         (struct sigevent): Likewise.
14527         (SIGEV_NONE): Likewise.
14528         (SIGEV_SIGNAL): Likewise.
14529         (SIGEV_THREAD): Likewise.
14530         (SIGRTMIN): Likewise.
14531         (SIGRTMAX): Likewise.
14532         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
14533         variable.
14534         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14536 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14538         [BZ #19830]
14539         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
14540         (gaih_getanswer_slice): Likewise.
14541         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
14542         Also check for availability of RR metadata.
14544 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14546         [BZ #19825]
14547         * resolv/res_send.c (send_vc): Remove early *resplen2
14548         initialization.  Set *resplen2 on socket error.  Call
14549         close_and_return_error for other errors.
14551 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
14553         * sysdeps/unix/sysv/linux/netiucv/iucv.h
14554         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
14555         (SCM_IUCV_TRGCLS): New define.
14557 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14559         [BZ #20005]
14560         * libio/fmemopen.c (fmemopen_write): Update internal position after
14561         write.
14562         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
14563         * stdio-common/tst-fmemopen4.c: New file..
14565 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
14567         [BZ #19996]
14568         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
14569         not [__USE_XOPEN2K].
14570         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
14571         variable.
14573         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
14574         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
14575         variable.
14577         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
14578         [__USE_XOPEN2K8].
14579         [__USE_LARGEFILE64] (off64_t): Likewise.
14580         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
14581         variable.
14583 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
14585         [BZ #19989]
14586         * libio/stdio.h (cuserid): Do not declare if
14587         [__USE_XOPEN2K && !__USE_GNU].
14588         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
14589         variable.
14591 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14593         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14594         (sysdep_routines): Add P8 and PPC64 strcspn targets.
14595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14596         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14597         ifunc'ed strcspn.
14598         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14599         [EALIGN]: Removed.
14600         [END]: Likewise
14601         [STRSPN]: Define instead of the above to control symbol name.
14602         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
14603         New file.
14604         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
14605         Likewise.
14606         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
14607         Likewise.
14608         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
14609         Likewise.
14610         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14611         [INITIAL_MASK]: New macro.
14612         [STRCSPN]: Likewise.
14613         [UPDATE_MASK]: Likewise.
14614         [USE_AS_STRCSPN]: Likewise.
14616 2016-04-25  Florian Weimer  <fweimer@redhat.com>
14618         [BZ #19931]
14619         * stdio-common/tst-vfprintf-width-prec.c: New file.
14620         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
14621         (tests-special): Add tst-vfprintf-width-prec-mem.out.
14622         (generated): Add mtrace-related files.
14623         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
14624         (tst-%-mem.out): New pattern rule, replaces
14625         tst-printf-bz18872-mem.out.
14626         * stdio-common/vfprintf.c (vfprintf): When handling a precision
14627         specifier, deallocate any previously allocated work buffer.
14629 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14631         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
14632         Add nop before __startcontext, add explaining comments.
14634 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
14636         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
14637         any more. Notably since IPV6_PKTINFO has been reintroduced with a
14638         completely different API.
14640         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
14641         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
14642         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
14643         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
14644         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
14645         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
14646         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
14647         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
14648         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
14649         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
14651 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
14653         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14655 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14657         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14658         when it is the default of 0.
14660 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14662         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14663         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14664         (sysdep_routines): Add new strcasestr targets.
14665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14666         (__libc_ifunc_impl_list): Likewise.
14667         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14668         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14669         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14670         * sysdeps/powerpc/powerpc64/power8/Makefile:
14671         New file to add strcasestr-ppc64 to sysdep_routines.
14672         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14673         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14675 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14677         * benchtests/Makefile (wcsmbs-benchset): Include only for
14678         native builds and runs.
14679         (LOCALES): Likewise.
14680         (bench-build): Build timing-type here instead of the bench
14681         target.  Generate locale only for native builds.
14682         * benchtests/README: Add note for cross-building.
14684         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14686         * benchtests/README: Update README to include instructions on
14687         using bench-build.
14689         * Makefile.in (bench-build): New target.
14690         * Rules (PHONY): Add bench-build target.
14691         * benchtests/Makefile (bench): Depend on bench-build.
14692         (bench-build): New target.
14694 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14696         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14697         profil_reply_port.
14698         (profile_waiter): Do not initialize profil_reply_port.
14699         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14700         frequency instead of tick length in us.
14702 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14704         [BZ #18712]
14705         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14706         (__old_mempcpy_small): Likewise.
14707         (__old_strcpy_small): Likewise.
14708         (__old_stpcpy_small): Likewise.
14709         (__old_strpbrk_c2): Fix compat symbol name.
14710         (__old_strpbrk_c3): Likewise.
14711         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14712         (__mempcpy_small): Remove.
14713         (__strcpy_small): Remove.
14714         (__stpcpy_small): Remove.
14716 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14718         [BZ #19400]
14719         * locale/iso-639.def: Add the Talossan/tzl language.
14721 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14723         [BZ #16983]
14724         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14725         comment.  Add "ln" to strchr check on postal_fmt.
14727 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14729         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14730         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14731         tel_dom_fmt.
14733 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14735         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14736         (sysdep_routines): Added __strlen_power8.
14737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14738         __strlen_power8 entry.
14739         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14740         Implementation for POWER8.
14741         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14742         for __strlen_power8.
14743         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14744         Implementation for POWER8.
14746 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14748         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14750 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14752         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14753         Goldmont and Airmont processors.
14755 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14757         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14758         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14759         (__STRING2_SMALL_GET32): Remove.
14760         (memset): Remove.
14761         (__memset_1): Remove.
14762         (__memset_gc): Remove.
14763         (__mempcpy): Remove.
14764         (mempcpy): Remove.
14765         (__mempcpy_args): Remove.
14766         (strchr): Remove.
14767         (strcpy): Remove.
14768         (strcpy_args): Remove.
14769         (__stpcpy_args): Remove.
14770         (__strcmp_cc): Remove.
14771         (__strcmp_gc): Remove.
14772         (strstr): Remove.
14774 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14776         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14777         * nis/nis_call.c (nis_server_cache_add): Likewise.
14779 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14781         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14783 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14785         * malloc/arena.c (__malloc_fork_lock_parent)
14786         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14787         internal_function attribute.
14789 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14791         * stdio-common/printf_fp.c (__printf_fp_l):
14792         Rename ___printf_fp_l to __printf_fp_l and
14793         remove strong alias. Use libc_hidden_def instead
14794         of ldbl_hidden_def macro.
14796 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14798         Remove malloc hooks from fork handler.  They are no longer needed
14799         because malloc runs right before fork, and no malloc calls from
14800         other fork handlers are not possible anymore.
14801         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14802         declarations.
14803         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14804         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14805         (atfork_recursive_cntr): Remove.
14806         (__malloc_fork_lock_parent): Do not override malloc hooks and
14807         thread_arena.
14808         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14809         thread_arena.
14810         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14811         thread_arena instead of save_arena.
14813 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14815         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14816         (thread_atfork, thread_atfork_static): Remove.
14817         * sysdeps/mach/hurd/malloc-machine.h:
14818         (thread_atfork, thread_atfork_static): Remove.
14820 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14822         [BZ #19431]
14823         Run the malloc fork handler as late as possible to avoid deadlocks.
14824         * malloc/malloc-internal.h: New file.
14825         * malloc/malloc.c: Include it.
14826         * malloc/arena.c (ATFORK_MEM): Remove.
14827         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14828         Update comment.
14829         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14830         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14831         Remove outdated comment.
14832         (ptmalloc_init): Do not call thread_atfork.  Remove
14833         thread_atfork_static.
14834         * malloc/tst-malloc-fork-deadlock.c: New file.
14835         * Makefile (tests): Add tst-malloc-fork-deadlock.
14836         (tst-malloc-fork-deadlock): Link against libpthread.
14837         * manual/memory.texi (Aligned Memory Blocks): Update safety
14838         annotation comments.
14839         * sysdeps/nptl/fork.c (__libc_fork): Call
14840         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14841         __malloc_fork_unlock_child.
14842         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14844 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14846         [BZ #19613]
14847         Remove union wait.
14848         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14849         (w_stopsig, w_stopval): Remove.
14850         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14851         stat_loc argument.
14852         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14853         (__WAIT_STATUS_DEFN): Remove.
14854         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14855         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14856         (wait, wait3, wait4): Use int * for the stat_loc argument.
14857         * posix/wait.c (__wait): Likewise.
14858         * posix/wait3.c (__wait3): Likewise.
14859         * posix/wait4.c (__wait4): Likewise.
14860         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14861         (__WAIT_STATUS_DEFN): Remove.
14862         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14863         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14864         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14865         argument.
14866         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14867         * sysdeps/posix/wait3.c (__wait3): Likewise.
14868         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14869         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14870         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14871         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14872         stat_loc argument.
14873         * manual/process.texi (BSD Wait Functions): Remove union wait.
14875 2016-04-13  Andreas Schwab  <schwab@suse.de>
14877         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14878         (test-extras): Add tst-tlsalign-vars.
14879         * math/Makefile: Wrap long lines.
14880         (libm-vec-test-wrappers): Define.
14881         (test-extras): Add $(libm-vec-test-wrappers).
14882         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14883         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14884         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14885         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14886         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14887         (extra-test-objs): Add corresponding objects.
14889 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14891         [BZ #19928]
14892         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14893         New.
14894         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14895         times of shared cache size.
14896         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14897         (VMOVNT): New.
14898         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14899         (VMOVNT): Likewise.
14900         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14901         (VMOVNT): Likewise.
14902         (VMOVU): Changed to movups for smaller code sizes.
14903         (VMOVA): Changed to movaps for smaller code sizes.
14904         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14905         comments.
14906         (PREFETCH): New.
14907         (PREFETCH_SIZE): Likewise.
14908         (PREFETCHED_LOAD_SIZE): Likewise.
14909         (PREFETCH_ONE_SET): Likewise.
14910         Rewrite to use forward and backward loops, which move 4 vector
14911         registers at a time, to support overlapping addresses and use
14912         non temporal store if size is above the threshold and there is
14913         no overlap between destination and source.
14915 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14917         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14918         Include dl-vdso.
14919         * sysdeps/unix/sysv/linux/mips/Versions: Add
14920         __vdso_clock_gettime.
14921         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14922         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14923         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14924         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14925         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14926         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14927         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14928         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14929         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14931 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14933         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14934         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14937         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14938         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14941         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14942         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14943         syscalls generation.
14944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14945         [__NR_pwrite64] (__NR_write): Remove define.
14946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14947         [__NR_pwrite64] (__NR_write): Remove define.
14948         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14949         Remove define.
14950         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14951         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14952         Remove define.
14953         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14954         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14955         Linux implementation as base.
14956         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14958         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14959         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14961         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14964         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14965         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14966         syscall generation.
14967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14968         [__NR_pread64] (__NR_pread): Remove define.
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14970         [__NR_pread64] (__NR_pread): Likewise.
14971         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14972         define.
14973         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14974         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14975         Remove define.
14976         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14977         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14978         Linux implementation as base.
14979         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14980         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14981         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14983         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14984         definition.
14985         (__ALIGNMENT_COUNT): Likewise.
14986         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14987         (__ALIGNMENT_COUNT): Likewise.
14988         (SYSCALL_LL): New define.
14989         (SYSCALL_LL64): Likewise.
14990         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14991         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14992         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14993         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14996         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14997         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14998         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14999         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15000         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15002 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15004         [BZ #19865]
15005         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15006         original buffer before retry.
15008 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15010         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15011         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15012         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15013         GLRO(dl_auxv) list.
15014         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15015         including <ldsodefs.h>.
15016         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15018 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15020         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15021         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15022         $(CPPFLAGS).
15024 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15026         [BZ #17950]
15027         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15028         Add -mfpmath=387.
15030 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15032         * sysdeps/i386/configure.ac: Change == to = when calling test.
15033         * sysdeps/x86_64/configure.ac: Likewise.
15034         * sysdeps/i386/configure: Regenerated.
15035         * sysdeps/x86_64/configure: Likewise.
15037 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15039         [BZ #16137]
15040         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15041         * benchtests/bench-strcoll.c (input_files): Likewise.
15042         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15043         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15044         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15046 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15048         [BZ #19929]
15049         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15050         [__USE_XOPEN2K8 && !__USE_GNU].
15051         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15052         variable.
15054         [BZ #19925]
15055         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15056         define if [!__USE_MISC && __USE_XOPEN2K].
15057         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15058         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15059         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15060         Likewise.
15061         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15062         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15063         variable.
15064         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15066 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15068         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15069         (sysdep_routines): Add new strspn targets.
15070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15071         (__libc_ifunc_impl_list): Add strspn.
15072         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15073         New file.
15074         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15075         Likewise.
15076         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15077         Likewise.
15078         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15079         Likewise.
15081 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15083         * misc/hsearch_r.c: Include <limits.h>.
15085 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15087         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15089 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15091         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15092         (MEMCPY_SYMBOL): New.
15093         (MEMPCPY_SYMBOL): Likewise.
15094         (MEMMOVE_CHK_SYMBOL): Likewise.
15095         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15096         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15097         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15098         Provide alias for memcpy in libc.a and ld.so.
15100 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15102         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15103         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15104         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15105         Disabled fro now.
15106         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15107         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15109 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15111         * benchtests/Makefile (string-benchset): Add memcpy-large,
15112         memmove-large and memset-large.
15113         * benchtests/bench-memcpy-large.c: New file.
15114         * benchtests/bench-memmove-large.c: Likewise.
15115         * benchtests/bench-memmove-large.c: Likewise.
15116         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15118 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15120         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15121         32-bit displacement to avoid long nop between instructions.
15123 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15125         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15126         a comment on VMOVU and VMOVA.
15128 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15130         [BZ #19633]
15131         Use specified locale for number formatting in strfmon_l.
15132         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15133         (__nl_lookup_word): New inline functions.
15134         * include/printf.h (__print_fp_l): Declare.
15135         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15136         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15137         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15138         (___printf_fp): New function.
15139         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15140         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15141         * stdlib/tst-strfmon_l.c (do_test): New test.
15142         * stdlib/Makefile (tests): Add kt.
15143         (LOCALES): Build additional locales.
15144         (tst-strfmon_l.out): Require locales.
15146 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15148         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15149         if not in libc.
15150         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15151         Likewise.
15152         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15153         Likewise.
15154         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15155         Likewise.
15157 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15159         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15160         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15161         with unaligned_erms.
15162         (__memmove_erms): Skip if source == destination.
15163         (__memmove_unaligned_erms): Don't check source == destination
15164         first.
15166 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15168         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15169         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15171 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15173         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15174         * string/strspn.c (strspn): Likewise.
15176 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15178         * benchtests/bench-memset.c (do_test): Support 64-byte
15179         alignment.
15180         (test_main): Test 64-byte alignment.
15182 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15184         * benchtests/bench-memmove.c (test_main): Test 64-byte
15185         alignment.
15187 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15189         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15191 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15193         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15194         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15195         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15197         * string/strpbrk.c (strpbrk): Rewrite function.
15198         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15199         (__strpbrk_c2): Likewise.
15200         (__strpbrk_c3): Likewise.
15201         * string/string-inlines.c
15202         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15203         Likewise.
15204         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15205         Likewise.
15207         * string/strspn.c (strcspn): Rewrite function.
15208         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15209         (__strspn_c1): Remove inline function.
15210         (__strspn_c2): Likewise.
15211         (__strspn_c3): Likewise.
15212         * string/string-inlines.c
15213         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15214         compatibility symbol.
15215         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15216         Likewise.
15217         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15218         Likewise.
15219         * string/string-inlines.c: Include generic version.
15221 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15222             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15224         * string/Version (libc): Add GLIBC_2.24.
15225         * string/strcspn.c (strcspn): Rewrite function.
15226         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15227         (__strcspn_c1): Remove inline function.
15228         (__strcspn_c2): Likewise.
15229         (__strcspn_c3): Likewise.
15230         * string/string-inline.c
15231         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15232         compatibility symbol.
15233         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15234         Likewise.
15235         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15236         Likewise.
15237         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15239 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15241         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15242         Use ahi instead of aghi to adjust stack pointer.
15244 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15246         [BZ #19853]
15247         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15248         TEST to take significant digits as second parameter.
15249         [TEST]: Redefine in terms of TEST_N taking 30
15250         significant digits.
15251         (do_test): Add test case to demonstrate precision
15252         failure in the ldbl-128ibm printf.
15253         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15254         (__mpn_extract_long_double): Carry 7 extra intermediate
15255         bits of precision to aide computing difference when
15256         signs differ.
15258 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15260         [BZ #19881]
15261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15262         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15263         memset-avx512-unaligned-erms.
15264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15265         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15266         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15267         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15268         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15269         __memset_sse2_unaligned_erms, __memset_erms,
15270         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15271         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15272         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15273         file.
15274         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15275         Likewise.
15276         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15277         Likewise.
15278         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15279         Likewise.
15281 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15283         [BZ #19776]
15284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15285         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15286         memmove-avx512-unaligned-erms.
15287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15288         (__libc_ifunc_impl_list): Test
15289         __memmove_chk_avx512_unaligned_2,
15290         __memmove_chk_avx512_unaligned_erms,
15291         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15292         __memmove_chk_sse2_unaligned_2,
15293         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15294         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15295         __memmove_avx512_unaligned_erms, __memmove_erms,
15296         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15297         __memcpy_chk_avx512_unaligned_2,
15298         __memcpy_chk_avx512_unaligned_erms,
15299         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15300         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15301         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15302         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15303         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15304         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15305         __mempcpy_chk_avx512_unaligned_erms,
15306         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15307         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15308         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15309         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15310         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15311         __mempcpy_erms.
15312         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15313         file.
15314         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15315         Likewise.
15316         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15317         Likewise.
15318         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15319         Likewise.
15321 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15323         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15324         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15325         (La_s390_64_regs): Likewise.
15326         (La_s390_32_retval): Append vector register lrv_v24.
15327         (La_s390_64_retval): Likeweise.
15328         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15329         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15330         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15331         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15333 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15335         [BZ #19916]
15336         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15337         to create a non-vector/vector version for _dl_runtime_resolve and
15338         _dl_runtime_profile. Move implementation to ...
15339         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15340         (_dl_runtime_resolve) Save and restore fpr/vrs.
15341         (_dl_runtime_profile) Save and restore vrs and fix some issues
15342         if _dl_call_pltexit is called.
15343         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15344         Choose the correct resolver function if running on a machine with vx.
15345         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15346         to create a non-vector/vector version for _dl_runtime_resolve and
15347         _dl_runtime_profile. Move implementation to ...
15348         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15349         (_dl_runtime_resolve) Save and restore fpr/vrs.
15350         (_dl_runtime_profile) Save and restore vrs and fix some issues
15351         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15352         Choose the correct resolver function if running on a machine with vx.
15354 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15356         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15358 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15360         [BZ #19509]
15361         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15362         skip_map != NULL.
15363         * elf/tst-dlsym-error.c: New file.
15364         * elf/Makefile (tests): Add tst-dlsym-error.
15365         (tst-dlsym-error): Link against libdl.
15367 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15370         (__ASSUME_FUTIMESAT): Remove macro.
15371         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15373 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15375         [BZ #19879]
15376         CVE-2016-3075
15377         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15378         copy name.
15380 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15382         [BZ #19837]
15383         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15384         error if parse_line fails.
15386 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15388         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15389         (index_cpu_ERMS): Likewise.
15390         (reg_ERMS): Likewise.
15392 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15394         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15395         PER_LINUX_FDPIC): Add.
15397 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15400         memcpy-avx512-no-vzeroupper.
15401         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15402         to ...
15403         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15404         (MEMCPY): Don't define.
15405         (MEMCPY_CHK): Likewise.
15406         (MEMPCPY): Likewise.
15407         (MEMPCPY_CHK): Likewise.
15408         (MEMPCPY_CHK): Renamed to ...
15409         (__mempcpy_chk_avx512_no_vzeroupper): This.
15410         (MEMPCPY_CHK): Renamed to ...
15411         (__mempcpy_chk_avx512_no_vzeroupper): This.
15412         (MEMCPY_CHK): Renamed to ...
15413         (__memmove_chk_avx512_no_vzeroupper): This.
15414         (MEMCPY): Renamed to ...
15415         (__memmove_avx512_no_vzeroupper): This.
15416         (__memcpy_avx512_no_vzeroupper): New alias.
15417         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15419 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15421         [BZ #18858]
15422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15423         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15424         and mempcpy-avx512-no-vzeroupper.
15425         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15426         New.
15427         (MEMPCPY): Likewise.
15428         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15429         (MEMPCPY_CHK): New.
15430         (MEMPCPY): Likewise.
15431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15432         (MEMPCPY): Likewise.
15433         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15434         (MEMPCPY): Likewise.
15435         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15436         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15437         Likewise.
15438         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15439         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15441 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15442              Amit Pawar  <Amit.Pawar@amd.com>
15444         [BZ #19583]
15445         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15446         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15447         processors.  Set Fast_Copy_Backward for AMD Excavator
15448         processors.
15449         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15450         New.
15451         (index_arch_Fast_Unaligned_Copy): Likewise.
15452         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15453         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15455 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15457         [BZ #19791]
15458         * resolv/res_send.c (close_and_return_error): New function.
15459         (send_dg): Initialize *resplen2 after reopen failure.  Call
15460         close_and_return_error for error returns.  On error paths without
15461         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15462         successful return.
15464 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15466         [BZ# 19860]
15467         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15468         zero if the compiler does not provide the AVX512F bit.
15470 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15472         [BZ #19848]
15473         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15474         from 8 to 4.
15475         (__ieee754_powl): Compare integer exponent against 4 not 8.
15476         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15477         from 8 to 4.
15478         (__ieee754_powl): Compare integer exponent against 4 not 8.
15479         * math/auto-libm-test-in: Add more tests of pow.
15480         * math/auto-libm-test-out: Regenerated.
15481         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15484 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15486         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15487         Make code unconditional.
15488         [!__NR_utimensat]: Remove conditional code.
15489         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
15490         Make code unconditional.
15491         [!__NR_utimensat]: Remove conditional code.
15492         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
15493         Make code unconditional.
15494         [!__NR_utimensat]: Remove conditional code.
15496 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15498         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
15499         Make code unconditional.
15501 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
15503         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
15504         call-clobbered %eax on retry path.
15505         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15507 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15509         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
15510         Don't set %rcx twice before "rep movsb".
15512 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15514         [BZ #19583]
15515         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
15516         inline.  Check family before setting family, model and
15517         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
15518         bits here.
15519         (init_cpu_features): Replace HAS_CPU_FEATURE and
15520         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
15521         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
15522         for Intel processors with usable AVX2.  Call get_common_indeces
15523         for other processors with family == NULL.
15524         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
15525         (CPU_FEATURES_ARCH_P): Likewise.
15526         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
15527         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
15529 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15531         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
15532         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
15533         $(shared-thread-library) instead of hardcoding the path to libpthread.
15535 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
15537         * sysdeps/unix/sysv/linux/kernel-features.h
15538         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
15539         * sysdeps/unix/sysv/linux/getdents.c
15540         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
15541         [!have_no_getdents64_defined]: Likewise.
15542         (__GETDENTS): Remove __have_no_getdents64 conditional.
15544 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
15546         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
15547         Remove macro.
15548         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
15549         <kernel-features.h>.
15550         (signalfd) [__NR_signalfd4]: Make code unconditional.
15551         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
15553 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15555         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
15556         style.
15558 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15560         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
15561         (__pthread_enable_asynccancel): Use JUMPTARGET to call
15562         __pthread_unwind.
15563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15564         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
15565         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15566         (__condvar_cleanup1): Likewise.
15568 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
15570         [BZ #19822]
15571         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
15572         move it to the final $@ location.
15574 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15576         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
15577         access where posix_spawn success and pid argument is null.
15578         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
15579         success case.
15581 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
15583         * sysdeps/mach/hurd/i386/c++-types.data: New file.
15585         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
15587         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
15588         and __fcntl.
15589         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
15590         __fcntl only.
15591         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
15592         adding attribute_hidden to __open and __fcntl.
15594         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
15595         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
15596         depend on libc-modules.h,
15597         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
15599 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
15601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
15602         Remove macro.
15603         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
15604         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
15605         entry.
15607         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
15608         Remove macro.
15609         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
15610         include <kernel-features.h>.
15611         [!__ASSUME_FALLOCATE]: Remove conditional code.
15612         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
15614 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
15617         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
15618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
15619         (_ZGVdN4v_cos_avx2): Likewise.
15620         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
15621         (_ZGVdN4v_cos): Likewise.
15622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
15623         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
15624         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
15625         (_ZGVdN4v_exp_avx2): Likewise.
15626         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
15627         (_ZGVdN4v_exp): Likewise.
15628         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
15629         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
15630         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
15631         (_ZGVdN4v_log_avx2): Likewise.
15632         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
15633         (_ZGVdN4v_log): Likewise.
15634         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
15635         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
15636         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
15637         (_ZGVdN4vv_pow_avx2): Likewise.
15638         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
15639         (_ZGVdN4vv_pow): Likewise.
15640         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
15641         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
15642         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
15643         (_ZGVdN4v_sin_avx2): Likewise.
15644         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
15645         (_ZGVdN4v_sin): Likewise.
15646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
15647         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
15648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
15649         (_ZGVdN4vvv_sincos_avx2): Likewise.
15650         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
15651         (_ZGVdN4vvv_sincos): Likewise.
15652         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
15653         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
15654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15655         (_ZGVbN4v_cosf_sse4): Likewise.
15656         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15657         (_ZGVdN8v_cosf_avx2): Likewise.
15658         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15659         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15660         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15661         (_ZGVbN4v_expf_sse4): Likewise.
15662         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15663         (_ZGVdN8v_expf_avx2): Likewise.
15664         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15665         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15666         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15667         (_ZGVbN4v_logf_sse4): Likewise.
15668         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15669         (_ZGVdN8v_logf_avx2): Likewise.
15670         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15671         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15672         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15673         (_ZGVbN4vv_powf_sse4): Likewise.
15674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15675         (_ZGVdN8vv_powf_avx2): Likewise.
15676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15677         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15679         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15680         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15681         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15682         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15683         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15684         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15685         (_ZGVbN4v_sinf_sse4): Likewise.
15686         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15687         (_ZGVdN8v_sinf_avx2): Likewise.
15688         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15689         Use JUMPTARGET to call callee.
15690         (WRAPPER_IMPL_SSE2_ff): Likewise.
15691         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15692         (WRAPPER_IMPL_AVX): Likewise.
15693         (WRAPPER_IMPL_AVX_ff): Likewise.
15694         (WRAPPER_IMPL_AVX_fFF): Likewise.
15695         (WRAPPER_IMPL_AVX512): Likewise.
15696         (WRAPPER_IMPL_AVX512_ff): Likewise.
15697         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15698         Likewise.
15699         (WRAPPER_IMPL_SSE2_ff): Likewise.
15700         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15701         (WRAPPER_IMPL_AVX): Likewise.
15702         (WRAPPER_IMPL_AVX_ff): Likewise.
15703         (WRAPPER_IMPL_AVX_fFF): Likewise.
15704         (WRAPPER_IMPL_AVX512): Likewise.
15705         (WRAPPER_IMPL_AVX512_ff): Likewise.
15706         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15708 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15710         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15711         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15712         qualifier.
15713         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15714         internal_function qualifiers.
15716 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15718         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15719         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15720         * math/atest-exp.c (exp_mpn): Mark chk unused.
15721         * math/atest-exp2.c (exp_mpn): Likewise.
15722         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15723         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15725 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15728         Remove macro.
15729         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15730         <kernel-features.h>.
15731         [__NR_ppoll]: Make code unconditional.
15732         [!__ASSUME_PPOLL]: Remove conditional code.
15734         * sysdeps/unix/sysv/linux/kernel-features.h
15735         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15736         (__ASSUME_ACCEPT4): Likewise.
15737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15738         Define.
15739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15740         Likewise.
15741         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15742         Likewise.
15743         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15744         Likewise.
15745         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15746         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15747         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15748         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15749         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15752         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15753         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15755         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15756         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15759         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15761         Likewise.
15762         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15763         Likewise.
15764         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15765         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15766         0x040300].
15767         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15768         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15769         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15770         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15771         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15772         0x030300].
15773         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15774         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15775         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15776         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15777         0x040300].
15778         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15779         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15781         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15782         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15783         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15784         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15785         0x030300].
15786         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15787         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15788         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15789         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15790         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15791         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15792         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15793         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15794         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15795         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15796         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15797         0x040300].
15798         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15799         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15800         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15801         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15804         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15805         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15806         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15808         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15809         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15811         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15812         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15813         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15814         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15815         Likewise.
15816         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15817         Likewise.
15819 2016-03-15  Andreas Schwab  <schwab@suse.de>
15821         [BZ #19257]
15822         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15823         statp->_u._ext.nscount as loop count.
15825 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15827         * math/test-signgam-finite-c99.c: Also #undef
15828         __LIBC_INTERNAL_MATH_INLINES.
15829         * math/test-signgam-main.c: Likewise.
15831 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15833         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15834         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15835         (MADV_FREE): Likewise.
15836         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15837         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15838         EPOLLEXCLUSIVE.
15840 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15842         * timezone/README: Remove mention of checktab.awk. Mention wiki
15843         SharedSourceFiles.
15845 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15847         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15848         WUNTRACED.
15850 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15852         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15853         order to match the type of p when calling atomic_exchange_acq().
15855 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15857         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15858         cfi_offset calls.
15859         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15860         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15861         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15862         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15863         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15865 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15867         * timezone/checktab.awk: Removed.
15869 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15871         * manual/math.texi (Errors in Math Functions): Document relaxed
15872         accuracy goals for IBM long double.
15873         * math/libm-test.inc (test_exceptions): Always allow spurious
15874         "underflow" and "inexact" exceptions for IBM long double.
15876 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15878         [BZ #19762]
15879         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15880         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15881         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15882         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15883         (bit_arch_*): This for feature array.
15884         (bit_*): Renamed to ...
15885         (bit_cpu_*): This for cpu array.
15886         (index_*): Renamed to ...
15887         (index_arch_*): This for feature array.
15888         (index_*): Renamed to ...
15889         (index_cpu_*): This for cpu array.
15890         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15891         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15892         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15893         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15894         bit_##name with index_cpu_##name and bit_cpu_##name.
15895         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15896         bit_##name with index_arch_##name and bit_arch_##name.
15898 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15900         [BZ #19792]
15901         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15902         Terminate FDE before return label.
15904 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15906         [BZ #19790]
15907         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15908         (rintl): Define as macro.
15909         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15910         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15911         of fesetround.  Ensure results are evaluated before end of scope.
15912         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15913         USE_AS_NEARBYINTL and include s_rintl.c.
15914         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15915         Disable exception traps in new environment.
15916         (libc_feholdsetround_ppc_ctx): Likewise.
15918 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15920         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15921         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15922         (tst_audit10_aux) [__AVX512F__]: ... here.
15924 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15926         * include/sys/auxv.h: New file.
15928 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15930         [BZ #19759]
15931         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15933 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15935         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15936         operand modifier.
15937         (feclearexcept): Likewise.
15939 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15941         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15942         to reflect the entire 32-bit HWCAP.
15943         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15944         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15946 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15948         [BZ #19783]
15949         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15950         $(test-via-rtld-prefix).
15951         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15953 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15955         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15956         union wait.  Report any non-zero exit status as error.
15958 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15960         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15961         configured with --enable-hardcoded-path-in-tests.
15963 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15965         [BZ #19677]
15966         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15967         (__ieee754_remainderl): Put zero low parts in canonical form.
15968         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15969         file.  Based on
15970         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15971         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15972         with wrapper round test-fmodrem-ldbl-128ibm.c.
15973         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15974         file.
15975         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15976         Likewise.
15977         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15978         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15980 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15982         [BZ #19610]
15983         * elf/ldconfig.c (opt_link): Update comment.
15984         (options): Update help string for option -X.
15985         (search_dir): Unlink stale symbolic link only if updating symbolic
15986         links.
15987         * elf/tst-ldconfig-X.sh: New file.
15988         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15989         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15991 2016-03-07  Andreas Schwab  <schwab@suse.de>
15993         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15994         needed arguments.
15996 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15998         [BZ #15333]
15999         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16000         to lstat64.
16002 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16004         * libio/filedoalloc.c (isatty): Remove.
16005         (local_isatty): Add comment.  Call __isatty directly.
16006         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16007         * libio/wfiledoalloc.c (isatty): Remove.
16008         (_IO_wfile_doallocate): Update comment.
16010 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16012         [BZ #19269]
16013         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16014         tst-audit4-aux.o.
16015         (tst-audit10): Depend on tst-audit10-aux.o.
16016         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16017         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16018         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16019         instead of inline AVX code.
16020         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16021         instead of inline AVX512 code.
16022         * sysdeps/x86_64/tst-audit4-aux.c: New file
16023         * sysdeps/x86_64/tst-audit10-aux.c: New file
16025         [BZ #19648]
16026         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16028 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16030         [BZ #14750]
16031         [BZ #10354]
16032         [BZ #18433]
16033         * include/sched.h (__clone): Add hidden prototype.
16034         (__clone2): Likewise.
16035         * include/unistd.h (__dup): Likewise.
16036         * posix/Makefile (tests): Add tst-spawn2.
16037         * posix/tst-spawn2.c: New file.
16038         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16039         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16040         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16041         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16042         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16043         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16044         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16045         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16046         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16047         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16048         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16050         Likewise.
16051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16052         Likewise.
16053         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16054         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16055         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16056         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16057         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16058         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16059         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16060         * sysdeps/unix/sysv/linux/nptl-signals.h
16061         (____nptl_is_internal_signal): New function.
16062         * sysdeps/unix/sysv/linux/spawni.c: New file.
16064         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16065         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16066         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16067         * posix/tst-execvp2.c (do_test): Likewise.
16068         * posix/tst-execvp3.c (do_test): Likewise.
16069         * posix/tst-execvp4.c (do_test): Likewise.
16070         * posix/tst-execvpe1.c: New file.
16071         * posix/tst-execvpe2.c: Likewise.
16072         * posix/tst-execvpe3.c: Likewise.
16073         * posix/tst-execvpe4.c: Likewise.
16074         * posix/tst-execvpe5.c: Likewise.
16075         * posix/tst-execvpe6.c: Likewise.
16077         [BZ #19534]
16078         * posix/execl.c (execl): Remove dynamic memory allocation.
16079         * posix/execle.c (execle): Likewise.
16080         * posix/execlp.c (execlp): Likewise.
16082 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16084         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16085         Replace .text with .text.avx512.
16086         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16087         Likewise.
16089 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16091         * sysdeps/generic/libnsl.abilist: New file.
16092         * sysdeps/generic/libutil.abilist: New file.
16094 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16096         [BZ #19762]
16097         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16098         HAS_ARCH_FEATURE with Fast_Rep_String.
16099         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16100         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16101         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16102         Likewise.
16103         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16104         Likewise.
16105         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16106         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16107         Likewise.
16108         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16109         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16110         Likewise.
16112 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16114         [BZ #19745]
16115         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16116         with *%rax in call.
16118 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16120         [BZ #19745]
16121         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16122         with *__libc_start_main@GOTPCREL(%rip) in call.
16124 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16126         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16127         inside conditional for nonempty $(CXX).
16129         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16130         nonempty.
16132         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16133         to test for empty $(CXX) rather than $(CXX) of "no".
16135 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16137         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16139 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16140             H.J. Lu  <hongjiu.lu@intel.com>
16142         [BZ #18880]
16143         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16144         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16145         enable __memcpy_ssse3_back.
16147 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16149         [BZ #19758]
16150         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16151         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16153 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16155         [BZ #19490]
16156         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16157         (__fentry__): Likewise.
16159 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16161         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16162         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16164 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16166         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16167         __mcount_internal directly.
16168         (C_LABEL(__fentry__)): Likewise.
16169         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16170         directly.
16172 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16174         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16175         (__start_context): Call __setcontext directly.
16177 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16179         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16180         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16181         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16182         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16183         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16184         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16185         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16186         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16187         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16188         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16189         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16190         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16191         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16192         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16193         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16194         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16195         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16197         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16198         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16199         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16200         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16201         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16202         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16203         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16204         Remove conditional code.
16205         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16206         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16207         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16208         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16209         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16210         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16211         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16212         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16213         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16214         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16215         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16216         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16218 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16220         * NEWS (2.23): Fix typo in bug 19048 text.
16222 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16224         [BZ #14259]
16225         * Makeconfig: Rename msgcatdir to localedir.
16226         Rename inst_msgcatdir to inst_localedir.
16227         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16228         * config.make.in: Add localedir.
16229         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16230         (ldd-rewrite): Likewise.
16231         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16232         (install-others): Use inst_localedir.
16233         (CPPFLAGS): Use localedir.
16234         * locale/Makefile (locale-CPPFLAGS): Likewise.
16235         * po/Makefile (mo-installed): Use inst_localedir.
16237         [BZ #19575]
16238         * localedata/charmaps/GB18030: Update comments regarding PAU to
16239         non-PUA mappings.
16241 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16243         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16244         test for header.
16245         * sysdeps/unix/sysv/linux/configure: Regenerated.
16246         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16247         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16248         Remove conditional code.
16249         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16251         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16252         Define to 3.2.0.
16253         (arch_minimum_kernel): Likewise.
16254         * sysdeps/unix/sysv/linux/configure: Regenerated.
16255         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16256         Define to 2.6.32.
16257         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16258         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16259         (arch_minimum_kernel): Define to 2.6.32.
16260         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16261         * README: Document Linux 3.2 requirement.
16262         * manual/install.texi (Linux): Document Linux 3.2 headers
16263         requirement.
16264         * INSTALL: Regenerated.
16266 2016-02-24  Andreas Schwab  <schwab@suse.de>
16268         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16269         if !NO_LONG_DOUBLE.
16271 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16273         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16274         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16276 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16278         [BZ #19512]
16279         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16281 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16283         * posix/tst-dir.c: Include libc-internal.h.
16285 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16287         [BZ #19056]
16288         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16289         * manual/filesys.texi (Reading/Closing Directory): Mention
16290         deprecaion.
16291         * posix/tst-dir.c (main): Disable deprecation warning in test.
16293 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16295         [BZ #19679]
16296         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16297         Renamed to ...
16298         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16299         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16300         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16301         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16302         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16303         * sysdeps/x86_64/dl-trampoline.h
16304         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16305         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16307 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16309         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16311 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16313         * elf/elf.h (R_386_GOT32X): New.
16314         (R_386_NUM): Update.
16315         (R_X86_64_GOTPCRELX: New.
16316         (R_X86_64_REX_GOTPCRELX): New.
16317         (R_X86_64_NUM): Update.
16319 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16321         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16323 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16325         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16326         assign attr->stackaddr to it, and adjust it down when
16327         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16328         [_STACK_GROWS_UP]: Delete assert.
16329         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16330         Implement stack grows up logic.
16331         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16332         stack grows up logic.
16334 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16336         * NEWS: Update with 2.24 template.
16338 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16340         [BZ #19678]
16341         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16342         Ensure +0.0 is returned when taking the next value below the least
16343         positive value.
16345 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16347         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16348         available.  Do not define NO_THREADS.
16349         * malloc/malloc.c: Do not check NO_THREADS.
16350         * malloc/arena.c: Likewise.
16352 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16354         * malloc/malloc.c (__libc_mallinfo): Update comment.
16355         (struct malloc_par): Remove max_total_mem member, it was always 0.
16356         (int_mallinfo): Store 0 into usmblks (no functional change).
16357         * malloc/hooks.c (struct malloc_state): Document that
16358         max_total_mem is always 0.
16359         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16360         always 0.
16361         * manual/memory.texi (Statistics of Malloc): Likewise.
16363 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16365         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16366         * malloc/arena.c (arena_max): Remove.
16367         (heap_trim, _int_new_arena): Do not update arena_max.
16369 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16371         * resolv/res_init.c (res_ninit): Update comment.
16373 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16375         [BZ #19505]
16376         * posix/spawn_int.h: Add headers and include guard.
16377         (__spawn_valid_fd): New function.
16378         * posix/spawn_faction_addopen.c
16379         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16380         * posix/spawn_faction_addclose.c
16381         (posix_spawn_file_actions_addclose): Likewise.
16382         * posix/spawn_faction_adddup2.c
16383         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16384         second file descriptor.
16385         * posix/spawn_valid_fd.c: New file.
16386         * posix/tst-posix_spawn-fd.c: New file.
16387         * posix/Makefile (routines): Add spawn_valid_fd.
16388         (tests): Add tst-posix_spawn-fd.
16390 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16392         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16393         (do_test): Limit the number of arenas, so that we can use fewer
16394         outer threads.  Limit timeout to 3 seconds, in preparation for a
16395         larger TIMEOUT value.
16397 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16399         [BZ #19674]
16400         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16401         sign in overflowing and underflowing results when overflow or
16402         underflow is detected early.  Include sign in result before rather
16403         than after scaling.
16405         [BZ #19603]
16406         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16407         (__ieee754_remainderl): Adjust sign of integer version of low part
16408         when taking absolute value of high part.
16409         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16410         * math/libm-test.inc (remainder_test_data): Add another test.
16411         (remquo_test_data): Likewise.
16413 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16415         [BZ #19602]
16416         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16417         equal high parts and both low parts zero specially.
16418         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16419         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16420         Add test-fmodl-ldbl-128ibm.
16422         [BZ #19595]
16423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16424         common logic for all cases of shifting subnormal results.  Do not
16425         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16426         exponent to ldbl_insert_mantissa in subnormal case.
16428         [BZ #19594]
16429         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16430         on high and low parts then adjust result and use
16431         ldbl_canonicalize_int if needed.
16433         [BZ #19593]
16434         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16435         on high part and __floor or __ceil on low part then use
16436         ldbl_canonicalize_int if needed.
16438         [BZ #19592]
16439         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16440         high and low parts then use ldbl_canonicalize_int if needed.
16442         [BZ #17899]
16443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16444         New function.
16445         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16446         on high and low parts then use ldbl_canonicalize_int if needed.
16448 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16450         * configure: Regenerated.
16452         * po/libc.pot: Regenerated.
16454         * po/be.po: Updated translation.
16455         * po/bg.po: Likewise.
16456         * po/ca.po: Likewise.
16457         * po/cs.po: Likewise.
16458         * po/da.po: Likewise.
16459         * po/el.po: Likewise.
16460         * po/eo.po: Likewise.
16461         * po/es.po: Likewise.
16462         * po/fi.po: Likewise.
16463         * po/fr.po: Likewise.
16464         * po/gl.po: Likewise.
16465         * po/hr.po: Likewise.
16466         * po/hu.po: Likewise.
16467         * po/ia.po: Likewise.
16468         * po/id.po: Likewise.
16469         * po/it.po: Likewise.
16470         * po/ja.po: Likewise.
16471         * po/lt.po: Likewise.
16472         * po/nb.po: Likewise.
16473         * po/nl.po: Likewise.
16474         * po/pt_BR.po: Likewise.
16475         * po/rw.po: Likewise.
16476         * po/sk.po: Likewise.
16477         * po/sl.po: Likewise.
16478         * po/sv.po: Likewise.
16479         * po/tr.po: Likewise.
16480         * po/zh_CN.po: Likewise.
16481         * po/zh_TW.po: Likewise.
16483         * version.h (RELEAES): Set to "development".
16484         (VERSION): Set to 2.23.90.
16486         * version.h (RELEASE): Set to "stable".
16487         (VERSION): Set to 2.23.
16488         * include/feature.h (__GLIBC_MINOR__): Set to 23.
16490         * NEWS: Updated fixed bugs.
16492 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
16493             Wilco Dijkstra  <wdijkstr@arm.com>
16495         [BZ #19462]
16496         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
16497         (_STRING_INLINE_unaligned): This.
16498         * include/string.h: Include <string_private.h>.
16499         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
16500         _STRING_INLINE_unaligned.
16501         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
16502         (_STRING_INLINE_unaligned): New.
16503         * sysdeps/aarch64/string_private.h: New file.
16504         * sysdeps/generic/string_private.h: Likewise.
16505         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
16506         * sysdeps/s390/string_private.h: Likewise.
16507         * sysdeps/x86/string_private.h: Likewise.
16508         * sysdeps/m68k/m680x0/m68020/bits/string.h
16509         (_STRING_ARCH_unaligned): Renamed to ...
16510         (_STRING_INLINE_unaligned): This.
16511         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
16512         to ...
16513         (_STRING_INLINE_unaligned): This.
16514         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
16515         to ...
16516         (_STRING_INLINE_unaligned): This.
16517         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
16518         to ...
16519         (_STRING_INLINE_unaligned): This.
16521 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16522             H.J. Lu  <hongjiu.lu@intel.com>
16524         [BZ #19590]
16525         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
16526         relocation.
16528 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
16530         [BZ #18665]
16531         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
16532         *herrno_p.
16533         (gaih_getanswer): Document functional behviour. Return tryagain
16534         if any result is tryagain.
16535         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
16536         when freed.
16537         * resolv/res_send.c: Add copyright text.
16538         (__libc_res_nsend): Document that MAXPACKET is expected.
16539         (send_vc): Document. Remove buffer reuse.
16540         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
16541         size of the buffer. Add Dprint for truncated UDP buffer.
16543 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
16545         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
16546         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
16547         * INSTALL: Regenerate.
16549 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
16550             Jonathan Wakely  <jwakely@redhat.com>
16551             Carlos O'Donell  <carlos@redhat.com>
16553         [BZ 19439]
16554         * math/Makefile (tests): Add test-math-isinff.
16555         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
16556         * math/bits/mathcalls.h [__USE_MISC]: Use
16557         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
16558         functions not in C++11 and which don't conflict e.g. isinff,
16559         isinfl etc.
16560         * math/test-math-isinff.cc: New file.
16562 2016-02-12  Florian Weimer  <fweimer@redhat.com>
16564         * misc/bug18240.c (do_test): Set RLIMIT_AS.
16566 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16568         [BZ #19529]
16569         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
16571 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16573         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16575 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
16577         [BZ #19550]
16578         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
16579         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
16580         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
16581         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
16582         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
16583         New syscall entry.
16584         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
16585         New syscall entry.
16586         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
16587         syscall entry.
16589 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
16591         [BZ #18240]
16592         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
16593         unsigned int wraparound.
16595 2016-01-27  Florian Weimer  <fweimer@redhat.com>
16597         [BZ #18240]
16598         * misc/bug18240.c: New test.
16599         * misc/Makefile (tests): Add it.
16601 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
16602             Joseph Myers  <joseph@codesourcery.com>
16604         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
16605         load in branch delay slot when less than a word of input left.
16607 2016-01-27  Andreas Schwab  <schwab@suse.de>
16609         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
16610         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
16611         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
16612         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
16614 2016-01-26  David S. Miller  <davem@davemloft.net>
16616         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
16618 2016-01-25  David S. Miller  <davem@davemloft.net>
16620         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
16621         __sqrtl_finite.
16622         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
16623         instead using versioned_symbol.
16624         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
16625         of entries.
16627         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
16628         __sqrtl_finite to GLIBC_2.23
16630 2016-01-25  Ricchard Henderson  <rth@redhat.com>
16632         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16634 2016-01-25  Andreas Schwab  <schwab@suse.de>
16636         [BZ #17514]
16637         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
16638         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
16639         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
16640         * nptl/tst-mutex-errorcheck.c: New file.
16642 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16644         [BZ #18560]
16645         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
16646         (IPCOP_semop): Likewise.
16647         (IPCOP_semget): Likewise.
16648         (IPCOP_semctl): Likewise.
16649         (IPCOP_msgsnd): Likewise.
16650         (IPCOP_msgrcv): Likewise.
16651         (IPCOP_msgget): Likewise.
16652         (IPCOP_msgctl): Likewise.
16653         (IPCOP_shmat): Likewise.
16654         (IPCOP_shmdt): Likewise.
16655         (IPCOP_shmget): Likewise.
16656         (IPCOP_shmctl): Likewise.
16658 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16660         * string/tst-endian.c: Include <libc-internal.h>.
16661         (do_test): Ignore tautological-compare warnings around
16662         "htobeXX (beXXtoh (i)) != i" and
16663         "htoleXX (leXXtoh (i)) != i" if-statements.
16665 2016-01-24  David S. Miller  <davem@davemloft.net>
16667         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16668         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16669         alias.
16670         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16671         __sqrtl_finite.
16673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16675 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16677         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16678         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16679         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16681 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16683         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16684         (thread_func): Use new function to simplify barrier check.
16685         (do_test): Use new function to simplify checking barrier exit
16686         code, and actually join the child thread.
16688 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16690         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16691         semicolon.
16692         (__libc_tend): Likewise.
16693         (__libc_tabort): Likewise.
16695 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16697         * sysdeps/nios2/libm-test-ulps: Update.
16698         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16699         (__gtsf2): Likewise.
16700         (__unorddf2): Likewise.
16701         (__unordsf2): Likewise.
16702         (__ledf2): Likewise.
16704 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16706         * nis/nis_table.c (__follow_path): Disable diagnostic for
16707         uninitialized variable that is a false positive for gcc 4.7.
16708         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16710 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16712         * sysdeps/nacl/lowlevellock-futex.h
16713         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16714         Always evaluate PRIVATE argument.
16716 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16718         [BZ #19490]
16719         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16720         (pthread_cond_broadcast): Use ENTRY/END
16721         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16722         (pthread_cond_signal): Likewise.
16723         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16724         Likewise.
16725         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16726         Likewise.
16727         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16728         Likewise.
16730 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16732         * sysdeps/ieee754/dbl-64/s_finite.c
16733         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16734         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16735         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16736         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16737         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16740         (__gtsf2): Add as optional for libc.so.
16741         (__unordsf2): Likewise.
16742         (__signbit): Remove for libc.so.
16743         (__signbitl): Likewise.
16745 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16747         * iconvdata/bug-iconv11.c (test_ibm93x):
16748         Use %zu printf format specifier for size_t argument.
16750 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16752         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16753         already-recorded ulps.
16754         * sysdeps/arm/libm-test-ulps: Regenerated.
16755         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16756         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16757         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16759 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16760             Paul Pluzhnikov  <ppluzhnikov@google.com>
16762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16763         assembler not supporting AVX-512.
16765 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16767         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16769 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16771         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16772         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16774         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16776         * sysdeps/arm/libm-test-ulps: Regenerated.
16778 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16780         [BZ #19451]
16781         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16783 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16785         [BZ #19486]
16786         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16787         * sysdeps/generic/fix-fp-int-convert-overflow.h
16788         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16789         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16790         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16791         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16792         Likewise.
16793         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16794         Avoid conversions to long int where inexact exceptions
16795         could be raised.
16796         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16797         Likewise.
16798         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16799         Avoid conversions to long long int where inexact exceptions
16800         could be raised.
16801         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16802         Likewise.
16804 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16806         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16807         * configure: Regenerated.
16809 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16811         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16813 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16815         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16816         outside of comment.
16818 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16820         * nptl/tst-barrier1.c: Add description on first line.
16821         * nptl/tst-barrier2.c: Likewise.
16822         * nptl/tst-barrier3.c: Likewise.
16823         * nptl/tst-barrier4.c: Likewise.
16824         * nptl/tst-barrier5.c: Likewise.
16826 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16828         [BZ #18868]
16829         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16831 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16835         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16836         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16837         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16838         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16840         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16841         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16842         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16843         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16845 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16847         [BZ #13065]
16848         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16849         new implementation.
16850         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16851         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16852         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16853         (BARRIER_IN_THRESHOLD): New macro.
16854         * nptl/pthread_barrierattr_setpshared.c
16855         (pthread_barrierattr_setpshared): Clean up.
16856         * nptl/tst-barrier4.c: Correct comment.
16857         * nptl/tst-barrier5.c: New file.
16858         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16859         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16860         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16861         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16862         * nptl/lowlevelbarrier.sym: Remove.
16863         * nptl/DESIGN-barrier.txt: Remove.
16864         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16865         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16866         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16867         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16868         error.
16869         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16870         implementation.
16872 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16874         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16875         (do_child): Mask SIGRTMIN while thr is running.
16877 2016-01-15  Martin Sebor  <msebor@redhat.com>
16879         [BZ #19432]
16880         * iconvdata/Makefile: Add bug-iconv11.
16881         * iconvdata/bug-iconv11.c: New test.
16882         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16883         * iconvdata/ibm933.c: Same.
16884         * iconvdata/ibm935.c: Same.
16885         * iconvdata/ibm937.c: Same.
16886         * iconvdata/ibm939.c: Same.
16888 2016-01-15  Martin Sebor  <msebor@redhat.com>
16890         [BZ #19443]
16891         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16892         [DEBUG] (_ufc_set_bits): Declare used.
16893         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16894         [DEBUG] (print_all): Declare used.
16895         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16896         operands of the ternary ?: expression to target type.
16897         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16898         calling the undeclared abort.
16899         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16901 2016-01-15  Martin Sebor  <msebor@redhat.com>
16903         [BZ #18755]
16904         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16905         warnings.
16906         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16907         (__gai_create_helper_thread): Same.
16908         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16909         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16910         to suppress -Wmaybe-uninitialized warnings.
16912 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16914         [BZ #19465]
16915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16916         inside if.
16917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16918         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16921 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16923         [BZ #19466]
16924         * time/tst-mktime2.c (time_t_max): Removed.
16925         (time_t_min): Likewise.
16926         (TYPE_SIGNED): New.
16927         (TYPE_MINIMUM): Likewise.
16928         (TYPE_MAXIMUM): Likewise.
16929         (TIME_T_MIN): Likewise.
16930         (TIME_T_MAX): Likewise.
16931         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16932         and TIME_T_MIN.
16933         (do_test): Likewise.
16935 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16937         [BZ #19467]
16938         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16939         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16941 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16943         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16945 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16947         * benchtests/Makefile (PYTHON): Define.
16948         (bench-func): Use $(PYTHON) to run python scripts.
16949         ($(objpfx)bench-%.c): Likewise.
16951 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16953         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16954         leading slash when `file_name' is "/".
16956 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16958         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16959         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16960         Likewise.
16961         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16962         Likewise.
16963         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16964         Likewise.
16965         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16966         enum constant and macro.
16967         (PTRACE_SETSIGMASK): Likewise.
16968         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16969         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16970         (PTRACE_GETSIGMASK): Likewise.
16971         (PTRACE_SETSIGMASK): Likewise.
16972         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16973         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16974         Likewise.
16975         (PTRACE_SETSIGMASK): Likewise.
16976         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16977         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16978         (PTRACE_GETSIGMASK): Likewise.
16979         (PTRACE_SETSIGMASK): Likewise.
16980         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16981         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16982         Likewise.
16983         (PTRACE_SETSIGMASK): Likewise.
16984         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16985         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16986         Likewise.
16987         (PTRACE_SETSIGMASK): Likewise.
16988         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16989         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16990         Likewise.
16991         (PTRACE_SETSIGMASK): Likewise.
16992         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16994 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16995             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16997         [BZ #19439]
16998         * math/bits/mathcalls.h
16999         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17000         prototype.
17001         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17003 2016-01-11  Andreas Schwab  <schwab@suse.de>
17005         [BZ #19253]
17006         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17007         cache when TZDEFRULES was used.
17008         * time/tst-tzname.c: New file.
17009         * time/Makefile (test): Add tst-tzname.
17010         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17011         * timezone/Makefile (test-zones): Add $(posixrules-file).
17012         ($(testdata)/$(posixrules-file)): New rule.
17014 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17016         Fix doc quoting problems with Texinfo 5
17017         Without this change, in the info file output, Texinfo 5 quotes code
17018         in text with undirected single quotes 'like this' and generates
17019         code examples that with many PDF readers cannot be cut out of PDFs
17020         and pasted into code.
17021         * manual/libc.texinfo: Configure the libc manual like the GNU
17022         Emacs manual, by using @documentencoding and setting
17023         txicodequoteundirected and txicodequotebacktick.  This way,
17024         Texinfo 5 quotes code in text with directed single quotes ‘like
17025         this’ and produces examples that can be cut out of PDFs.  This
17026         change causes Texinfo 5 to generate info files that contain UTF-8
17027         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17028         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17030 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17032         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17033         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17034         barriers to their respective compiler built-ins.
17035         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17036         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17037         * sysdeps/powerpc/sysdep.h: Likewise.
17038         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17039         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17040         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17042 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17044         * scripts/config.guess: Revert previous shebang change.
17045         * scripts/config.sub: Likewise.
17046         * scripts/mkinstalldirs: Likewise.
17048 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17050         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17051         PPC_FEATURE2_HAS_IEEE128.
17052         * sysdeps/powerpc/dl-procinfo.c:
17053         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17055 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17057         [BZ #19415]
17058         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17059         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17060         (_dl_lookup_address): Rewrite using function resolver trampoline.
17061         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17062         two bits in address.
17064 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17066         * longlong.h: Change !__SHMEDIA__ to
17067         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17068         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17070 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17071             Joseph Myers  <joseph@codesourcery.com>
17072             Mark Shinwell  <shinwell@codesourcery.com>
17073             Andrew Stubbs  <ams@codesourcery.com>
17074             Rich Felker <dalias@libc.org>
17076         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17078 2016-01-07  Richard Henderson  <rth@redhat.com>
17080         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17082 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17084         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17085         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17086         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17087         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17088         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17090 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17091             Joseph Myers  <joseph@codesourcery.com>
17093         * timezone/private.h: Update from tzcode 2015g.
17094         * timezone/tzfile.h: Likewise.
17095         * timezone/tzselect.ksh: Likewise.
17096         * timezone/zdump.c: Likewise.
17097         * timezone/zic.c: Likewise.
17098         * timezone/ialloc.c: Remove file.
17099         * timezone/scheck.c: Likewise.
17100         * timezone/Makefile (extra-objs): Remove variable.
17101         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17102         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17103         -Wno-maybe-uninitialized.
17104         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17105         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17106         (CFLAGS-ialloc.c): Remove variable.
17107         (CFLAGS-scheck.c): Likewise.
17108         * timezone/README: Update list of files from tzcode.
17110 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17112         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17113         instead of __fxprintf when _LIBC is undefined.
17115 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17117         * catgets/test-gencat.sh: Remove space after shebang.
17118         * conform/GlibcConform.pm: Likewise.
17119         * conform/check-header-lists.sh: Likewise.
17120         * conform/conformtest.pl: Likewise.
17121         * conform/linknamespace.pl: Likewise.
17122         * conform/list-header-symbols.pl: Likewise.
17123         * debug/catchsegv.sh: Likewise.
17124         * elf/genrtldtbl.awk: Likewise.
17125         * elf/tst-pathopt.sh: Likewise.
17126         * elf/tst-rtld-load-self.sh: Likewise.
17127         * grp/tst_fgetgrent.sh: Likewise.
17128         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17129         * iconvdata/gen-8bit-gap.sh: Likewise.
17130         * iconvdata/gen-8bit.sh: Likewise.
17131         * iconvdata/run-iconv-test.sh: Likewise.
17132         * intl/tst-gettext.sh: Likewise.
17133         * intl/tst-gettext2.sh: Likewise.
17134         * intl/tst-gettext4.sh: Likewise.
17135         * intl/tst-gettext6.sh: Likewise.
17136         * intl/tst-translit.sh: Likewise.
17137         * io/ftwtest-sh: Likewise.
17138         * libio/test-freopen.sh: Likewise.
17139         * locale/gen-translit.pl: Likewise.
17140         * malloc/tst-mtrace.sh: Likewise.
17141         * manual/check-safety.sh: Likewise.
17142         * manual/libc-texinfo.sh: Likewise.
17143         * manual/tsort.awk: Likewise.
17144         * manual/xtract-typefun.awk: Likewise.
17145         * nptl/tst-cancel-wrappers.sh: Likewise.
17146         * nptl/tst-tls6.sh: Likewise.
17147         * posix/globtest.sh: Likewise.
17148         * posix/tst-getconf.sh: Likewise.
17149         * posix/wordexp-tst.sh: Likewise.
17150         * scripts/check-c++-types.sh: Likewise.
17151         * scripts/check-local-headers.sh: Likewise.
17152         * scripts/config.guess: Likewise.
17153         * scripts/config.sub: Likewise.
17154         * scripts/cpp: Likewise.
17155         * scripts/cross-test-ssh.sh: Likewise.
17156         * scripts/documented.sh: Likewise.
17157         * scripts/evaluate-test.sh: Likewise.
17158         * scripts/gen-libc-abis: Likewise.
17159         * scripts/gen-sorted.awk: Likewise.
17160         * scripts/list-fixed-bugs.py: Likewise.
17161         * scripts/merge-test-results.sh: Likewise.
17162         * scripts/mkinstalldirs: Likewise.
17163         * scripts/rellns-sh: Likewise.
17164         * scripts/test-installation.pl: Likewise.
17165         * scripts/update-copyrights: Likewise.
17166         * stdio-common/tst-printf.sh: Likewise.
17167         * stdio-common/tst-unbputc.sh: Likewise.
17168         * stdlib/tst-fmtmsg.sh: Likewise.
17169         * stdlib/tst-setcontext3.sh: Likewise.
17170         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17171         * sysdeps/unix/make-syscalls.sh: Likewise.
17173 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17175         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17176         asm stw with atomic_exchange_rel.  Add explanatory comment.
17177         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17178         Likewise.
17180 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17182         [BZ #19122]
17183         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17184         * sysdeps/generic/dl-unistd.h: New file.
17185         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17187 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17189          [BZ #19122]
17190          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17191          * sysdeps/generic/dl-mman.h: New file.
17192          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17194 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17196         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17197         trailing whitespace removed.
17198         * scripts/config.guess: Update to version 2016-01-01.
17199         * scripts/config.sub: Update to version 2016-01-01.
17200         * scripts/move-if-change: Update from gnulib.
17202 2016-01-04  Anton Blanchard  <anton@samba.org>
17204         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17205         for array indices.
17206         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17208 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17210         * NEWS: Update copyright dates.
17211         * catgets/gencat.c (print_version): Likewise.
17212         * csu/version.c (banner): Likewise.
17213         * debug/catchsegv.sh: Likewise.
17214         * debug/pcprofiledump.c (print_version): Likewise.
17215         * debug/xtrace.sh (do_version): Likewise.
17216         * elf/ldconfig.c (print_version): Likewise.
17217         * elf/ldd.bash.in: Likewise.
17218         * elf/pldd.c (print_version): Likewise.
17219         * elf/sotruss.sh: Likewise.
17220         * elf/sprof.c (print_version): Likewise.
17221         * iconv/iconv_prog.c (print_version): Likewise.
17222         * iconv/iconvconfig.c (print_version): Likewise.
17223         * locale/programs/locale.c (print_version): Likewise.
17224         * locale/programs/localedef.c (print_version): Likewise.
17225         * login/programs/pt_chown.c (print_version): Likewise.
17226         * malloc/memusage.sh (do_version): Likewise.
17227         * malloc/memusagestat.c (print_version): Likewise.
17228         * malloc/mtrace.pl: Likewise.
17229         * manual/libc.texinfo: Likewise.
17230         * nptl/version.c (banner): Likewise.
17231         * nscd/nscd.c (print_version): Likewise.
17232         * nss/getent.c (print_version): Likewise.
17233         * nss/makedb.c (print_version): Likewise.
17234         * posix/getconf.c (main): Likewise.
17235         * scripts/test-installation.pl: Likewise.
17236         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17238         * All files with FSF copyright notices: Update copyright dates
17239         using scripts/update-copyrights.
17240         * intl/plural.c: Regenerated.
17241         * locale/programs/charmap-kw.h: Likewise.
17242         * locale/programs/locfile-kw.h: Likewise.
17244 2016-01-02  Helge Deller  <deller@gmx.de>
17246         [BZ #19285]
17247         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17248         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17249         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17250         (MADV_xxK_PAGES): Remove.
17252 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17254         [BZ #15421]
17255         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17256         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17257         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17258         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17260 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17262         [BZ #19408]
17263         * sysdeps/unix/sysv/linux/personality.c: New file.
17264         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17265         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17266         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17267         (sysdep_routines): Add personality.
17268         (tests): Add tst-personality.
17269         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17270         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17271         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17272         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17273         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17275         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17276         Likewise.
17277         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17278         Likewise.
17279         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17280         Likewise.
17281         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17282         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17283         Likewise.
17285 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17287         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17288         (PATH_ARM_SYSTYPE): Remove.
17289         (PATH_CPUINFO): Likewise.
17290         (IO_BASE_FOOTBRIDGE): Likewise.
17291         (IO_SHIFT_FOOTBRIDGE): Likewise.
17292         (struct platform): Likewise.
17293         (init_iosys): Remove compatibility code for 2.4 kernels.
17294         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17296 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17298         * malloc/tst-malloc-thread-fail.c: New file.
17299         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17300         (tst-malloc-thread-fail): Link against libpthread.
17302 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17304         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17305         (get_parser): New function.
17306         (main): New function.
17308 2015-12-29  Rob Wu  <rob@robwu.nl>
17310         [BZ #19369]
17311         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17313 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17315         [BZ #19270]
17316         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17318 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17320         [BZ #15421]
17321         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17323 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17325         [BZ #13690]
17326         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17327         after releasing it.
17328         (__lll_robust_unlock): Likewise.
17329         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17330         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17331         (lll_robust_unlock): Likewise.
17332         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17333         Prevent warnings in callers.
17335 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17337         * malloc/arena.c (list_lock): Update comment.
17339 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17341         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17342         __parse_hwcap_and_convert_at_platform to libc.a.
17344 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17346         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17347         platform and feature support for POWER9.
17348         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17349         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17350         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17351         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17352         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17353         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17354         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17355         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17357 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17359         Harmonize generic stdio-lock support with nptl
17361         This fixes build when _IO_funlockfile is a macro, fixes build where
17362         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17363         stack unwind.
17365         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17366         _IO_release_lock ): Use cleanup attribute on new
17367         _IO_acquire_lock_file variable instead of assuming that
17368         _IO_release_lock will be called.
17369         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17370         _IO_acquire_lock_needs_exceptions_enabled.
17371         (_IO_acquire_lock_clear_flags2): New macro.
17373 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17375         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17377 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17379         [BZ #19182]
17380         * malloc/arena.c (list_lock): Document lock ordering requirements.
17381         (free_list_lock): New lock.
17382         (ptmalloc_lock_all): Comment on free_list_lock.
17383         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17384         (detach_arena): Update comment.  free_list_lock is now needed.
17385         (_int_new_arena): Use free_list_lock around detach_arena call.
17386         Acquire arena lock after list_lock.  Add comment, including FIXME
17387         about incorrect synchronization.
17388         (get_free_list): Switch to free_list_lock.
17389         (reused_arena): Acquire free_list_lock around detach_arena call
17390         and attached threads counter update.  Add two FIXMEs about
17391         incorrect synchronization.
17392         (arena_thread_freeres): Switch to free_list_lock.
17393         * malloc/malloc.c (struct malloc_state): Update comments to
17394         mention free_list_lock.
17396 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17398         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17399         Remove functions.
17400         (sloww, sloww1): Accept argument to offset quadrant.
17401         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17402         quadrant.
17403         (__sin, __cos): Consolidate common code into new functions.
17404         (reduce_sincos_1, do_sincos_1): New functions.
17405         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17408         code to new functions.
17409         (reduce_sincos_2, do_sincos_2): New functions.
17410         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17412         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17413         common code for sincos.
17414         (__cos) [!IN_SINCOS]: Likewise.
17415         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17416         New function.
17417         (__sincos): Use it.
17419 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17421         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17422         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17423         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17425 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17427         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17430         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17431         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17432         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17433         index_Prefer_No_VZEROUPPER): New feature.
17434         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17435         Prefer_No_VZEROUPPER for Knights Landing.
17437 015-12-18  Torvald Riegel  <triegel@redhat.com>
17439         * math/atest-exp2.c (mp_exp_m1): Remove.
17441 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17443         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17444         syscalls.
17445         (__SYSCALL0): New macro.
17446         (__SYSCALL1): Likewise.
17447         (__SYSCALL2): Likewise.
17448         (__SYSCALL3): Likewise.
17449         (__SYSCALL4): Likewise.
17450         (__SYSCALL5): Likewise.
17451         (__SYSCALL6): Likewise.
17452         (__SYSCALL_CONCAT_X): Likewise.
17453         (__SYSCALL_CONCAT): Likewise.
17454         (__SYSCALL_DIST): Likewise.
17455         (__SYSCALL_CALL): Likewise.
17457 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17459         [BZ #19363]
17460         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17462 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17464         [BZ #19375]
17465         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17466         negative subnormals.
17468 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17471         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17472         (INTERNAL_SYSCALL_NCS): Use it.
17473         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17475 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17477         [BZ #19243]
17478         * malloc/arena.c (get_free_list): Remove assert and adjust
17479         reference count handling.  Add comment about reused_arena
17480         interaction.
17481         (reused_arena): Add comments abount get_free_list interaction.
17482         * malloc/tst-malloc-thread-exit.c: New file.
17483         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17484         (tst-malloc-thread-exit): Link against libpthread.
17486 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17488         [BZ #19367]
17489         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
17490         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
17491         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
17492         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
17493         (index_Prefer_MAP_32BIT_EXEC): Likewise.
17495 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17497         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
17498         Silvermont optimizations for Knights Landing.
17500 2015-12-15  Andreas Schwab  <schwab@suse.de>
17502         [BZ #17197]
17503         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
17504         immediately after emitting SI.
17505         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
17506         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
17507         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
17508         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
17509         * iconvdata/bug-iconv10.c: New file.
17510         * iconvdata/Makefile (tests): Add bug-iconv10.
17511         ($(objpfx)bug-iconv10.out): New rule.
17513 2015-12-15  Florian Weimer  <fweimer@redhat.com>
17515         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
17516         aliasing violation.
17518 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
17520         [BZ #18472]
17521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
17522         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
17523         conditionals for them.
17524         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
17525         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
17526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
17527         sys/kdaemon.h.
17528         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
17529         compat-only syscall, obsoleted in glibc 2.23.
17530         (create_module): Likewise.
17531         (get_kernel_syms): Likewise.
17532         (query_module): Likewise.
17533         (uselib): Likewise.
17534         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
17536 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
17538         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
17539         <linux/version.h>.
17540         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
17541         conditional code.
17542         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
17543         and ioshift_name initialization.
17545 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17547         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17548         Fix indentation.
17550 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17552         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
17554 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17556         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
17558 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
17559             Jakub Wilk  <jwilk@debian.org>
17561         [BZ #19347]
17562         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
17563         to change the group of the device to the tty group.
17565 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
17567         Split large string section; add truncation advice
17568         * manual/examples/strncat.c: Remove.
17569         This example was misleading, as the code would have undefined
17570         behavior if "hello" was longer than SIZE.  Anyway, the manual
17571         shouldn't encourage strncpy+strncat for this sort of thing.
17572         * manual/string.texi (Copying Strings and Arrays): Split into
17573         three sections Copying Strings and Arrays, Concatenating Strings,
17574         and Truncating Strings, as this section was way too long.  All
17575         cross-referenced changed.  Add advice about string-truncation
17576         functions.  Remove misleading strncat example.
17578 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
17580         * manual/nss.texi (NSS Modules Interface): Document
17581         NSS_STATUS_NOTFOUND and SUCCESS.
17583 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17585         [BZ 18568]
17586         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17587         201505L, for Unicode 8.
17589 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
17591         * locale/C-translit.h: Regenerate.
17593 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17595         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
17596         and U+0153.
17598 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
17600         [BZ #19351]
17601         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
17602         expanding log(1+z), compare z rather than its square with epsilon
17603         to determine when to avoid evaluating the expansion.
17605         [BZ #19350]
17606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17607         Increase overflow threshold.
17609         [BZ #19349]
17610         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
17611         when small.
17613         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17615         New macro.
17616         [__LINUX_KERNEL_VERSION >= 0x040300]
17617         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17618         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17619         Likewise.
17620         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17621         Likewise.
17622         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17623         Likewise.
17624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17625         Likewise.
17626         [__LINUX_KERNEL_VERSION >= 0x040300]
17627         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17628         [__LINUX_KERNEL_VERSION >= 0x040300]
17629         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17630         [__LINUX_KERNEL_VERSION >= 0x040300]
17631         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17632         [__LINUX_KERNEL_VERSION >= 0x040300]
17633         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17634         [__LINUX_KERNEL_VERSION >= 0x040300]
17635         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17637         Likewise.
17638         [__LINUX_KERNEL_VERSION >= 0x040300]
17639         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17641         Likewise.
17642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17643         Likewise.
17644         [__LINUX_KERNEL_VERSION >= 0x040300]
17645         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17647         Likewise.
17648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17649         Likewise.
17650         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17651         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
17652         Likewise.
17653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
17654         Likewise.
17655         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17656         Likewise.
17657         [__LINUX_KERNEL_VERSION >= 0x040300]
17658         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17659         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17660         Likewise.
17661         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17662         Likewise.
17663         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17664         Likewise.
17665         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17666         Likewise.
17667         [__LINUX_KERNEL_VERSION >= 0x040300]
17668         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17669         [__LINUX_KERNEL_VERSION >= 0x040300]
17670         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17671         [__LINUX_KERNEL_VERSION >= 0x040300]
17672         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17673         [__LINUX_KERNEL_VERSION >= 0x040300]
17674         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17675         [__LINUX_KERNEL_VERSION >= 0x040300]
17676         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17678         Likewise.
17679         [__LINUX_KERNEL_VERSION >= 0x040300]
17680         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17681         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17682         Likewise.
17683         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17684         Likewise.
17685         [__LINUX_KERNEL_VERSION >= 0x040300]
17686         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17688         Likewise.
17689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17690         Likewise.
17691         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17692         (__ASSUME_SOCKET_SYSCALL): Likewise.
17693         (__ASSUME_BIND_SYSCALL): Likewise.
17694         (__ASSUME_CONNECT_SYSCALL): Likewise.
17695         (__ASSUME_LISTEN_SYSCALL): Likewise.
17696         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17697         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17698         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17699         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17700         (__ASSUME_SEND_SYSCALL): Likewise.
17701         (__ASSUME_SENDTO_SYSCALL): Likewise.
17702         (__ASSUME_RECV_SYSCALL): Likewise.
17703         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17704         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17705         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17706         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17707         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17708         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17709         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17710         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17711         Likewise.
17712         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17713         Likewise.
17714         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17715         Likewise.
17716         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17717         Likewise.
17718         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17719         Likewise.
17720         [__LINUX_KERNEL_VERSION >= 0x020625]
17721         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17722         [__LINUX_KERNEL_VERSION >= 0x020625]
17723         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17724         [__LINUX_KERNEL_VERSION >= 0x020625]
17725         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17726         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17727         Likewise.
17728         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17729         Likewise.
17730         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17731         Likewise.
17732         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17733         Likewise.
17734         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17735         Likewise.
17736         [__LINUX_KERNEL_VERSION >= 0x020625]
17737         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17738         [__LINUX_KERNEL_VERSION >= 0x020625]
17739         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17740         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17741         Likewise.
17742         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17743         Likewise.
17745 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17747         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17748         record the current if the current ABI and CPU support the FP64
17749         extension.
17750         (has-modd-spreg): Define to record the current if the current ABI and
17751         CPU support 32-bit floating point values in odd FPU registers.
17752         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17753         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17754         $(has-modd-spreg) equals yes.
17755         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17756         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17757         $(has-modd-spreg) equal yes.
17759 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17761         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17762         basename.
17764 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17766         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17767         (bench-string): ... here.
17768         (bench): Add bench-string.
17769         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17770         to *-benchset to reflect what they are.
17771         (benchset): Adjust.
17773         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17774         cos-inputs.
17776 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17778         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17779         __attribute__ ((__simd__)) for vector math function declarations.
17781 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17783         Fix typo in strncat, wcsncat manual entries
17784         * manual/string.texi (Copying and Concatenation): Fix typos in
17785         sample implementations of strncat and wcsncat, by having them use
17786         the old value of the destination length, not the new one.
17788 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17790         [BZ #16961]
17791         [BZ #16962]
17792         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17793         string on the stack for strtod.
17794         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17795         a string on the stack for strtof.
17796         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17797         constructing a string on the stack for strtold.
17798         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17799         __strtold_nan to GLIBC_PRIVATE.
17800         * math/test-nan-overflow.c: New file.
17801         * math/test-nan-payload.c: Likewise.
17802         * math/Makefile (tests): Add test-nan-overflow and
17803         test-nan-payload.
17805 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17807         Consistency about byte vs character in string.texi
17808         * manual/string.texi (String and Array Utilities):
17809         Distinguish more carefully among bytes, multibyte characters,
17810         and wide characters.  Use "byte" when talking about C 'char',
17811         to distinguish it more clearly from multibyte characters.
17812         Say "wide character" or "multibyte character" instead of
17813         "character", when a wide or multibyte character is intended.
17814         Similarly for "multibyte string" versus "string".
17815         Define these terms more carefully.
17817 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17819         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17820         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17821         Likewise.
17822         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17823         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17824         * sysdeps/sh/math_private.h: New file.
17825         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17826         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17827         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17828         long double function name.
17829         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17830         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17831         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17832         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17833         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17835         Remove __finitel, __isinfl, and __isnanl.
17836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17837         Likewise.
17838         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17840         Remove __finitel.
17841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17842         Likewise.
17843         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17845 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17847         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17848         installed libmvec_nonshared.a.
17850 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17852         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17853         (sysdep_routines): Likewise.
17854         (sysdep-rtld-routines): Likewise.
17855         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17856         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17857         * sysdeps/powerpc/Versions: Added new
17858         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17859         * sysdeps/powerpc/hwcapinfo.c: New file.
17860         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17861         and parse hwcap, hwcap2 and platform number information.
17862         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17863         to store HWCAP+HWCAP2 and platform number.
17864         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17865         for HWCAP+HWCAP2 and platform number in the TCB.
17866         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17867         the HWCAP, HWCAP2 and platform number in the TCB.
17868         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17869         (TLS_INIT_TP): Included calls to add the hwcap and
17870         at_platform values in the TCB in TP initialization.
17871         (TLS_DEFINE_INIT_TP): Likewise.
17872         (THREAD_GET_HWCAP): New macro.
17873         (THREAD_SET_HWCAP): Likewise.
17874         (THREAD_GET_AT_PLATFORM): Likewise.
17875         (THREAD_SET_AT_PLATFORM): Likewise.
17876         * sysdeps/powerpc/powerpc32/dl-machine.h:
17877         (dl_platform_init): New function that calls
17878         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17879         powerpc32.
17880         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17881         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17882         this functionality, static linking case.
17883         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17884         linking case.
17885         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17886         __parse_hwcap_and_convert_at_platform for the static linking case.
17887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17888         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17889         ABI list for GLIBC 2.23.
17890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17891         Likewise.
17892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17893         Likewise.
17895 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17897         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17898         * configure: Regenerate.
17899         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17900         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17902 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17904         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17905         * iconvdata/ibm933.c: Likewise.
17906         * iconvdata/ibm935.c: Likewise.
17907         * iconvdata/ibm937.c: Likewise.
17908         * iconvdata/ibm939.c: Likewise.
17910 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17912         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17913         pthread_join.
17914         * nptl/tst-cancel21.c (tf): Likewise.
17916 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17918         [BZ #19313]
17919         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17920         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17921         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17922         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17923         Likewise.
17924         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17925         Likewise.
17926         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17927         Likewise.
17928         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17929         Likewise.
17930         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17931         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17932         unsigned long int with __CPU_MASK_TYPE.
17934 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17936         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17938 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17940         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17941         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17942         t512.x.
17943         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17945 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17947         [BZ #19214]
17948         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17949         argument to return extended model.  Update family and model
17950         with extended family and model when family == 0x0f.
17951         (init_cpu_features): Updated.
17953 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17955         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17956         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17958         * sysdeps/mach/hurd/mmap64.c: New file.
17960 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17962         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17963         rights for its main user thread in NEWTASK.
17965 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17967         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17968         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17970 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17972         [BZ #14259]
17973         * Makeconfig: Rename localedir to complocaledir.
17974         Rename inst_localedir to inst_complocaledir.
17975         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17976         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17977         * configure.ac: Use libc_cv_complocaledir.
17978         * configure: Regenerate.
17979         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17980         -DCOMPLOCALEDIR.
17981         * locale/findlocale.c: Use COMPLOCALEDIR.
17982         * locale/loadarchive.c: Likewise.
17983         * locale/programs/locale.c: Likewise.
17984         * locale/programs/localedef.c: Likewise.
17985         * locale/programs/locarchive.c: Likewise.
17986         * localedata/Makefile: Use inst_complocaledir.
17987         * sysdeps/gnu/configure: Regenerate.
17988         * sysdeps/hppa/configure: Regenerate.
17989         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17990         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17992         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17993         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17994         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17995         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17997 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17999         [BZ #19058]
18000         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18001         AS_NEEDED.
18002         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18003         workaround.
18004         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18005         libmvec-static-only-routines): Added new file.
18006         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18008 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18010         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18011         of interrupted RPC instead of restoring it.
18013         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18014         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18015         libc_hidden_def.
18016         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18017         into initialized data instead of common. Define rtld_hidden_data_def.
18018         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18019         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18020         libc_hidden_def.
18021         (if_freenameindex): Add libc_hidden_weak.
18022         (if_nameindex): Add libc_hidden_weak.
18023         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18024         __open64.
18025         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18026         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18027         * sysdeps/mach/nanosleep.c: Include <time.h>
18028         (__nanosleep): Rename to __libc_nanosleep.
18029         (__nanosleep): Add weak_alias.
18030         (nanosleep): Update alias.
18032 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18034         * stdlib/strtod_nan.c: New file.
18035         * stdlib/strtod_nan_double.h: Likewise.
18036         * stdlib/strtod_nan_float.h: Likewise.
18037         * stdlib/strtod_nan_main.c: Likewise.
18038         * stdlib/strtod_nan_narrow.h: Likewise.
18039         * stdlib/strtod_nan_wide.h: Likewise.
18040         * stdlib/strtof_nan.c: Likewise.
18041         * stdlib/strtold_nan.c: Likewise.
18042         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18043         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18044         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18045         * wcsmbs/wcstod_nan.c: Likewise.
18046         * wcsmbs/wcstof_nan.c: Likewise.
18047         * wcsmbs/wcstold_nan.c: Likewise.
18048         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18049         strtold_nan.
18050         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18051         wcstof_nan.
18052         * include/stdlib.h (__strtof_nan): Declare and use
18053         libc_hidden_proto.
18054         (__strtod_nan): Likewise.
18055         (__strtold_nan): Likewise.
18056         (__wcstof_nan): Likewise.
18057         (__wcstod_nan): Likewise.
18058         (__wcstold_nan): Likewise.
18059         * include/wchar.h (____wcstoull_l_internal): Declare.
18060         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18061         (____strtoull_l_internal): Remove declaration.
18062         (STRTOF_NAN): Define macro.
18063         (SET_MANTISSA): Remove macro.
18064         (STRTOULL): Likewise.
18065         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18066         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18067         (STRTOF_NAN): Define macro.
18068         (SET_MANTISSA): Remove macro.
18069         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18070         (SET_MANTISSA): Remove macro.
18071         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18072         macro.
18073         (SET_MANTISSA): Remove macro.
18074         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18075         macro.
18076         (SET_MANTISSA): Remove macro.
18077         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18078         (SET_MANTISSA): Remove macro.
18079         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18080         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18081         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18083         [BZ #19266]
18084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18085         upper case and lower case letters inside NAN(), not using TOLOWER.
18086         * stdlib/tst-strtod-nan-locale-main.c: New file.
18087         * stdlib/tst-strtod-nan-locale.c: Likewise.
18088         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18089         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18090         Depend on $(gen-locales).
18091         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18092         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18093         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18094         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18095         Depend on $(gen-locales).
18096         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18098 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18100         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18102         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18104         __finitel, __isinfl, and __isnanl.
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18106         Likewise.
18107         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18109         __finitel.
18110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18111         Likewise.
18112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18114 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18116         * malloc/memusage.c (me): Remove redundant getenv call.
18118 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18120         [BZ #19143]
18121         [BZ #19164]
18122         * nptl/check-cpuset.h: Remove.
18123         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18124         Remove CPU set size check.
18125         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18126         Likewise.
18127         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18128         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18129         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18130         (__pthread_setaffinity_new): Remove CPU set size check.
18131         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18132         (__kernel_cpumask_size): Remove.
18133         (__sched_setaffinity_new): Remove CPU set size check.
18134         * manual/threads.texi (Default Thread Attributes): Remove stale
18135         reference to check_cpuset_attr, determine_cpumask_size in comment.
18136         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18137         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18138         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18139         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18140         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18141         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18142         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18143         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18144         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18145         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18146         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18147         skeleton test file.
18148         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18149         tst-affinity-pid.
18151 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18153         * scripts/update-abilist.sh: New file.
18154         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18155         * Makerules (update-all-abi-%, update-all-abi)
18156         (subdir_update-all-abi): New targets.
18157         * elf/Makefile (update-all-abi): New target.
18159 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18161         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18162         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18163         (__libc_lock_define_initialized): Use it.
18164         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18165         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18166         * malloc/malloc.c (main_arena): Likewise.
18167         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18168         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18170 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18172         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18173         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18174         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18175         (PTRACE_O_MASK): Update value.
18176         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18177         New value in enum __ptrace_setoptions.
18178         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18179         (PTRACE_O_MASK): Update value.
18180         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18181         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18182         (PTRACE_O_MASK): Update value.
18183         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18184         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18185         (PTRACE_O_MASK): Update value.
18186         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18187         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18188         (PTRACE_O_MASK): Update value.
18189         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18190         New value in enum __ptrace_setoptions.
18191         (PTRACE_O_MASK): Update value.
18192         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18193         New value in enum __ptrace_setoptions.
18194         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18195         (PTRACE_O_MASK): Update value.
18197         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18198         New macro.
18199         (PACKET_AUXDATA): Likewise.
18200         (PACKET_ORIGDEV): Likewise.
18201         (PACKET_VERSION): Likewise.
18202         (PACKET_HDRLEN): Likewise.
18203         (PACKET_RESERVE): Likewise.
18204         (PACKET_TX_RING): Likewise.
18205         (PACKET_LOSS): Likewise.
18206         (PACKET_VNET_HDR): Likewise.
18207         (PACKET_TX_TIMESTAMP): Likewise.
18208         (PACKET_TIMESTAMP): Likewise.
18209         (PACKET_FANOUT): Likewise.
18210         (PACKET_TX_HAS_OFF): Likewise.
18211         (PACKET_QDISC_BYPASS): Likewise.
18212         (PACKET_ROLLOVER_STATS): Likewise.
18213         (PACKET_FANOUT_DATA): Likewise.
18214         (PACKET_MR_UNICAST): Likewise.
18216         [BZ #19242]
18217         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18218         (TOUPPER): Likewise.
18219         * stdlib/tst-strtol-locale-main.c: New file.
18220         * stdlib/tst-strtol-locale.c: Likewise.
18221         * stdlib/Makefile (tests): Add tst-strtol-locale.
18222         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18223         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18224         Depend on $(gen-locales).
18225         * wcsmbs/tst-wcstol-locale.c: New file.
18226         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18227         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18228         tr_TR.ISO-8859-9.
18229         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18230         Depend on $(gen-locales).
18232 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18234         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18235         __glibc_likely instead of __builtin_expect.  After falling back to
18236         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18237         system interface to register the code pages as occupied.
18239 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18241         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18242         [!ARM_MATH_PRIVATE_H].
18243         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18244         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18245         [!HPPA_MATH_PRIVATE_H].
18246         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18247         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18248         to [!I386_MATH_PRIVATE_H].
18249         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18250         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18251         Change guard to [!M68K_MATH_PRIVATE_H].
18252         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18253         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18254         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18255         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18256         macro.
18257         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18258         [!MIPS_MATH_PRIVATE_H].
18259         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18260         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18261         [!NIO2_MATH_PRIVATE_H].
18262         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18263         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18264         [!TILE_MATH_PRIVATE_H].
18265         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18267         [BZ #15421]
18268         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18269         initialize with 0 and define as weak alias of __signgam.
18270         * include/math.h [!_ISOMAC] (__signgam): Declare.
18271         * math/Makefile (libm-calls): Add w_lgamma_compat.
18272         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18273         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18274         test-signgam-ullong-init.
18275         (tests-static): Add test-signgam-uchar-static,
18276         test-signgam-uchar-init-static, test-signgam-uint-static,
18277         test-signgam-uint-init-static, test-signgam-ullong-static and
18278         test-signgam-ullong-init-static.
18279         (CFLAGS-test-signgam-uchar.c): New variable.
18280         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18281         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18282         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18283         (CFLAGS-test-signgam-uint.c): Likewise.
18284         (CFLAGS-test-signgam-uint-init.c): Likewise.
18285         (CFLAGS-test-signgam-uint-static.c): Likewise.
18286         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18287         (CFLAGS-test-signgam-ullong.c): Likewise.
18288         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18289         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18290         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18291         * math/Versions (libm): Add GLIBC_2.23.
18292         * math/lgamma-compat.h: New file.
18293         * math/test-signgam-main.c: Likewise.
18294         * math/test-signgam-uchar-init-static.c: Likewise.
18295         * math/test-signgam-uchar-init.c: Likewise.
18296         * math/test-signgam-uchar-static.c: Likewise.
18297         * math/test-signgam-uchar.c: Likewise.
18298         * math/test-signgam-uint-init-static.c: Likewise.
18299         * math/test-signgam-uint-init.c: Likewise.
18300         * math/test-signgam-uint-static.c: Likewise.
18301         * math/test-signgam-uint.c: Likewise.
18302         * math/test-signgam-ullong-init-static.c: Likewise.
18303         * math/test-signgam-ullong-init.c: Likewise.
18304         * math/test-signgam-ullong-static.c: Likewise.
18305         * math/test-signgam-ullong.c: Likewise.
18306         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18307         wrapper of w_lgamma_main.c.
18308         * math/w_lgamma_compat.c: New file.
18309         * math/w_lgamma_compatf.c: Likewise.
18310         * math/w_lgamma_compatl.c: Likewise.
18311         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18312         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18313         defining compatibility symbols.
18314         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18315         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18316         wrapper of w_lgammaf_main.c.
18317         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18318         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18319         defining compatibility symbols.
18320         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18321         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18322         wrapper of w_lgammal_main.c.
18323         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18324         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18325         defining compatibility symbols.
18326         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18327         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18328         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18329         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18330         <lgamma-compat.h>.
18331         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18332         (__ieee754_gamma): Define as alias.
18333         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18334         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18335         <lgamma-compat.h>.
18336         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18337         (__ieee754_gammaf): Define as alias.
18338         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18339         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18340         <lgamma-compat.h>.
18341         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18342         (__ieee754_gammal): Define as alias.
18343         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18344         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18345         <math/w_lgamma_compat.c>.
18346         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18347         Define as alias of __lgamma_compat and use in defining lgammal.
18348         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18349         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18350         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18351         (USE_AS_COMPAT): New macro.
18352         (LGAMMA_OLD_VER): Undefine and redefine.
18353         (lgammal): Do not define here.
18354         (gammal): Only define here if [GAMMA_ALIAS].
18355         * conform/linknamespace.pl (@whitelist): Remove signgam.
18356         * sysdeps/nacl/libm.abilist: Update.
18357         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18358         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18359         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18360         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18361         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18362         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18363         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18365         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18366         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18367         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18368         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18370         Likewise.
18371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18372         Likewise.
18373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18374         Likewise.
18375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18376         Likewise.
18377         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18378         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18379         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18380         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18381         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18383         Likewise.
18384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18385         Likewise.
18386         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18387         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18388         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18390 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18392         [BZ #16364]
18393         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18394         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18396 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18398         * sysdeps/s390/fpu/bits/mathinline.h:
18399         Use __asm__ [__volatile__] instead of asm [volatile].
18400         * sysdeps/s390/abort-instr.h: Likewise.
18401         * sysdeps/s390/atomic-machine.h: Likewise.
18402         * sysdeps/s390/bits/string.h: Likewise.
18403         * sysdeps/s390/dl-tls.h: Likewise.
18404         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18405         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18406         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18407         * sysdeps/s390/fpu/fesetround.c: Likewise.
18408         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18409         * sysdeps/s390/fpu/s_fma.c: Likewise.
18410         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18411         * sysdeps/s390/memusage.h: Likewise.
18412         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18413         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18414         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18415         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18416         * sysdeps/s390/nptl/tls.h: Likewise.
18417         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18418         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18419         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18420         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18421         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18422         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18423         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18424         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18425         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18426         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18427         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18428         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18429         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18430         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18431         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18432         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18433         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18434         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18435         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18437         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18438         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18439         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18441 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18442             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18444         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18445         Add lwarx hint, and use macro for acquire instruction.
18446         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18447         Likewise.
18448         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18449         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18450         update to use new atomic macros.
18452 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18454         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18455         (__lll_trylock_elision): Fix setting of adapt_count.
18456         * sysdeps/unix/sysv/linux/powerpc/htm.h
18457         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18458         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18459         (_ABORT_SYSCALL): Renumber, and clarify definition.
18460         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18462 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18464         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18465         after system headers to prevent MIN/MAX redefinition.  Define
18466         HAVE_ALLOCA to preserve builtin alloca usage.
18468 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18471         static and don't set or restore rounding.
18472         (__cos)[IN_SINCOS]: Likewise.
18473         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18474         (__sincos): Set and restore rounding mode.  Remove check for infinite
18475         or NaN input.
18477         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18479         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18480         as used.
18482 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18484         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18486 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18488         * config.make.in (have-glob-dat-reloc): New.
18489         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
18490         target supports GLOB_DAT relocaton. AC_SUBST.
18491         * configure: Regenerated.
18492         * elf/Makefile (tests): Add tst-prelink.
18493         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18494         (tst-prelink-ENV): New.
18495         ($(objpfx)tst-prelink-conflict.out): Likewise.
18496         ($(objpfx)tst-prelink-cmp.out): Likewise.
18497         * sysdeps/x86/tst-prelink.c: Moved to ...
18498         * elf/tst-prelink.c: Here.
18499         * sysdeps/x86/tst-prelink.exp: Moved to ...
18500         * elf/tst-prelink.exp: Here.
18501         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
18502         (tst-prelink-ENV): Removed.
18503         ($(objpfx)tst-prelink-conflict.out): Likewise.
18504         ($(objpfx)tst-prelink-cmp.out): Likewise.
18505         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
18507 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
18509         [BZ #14551]
18510         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
18511         (__mpn_construct_long_double): If high part overflows to infinity,
18512         set errno and recompute overflowed result of the correct sign.
18513         * sysdeps/ieee754/ldbl-128ibm/Makefile
18514         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
18515         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
18516         $(libm).
18517         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
18519 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
18521         [BZ #15479]
18522         [BZ #19238]
18523         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
18524         floating-point state after first operation on input.  Restore full
18525         state rather than just rounding mode.
18526         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18527         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18528         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18530         [BZ #19235]
18531         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
18532         add 0.5 to integer arguments.
18533         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
18534         Likewise.
18535         (.LC2): New object.
18537 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
18539         * scripts/pylintrc (reports): Set to no.
18541 2015-11-10  Roland McGrath  <roland@hack.frob.com>
18543         * elf/dl-load.c (open_verify): Take new argument FD.
18544         Skip __open call if passed FD is not -1.
18545         (_dl_map_object, open_path): Update callers.
18546         * elf/dl-sysdep-open.h: New file.
18547         * elf/dl-load.c: Include it.
18548         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
18549         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
18550         * sysdeps/nacl/dl-sysdep-open.h: New file.
18551         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
18552         from libc to rtld.
18554 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18556         [BZ #19228]
18557         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
18558         and restore full floating-point state.
18559         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18560         Likewise.
18561         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18562         Likewise.
18563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18564         Likewise.
18565         * math/test-nearbyint-except-2.c: New file.
18566         * math/Makefile (tests): Add test-nearbyint-except-2.
18568 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
18570         [BZ #19178]
18571         * sysdeps/x86/Makefile (tests): Add tst-prelink.
18572         (tst-prelink-ENV): New.
18573         ($(objpfx)tst-prelink-conflict.out): Likewise.
18574         ($(objpfx)tst-prelink-cmp.out): Likewise.
18575         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18576         * sysdeps/x86/tst-prelink.c: New file.
18577         * sysdeps/x86/tst-prelink.exp: Likewise.
18579 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18581         * math/auto-libm-test-in: Add another test of pow.
18582         * math/auto-libm-test-out: Regenerated.
18583         * math/libm-test.inc (pow_test_data): Add another test.
18585 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18587         [BZ #19219]
18588         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
18589         weak_alias to nearbyintl.
18591 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18593         * sysdeps/aarch64/bits/string.h: New file.
18594         (_STRING_ARCH_unaligned): Define.
18596 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18598         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
18599         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18600         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18601         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
18604 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
18606         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
18607         for original name of the DSO.  Add it to the name list of the DSO
18608         if it is actually given.
18609         (_dl_map_object): Keep track of whether an audit module rewrote
18610         the file name.  If yes, pass the original name to
18611         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
18612         debugging is enabled, log the change of the file name.
18613         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
18614         _dl_map_object_from_fd.
18615         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
18616         * elf/tst-audit11.c: New file
18617         * elf/tst-auditmod11.c: New file.
18618         * elf/tst-audit11mod1.c: New file.
18619         * elf/tst-audit11mod2.c: New file.
18620         * elf/tst-audit11mod2.map: New file.
18621         * elf/tst-audit12.c: New file
18622         * elf/tst-auditmod12.c: New file.
18623         * elf/tst-audit12mod1.c: New file.
18624         * elf/tst-audit12mod2.c: New file.
18625         * elf/tst-audit12mod2.map: New file.
18626         * elf/tst-audit12mod3.c: New file.
18628 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18630         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
18631         Don't create weak aliases,
18632         because versioned symbols are created later.
18633         * sysdeps/s390/s390-32/setjmp.S
18634         (setjmp, _setjmp): Remove weak and rename to an unique name
18635         in SHARED case due to existing versioned symbols.
18636         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18637         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
18638         (getcontext): Create weak alias only in non SHARED case.
18639         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18641 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18643         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
18644         (__ASSUME_*_SYSCALL) Define new macros.
18645         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
18646         Remove socketcall syscalls.
18647         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
18648         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
18649         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
18650         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
18651         * sysdeps/unix/sysv/linux/send.c (__libc_send):
18652         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
18654 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18656         [BZ #12926]
18657         Terminate process on invalid netlink response.
18658         * sysdeps/unix/sysv/linux/netlinkaccess.h
18659         (__netlink_assert_response): Declare.
18660         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18661         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18662         (sysdep_routines): Add netlink_assert_response.
18663         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18664         __netlink_assert_response.
18665         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18666         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18667         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18668         __netlink_assert_response.
18670 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18672         [BZ #19178]
18673         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18674         (RTYPE_CLASS_PLT): Likewise.
18675         (RTYPE_CLASS_COPY): Likewise.
18676         (RTYPE_CLASS_TLS): Likewise.
18677         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18678         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18679         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18680         DL_DEBUG_PRELINK.
18682 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18684         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18685         calls with argument -0.5.
18686         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18688         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18689         (libc_cv_z_nodlopen): Likewise.
18690         (libc_cv_z_initfirst): Likewise.
18691         * configure: Regenerated.
18693 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18695         Simplify abilist format to be line-based.
18696         * scripts/abilist.awk: Collect descriptors in the descs variable.
18697         (emit): Write descs variable and sort it
18698         externally, with sort.
18699         * sysdeps/**/*.abilist: Convert to new format.
18701 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18703         [BZ #11460]
18704         * io/Makefile (routines): Add fts64.
18705         (tests): Add tst-fts and tst-fts-lfs.
18706         (CFLAGS-fts64.c): New.
18707         * io/Versions (GLIBC_2.23): New.
18708         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18709         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18710         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18711         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18712         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18713         (FTSENT64): Likewise.
18714         (fts64_children): Likewise.
18715         (fts64_close): Likewise.
18716         (fts64_open): Likewise.
18717         (fts64_read): Likewise.
18718         (fts64_set): Likewise.
18719         * io/fts64.c: New file.
18720         * io/tst-fts.c: New test.
18721         * io/tst-fts-lfs.c: Likewise.
18722         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18723         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18724         fts64_set.
18725         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18726         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18727         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18728         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18729         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18730         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18731         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18732         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18733         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18734         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18735         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18736         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18737         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18739         Likewise.
18740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18741         Likewise.
18742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18744         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18745         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18746         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18747         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18748         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18751         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18752         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18753         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18754         * sysdeps/wordsize-64/fts.c: New file.
18755         * sysdeps/wordsize-64/fts64.c: Likewise.
18756         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18757         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18758         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18759         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18761 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18763         * math/libm-test.inc (NON_FINITE): New macro.
18764         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18765         * math/gen-libm-test.pl (show_exceptions): Add argument
18766         $non_finite.
18767         (parse_args): Update call to show_exceptions.
18768         * math/test-math-finite.h: New file.
18769         * math/test-math-no-finite.h: Likewise.
18770         * math/test-double-finite.c: Likewise.
18771         * math/test-float-finite.c: Likewise.
18772         * math/test-ldouble-finite.c: Likewise.
18773         * math/test-double.c: Include "test-math-no-finite.h".
18774         * math/test-float.c: Include "test-math-no-finite.h".
18775         * math/test-ldouble.c: Include "test-math-no-finite.h".
18776         * math/test-math-inline.h (TEST_FINITE): New macro.
18777         * math/test-math-vector.h (TEST_FINITE): Likewise.
18778         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18779         (libm-tests): Add test-float-finite and test-double-finite.
18780         ($(objpfx)test-float-finite.o): New dependency on
18781         $(objpfx)libm-test.stmp.
18782         ($(objpfx)test-double-finite.o): Likewise.
18783         ($(objpfx)test-ldouble-finite.o): Likewise.
18784         (libm-test-no-inline-cflags): New variable.
18785         (libm-test-finite-cflags): Likewise.
18786         (CFLAGS-test-float-finite.c): Likewise.
18787         (CFLAGS-test-double-finite.c): Likewise.
18788         (CFLAGS-test-ldouble-finite.c): Likewise.
18789         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18790         (CFLAGS-test-double.c): Likewise.
18791         (CFLAGS-test-ldouble.c): Likewise.
18793 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18795         * io/fcntl.c (__fcntl): Add ... to prototype.
18796         * misc/ioctl.c (__ioctl): Likewise.
18797         * misc/syscall.c (syscall): Likewise.
18799 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18801         * scripts/list-fixed-bugs.py: New file.
18803         [BZ #19213]
18804         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18805         returned for argument 1.
18806         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18807         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18808         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18809         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18810         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18811         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18813         [BZ #19211]
18814         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18815         __USE_XOPEN], not if [!__USE_ISOC99].
18816         (lgammaf): Likewise.
18817         (lgammal): Likewise.
18818         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18819         (gammaf): Likewise.
18820         (gammal): Likewise.
18821         * math/test-signgam-finite-c11.c: New file.
18822         * math/test-signgam-finite-c99.c: Likewise.
18823         * math/test-signgam-finite.c: Likewise.
18824         * math/Makefile (tests): Add test-signgam-finite,
18825         test-signgam-finite-c99 and test-signgam-finite-c11.
18826         (CFLAGS-test-signgam-finite.c): New variable.
18827         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18828         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18830         [BZ #19212]
18831         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18832         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18833         500].
18834         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18835         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18836         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18837         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18838         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18839         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18840         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18841         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18842         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18843         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18845         [BZ #19209]
18846         * math/bits/math-finite.h (ldexp): Remove declaration.
18847         (ldexpf): Likewise.
18848         (ldexpl): Likewise.
18850         [BZ #19205]
18851         * math/bits/math-finite.h (acosf): Condition declaration on
18852         [__USE_ISOC99].
18853         (acosl): Likewise.
18854         (acoshf): Likewise.
18855         (acoshl): Likewise.
18856         (asinf): Likewise.
18857         (asinl): Likewise.
18858         (atan2f): Likewise.
18859         (atan2l): Likewise.
18860         (atanhf): Likewise.
18861         (atanhl): Likewise.
18862         (coshf): Likewise.
18863         (coshl): Likewise.
18864         (expf): Likewise.
18865         (expl): Likewise.
18866         (fmodf): Likewise.
18867         (fmodl): Likewise.
18868         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18869         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18870         (j0l): Likewise.
18871         (y0f): Likewise.
18872         (y0l): Likewise.
18873         (j1f): Likewise.
18874         (j1l): Likewise.
18875         (y1f): Likewise.
18876         (y1l): Likewise.
18877         (jnf): Likewise.
18878         (jnl): Likewise.
18879         (ynf): Likewise.
18880         (ynl): Likewise.
18881         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18882         (lgammal_r): Likewise.
18883         (__lgamma_r_finite): New declaration.
18884         (__lgammaf_r_finite): Likewise.
18885         (__lgammal_r_finite): Likewise.
18886         (lgamma): Use __lgamma_r_finite.
18887         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18888         __lgammaf_r_finite.
18889         (lgammal): Condition definition on [__USE_ISOC99].  Use
18890         __lgammal_r_finite.
18891         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18892         __lgamma_r_finite.
18893         (gammaf): Condition definition on [__USE_ISOC99].  Use
18894         __lgammaf_r_finite.
18895         (gammal): Condition definition on [__USE_ISOC99].  Use
18896         __lgammal_r_finite.
18897         (logf): Condition declaration on [__USE_ISOC99].
18898         (logl): Likewise.
18899         (log10f): Likewise.
18900         (log10l): Likewise.
18901         (ldexpf): Likewise.
18902         (ldexpl): Likewise.
18903         (powf): Likewise.
18904         (powl): Likewise.
18905         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18906         __USE_ISOC99].
18907         (remainderf): Condition declaration on [__USE_ISOC99].
18908         (remainderl): Likewise.
18909         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18910         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18911         (scalbl): Likewise.
18912         (sinhf): Condition declaration on [__USE_ISOC99].
18913         (sinhl): Likewise.
18914         (sqrtf): Likewise.
18915         (sqrtl): Likewise.
18917 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18919         * sysdeps/arm/atomic-machine.h
18920         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18921         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18922         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18923         Remove conditional code.
18924         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18925         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18926         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18927         Change conditional to [__ASSEMBLER__].
18928         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18929         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18930         [!__ASSEMBLER__].
18931         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18932         code.
18933         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18934         conditional macro definitions.
18935         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18936         (__arch_compare_and_exchange_val_16_acq): Likewise.
18937         (__arch_compare_and_exchange_val_32_acq): Likewise.
18938         (atomic_exchange_and_add): Likewise.
18939         (atomic_add): Likewise.
18940         (atomic_add_negative): Likewise.
18941         (atomic_add_zero): Likewise.
18942         (atomic_bit_set): Likewise.
18943         (atomic_bit_test_set): Likewise.
18944         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18945         code unconditional.
18946         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18948         * math/test-math-errno.h: New file.
18949         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18950         empty.
18951         (TEST_ERRNO): New macro.
18952         (TEST_EXCEPTIONS): Likewise.
18953         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18954         (TEST_EXCEPTIONS): Likewise.
18955         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18956         * math/test-double.c: Include "test-math-errno.h".
18957         * math/test-float.c: Likewise.
18958         * math/test-ldouble.c: Likewise.
18959         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18960         code unconditional.
18961         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18962         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18963         unconditional.
18964         (test_errno): Only run code if TEST_ERRNO.
18965         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18967 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18969         * nptl/tst-once5.cc: Remove attribution.
18971 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18973         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18974         sqrt, tan, tanh, y0, y1 and yn.
18975         * math/auto-libm-test-out: Regenerated.
18976         * math/libm-test.inc (scalb_test_data): Add more tests.
18977         (scalbn_test_data): Likewise.
18978         (scalbln_test_data): Likewise.
18979         (signbit_test_data): Likewise.
18980         (sin_test_data): Likewise.
18981         (sincos_test_data): Likewise.
18982         (sinh_test_data): Likewise.
18983         (sqrt_test_data): Likewise.
18984         (tan_test_data): Likewise.
18985         (tanh_test_data): Likewise.
18986         (tgamma_test_data): Likewise.
18987         (y0_test_data): Likewise.
18988         (y1_test_data): Likewise.
18989         (yn_test_data): Likewise.
18990         (significand_test_data): Likewise.
18991         * sysdeps/i386/fpu/libm-test-ulps: Update.
18993 2015-11-03  David Kastrup  <dak@gnu.org>
18995         [BZ #18604]
18996         * assert/assert.h (assert): Don't macro-expand failed assertion
18997         expression in error message.
18998         * malloc/malloc.c (assert): Likewise.
19000 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19002         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19003         test.
19004         * configure: Regenerated.
19006 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19008         * math/libm-test.inc (modf_test_data): Add more tests.
19009         (nearbyint_test_data): Likewise.
19010         (nextafter_test_data): Likewise.
19011         (nexttoward_test_data): Likewise.
19012         (pow_test_data): Likewise.
19013         (remainder_test_data): Likewise.
19014         (remquo_test_data): Likewise.
19015         (rint_test_data): Likewise.
19017         [BZ #19201]
19018         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19019         Check for zero remainder in case of large exponents and ensure
19020         correct sign of result in that case.
19021         * math/libm-test.inc (remainder_test_data): Add more tests.
19023         [BZ #6799]
19024         * math/s_nextafter.c: Include <errno.h>.
19025         (__nextafter): Set errno on overflow and underflow.
19026         * math/s_nexttowardf.c: Include <errno.h>.
19027         (__nexttowardf): Set errno on overflow and underflow.
19028         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19029         (__nextafterl): Set errno on overflow and underflow.
19030         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19031         (__nexttoward): Set errno on overflow and underflow.
19032         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19033         (__nexttowardf): Set errno on overflow and underflow.
19034         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19035         (__nextafterf): Set errno on overflow and underflow.
19036         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19037         (__nextafterl): Set errno on overflow and underflow.
19038         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19039         (__nexttoward): Set errno on overflow and underflow.
19040         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19041         (__nexttowardf): Set errno on overflow and underflow.
19042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19043         (__nextafterl): Set errno on overflow and underflow.
19044         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19045         (__nexttoward): Set errno on overflow and underflow.
19046         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19047         (__nexttowardf): Set errno on overflow and underflow.
19048         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19049         (__nexttoward): Set errno on overflow and underflow.
19050         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19051         (__nexttowardf): Set errno on overflow and underflow.
19052         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19053         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19054         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19055         (__nextafterl): Set errno on overflow and underflow.
19056         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19057         setting to be missing on overflow.  Add more tests.
19058         (nexttoward_test_data): Likewise.
19060         * configure.ac (libc_cv_initfini_array): Remove configure test.
19061         * configure: Regenerated.
19063 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19065         [BZ #19189]
19066         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19067         non-finite argument handle arguments with negative sign.
19069         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19070         result from infinite argument.
19071         (j1_test_data): Likewise.
19072         (jn_test_data): Likewise.
19073         (y0_test_data): Likewise.
19074         (y1_test_data): Likewise.
19075         (yn_test_data): Likewise.
19077         [BZ #16171]
19078         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19079         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19080         * math/w_remainderf.c (dremf): Define as weak alias of
19081         __remainderf.
19082         * math/w_remainderl.c (dreml): Define as weak alias of
19083         __remainderl.
19084         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19085         __remainder.
19086         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19087         __remainderf.
19088         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19089         __remainderl.
19090         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19091         weak alias of remainderl.
19092         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19093         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19094         alias of __remainder.
19095         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19096         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19097         strong alias of __remainderl.
19098         (dreml): Use long_double_symbol.
19099         * math/Makefile (libm-calls): Remove w_drem.
19100         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19101         (CFLAGS-nldbl-drem.c): Remove variable.
19102         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19103         * math/w_drem.c: Remove file.
19104         * math/w_dremf.c: Likewise.
19105         * math/w_dreml.c: Likewise.
19106         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19107         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19108         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19110         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19111         * sysdeps/i386/configure: Regenerated.
19112         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19113         * sysdeps/x86_64/configure: Regenerated.
19115         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19116         test.
19117         (libc_cv_visibility_attribute): Likewise.
19118         (libc_cv_protected_data): Test unconditionally.
19119         (libc_cv_broken_visibility_attribute): Remove configure test.
19120         (libc_cv_have_sdata_section): Test unconditionally.
19121         * configure: Regenerated.
19123         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19124         * include/scratch_buffer.h: Include <stddef.h> instead of
19125         <libc-internal.h>.
19126         (struct scratch_buffer): Use max_align_t instead of
19127         libc_max_align_t.
19129 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19131         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19132         instead of extend_alloca.  Change control flow to avoid a goto.
19133         Remove assert which is trivially always true.
19135 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19137         [BZ #16068]
19138         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19139         (FE_ALL_EXCEPT_X86): New macro.
19140         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19141         FE_ALL_EXCEPT.  Ensure precision control is included in
19142         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19143         handle "denormal operand exception" and clear FZ and DAZ bits.
19144         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19145         (FE_ALL_EXCEPT_X86): New macro.
19146         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19147         FE_ALL_EXCEPT.  Ensure precision control is included in
19148         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19149         handle "denormal operand exception" and clear FZ and DAZ bits.
19150         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19151         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19152         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19153         test-fenv-x87 and test-fenv-sse-2.
19154         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19156         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19157         * math/test-double.h (BUILD_COMPLEX): New macro.
19158         * math/test-float.h (BUILD_COMPLEX): Likewise.
19159         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19161         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19162         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19163         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19165         instead of DBL_DENORM_MIN in comment.
19166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19167         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19168         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19169         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19170         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19171         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19173 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19175         [BZ# 19048]
19176         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19177         attached_threads member.
19178         (main_arena): Initialize attached_threads.
19179         * malloc/arena.c (list_lock): Update comment.
19180         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19181         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19182         (deattach_arena): New function.
19183         (_int_new_arena): Initialize arena reference count and deattach
19184         replaced arena.
19185         (get_free_list, reused_arena): Update reference count and deattach
19186         replaced arena.
19187         (arena_thread_freeres): Update arena reference count and only put
19188         unreferenced arenas on the free list.
19190 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #19181]
19193         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19194         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19195         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19196         * math/test-fenv-clear-main.c: New file.
19197         * math/test-fenv-clear.c: Likewise.
19198         * math/Makefile (tests): Add test-fenv-clear.
19199         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19200         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19201         test-fenv-clear-sse.
19202         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19204         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19205         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19206         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19208 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19210         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19211         static libc.
19213 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19215         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19216         test.
19217         * sysdeps/i386/configure: Regenerated.
19218         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19219         test.
19220         * sysdeps/x86_64/configure: Regenerated.
19221         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19223         memset-avx2 unconditionally instead of conditionally on
19224         [$(config-cflags-avx2) = yes].
19225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19226         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19227         unconditional.
19228         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19229         * sysdeps/x86_64/multiarch/memset_chk.S
19230         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19231         to [IS_IN (libc) && SHARED].
19233 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19235         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19236         configure test.
19237         * sysdeps/arm/configure: Regenerated.
19238         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19239         Define variable if not already defined.
19241         [BZ #17404]
19242         * sysdeps/mips/atomic-machine.h
19243         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19244         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19245         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19247         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19248         unconditional.
19249         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19250         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19251         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19252         unconditional.
19253         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19254         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19255         unconditional.
19256         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19257         * stdlib/setenv.c
19258         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19259         code unconditional.
19260         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19261         Remove conditional code.
19262         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19263         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19264         unconditional.
19265         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19266         code.
19267         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19268         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19269         unconditional.
19270         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19271         code.
19272         * sysdeps/ieee754/ldbl-128/k_tanl.c
19273         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19274         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19275         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19276         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19277         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19278         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19279         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19280         unconditional.
19281         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19282         code.
19283         * sysdeps/ieee754/ldbl-96/k_tanl.c
19284         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19285         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19287         * nptl/tst-initializers1-c11.c: New file.
19288         * nptl/tst-initializers1-gnu11.c: Likewise.
19289         * nptl/Makefile (tests): Add these new tests.
19290         (CFLAGS-tst-initializers1-c11.c): New variable.
19291         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19293         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19294         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19295         instead of -std=gnu99.
19296         * configure.ac (systemtap): Test with -std=gnu11 instead of
19297         -std=gnu99.
19298         * configure: Regenerated.
19299         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19300         in compilation command in comment.
19302         * sysdeps/nptl/configure.ac: Remove file.
19303         * sysdeps/nptl/configure: Remove generated file.
19304         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19305         * configure: Regenerated.
19306         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19307         * config.make.in (have-forced-unwind): Remove variable.
19308         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19309         unconditional.
19310         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19311         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19312         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19313         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19314         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19315         unconditional.
19317 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19319         [BZ #19174]
19320         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19321         .skip_lock_out_of_tbegin_retries.
19322         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19323         (__lll_lock_elision): Likewise, and respect a value of
19324         try_tbegin <= 0.
19326 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19328         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19329         statement.
19331 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19333         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19334         variable.
19335         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19336         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19338         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19339         of -std=c1x -D_ISOC11_SOURCE.
19341         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19342         * configure: Regenerated.
19343         * manual/install.texi (Tools for Compilation): Document
19344         requirement for GCC 4.7 or later.
19345         * INSTALL: Regenerated.
19347 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19349         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19350         on CNT to a conditional jump to 'puntdata'.
19352 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19354         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19355         (libc_cv_gcc_tls_model_attr): Likewise.
19356         * configure: Regenerated.
19358         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19359         * configure: Regenerated.
19360         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19362 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19364         * configure.ac (old_glibc_headers): Remove configure test.
19365         * configure: Regenerated.
19366         * config.make.in (old-glibc-headers): Remove variable.
19367         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19368         (install): Remove dependency on remove-old-headers.
19369         (headers2_0): Remove variable.
19370         (remove-old-headers): Remove rule.
19372         * configure.ac (libc_cv_dot_text): Remove configure test.
19373         (libc_cv_asm_set_directive): Use .text instead of
19374         ${libc_cv_dot_text} in configure test.
19375         * configure: Regenerated.
19377 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19379         [BZ #19168]
19380         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19382 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19384         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19385         not support static linking.
19386         * configure: Regenerate.
19388 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19390         * math/libm-test.inc (check_float_internal): Do not special-case
19391         errors up to 0.5 ulp.
19393         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19394         log2.
19395         * math/auto-libm-test-out: Regenerated.
19396         * math/libm-test.inc (MAX_EXP): New macro.
19397         (ilogb_test_data): Add more tests.
19398         (isfinite_test_data): Likewise.
19399         (isgreater_test_data): Likewise.
19400         (isgreaterequal_test_data): Likewise.
19401         (isinf_test_data): Likewise.
19402         (isless_test_data): Likewise.
19403         (islessequal_test_data): Likewise.
19404         (islessgreater_test_data): Likewise.
19405         (isnan_test_data): Likewise.
19406         (isnormal_test_data): Likewise.
19407         (issignaling_test_data): Likewise.
19408         (isunordered_test_data): Likewise.
19409         (j0_test_data): Likewise.
19410         (j1_test_data): Likewise.
19411         (jn_test_data): Likewise.
19412         (lgamma_test_data): Likewise.
19413         (log_test_data): Likewise.
19414         (log10_test_data): Likewise.
19415         (log1p_test_data): Likewise.
19416         (log2_test_data): Likewise.
19417         (logb_test_data): Likewise.
19418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19420         [BZ #18611]
19421         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19422         avoid excess range and precision on underflow.
19423         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19424         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19425         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19427         underflow.
19428         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19430         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19432         * math/auto-libm-test-in: Do not allow missing errno setting for
19433         tests of j1 and jn.
19434         * math/auto-libm-test-out: Regenerated.
19436 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19438         [BZ #15491]
19439         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19440         floating-point environment instead of clearing all exceptions.
19441         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19442         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19443         merging in "invalid" exceptions from frndint.
19444         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19445         * math/test-nearbyint-except.c: New file.
19446         * math/Makefile (tests): Add test-nearbyint-except.
19448 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19450         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19452         * sysdeps/tile/libm-test-ulps: Regenerated.
19454 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19457         (__NR_sync_file_range2): Assume it is always defined.
19458         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19459         (__NR_sync_file_range): Assume it is always defined.
19461 2015-10-22  Andreas Schwab  <schwab@suse.de>
19463         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19464         INTERNAL_SYSCALL_ERRNO.
19465         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19466         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19467         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19468         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19469         Likewise.
19470         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19472 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19474         * io/tst-fcntl.c (fd): New static variable.
19475         (do_prepare): Open temporary file here....
19476         (do_test): ...not here.
19478         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19480 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19482         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19483         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19484         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19485         Moved before "#ifdef __ASSEMBLER__".
19487 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19489         [BZ #19156]
19490         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
19491         arguments very close to 0.
19493 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
19495         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
19496         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
19498 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19500         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19501         New.  Defined for GCC 5 and above when not compiling for
19502         profiling.
19503         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19505         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19506         Renamed to ...
19507         (CFLAGS-epoll_pwait.o): This.
19508         (CFLAGS-mmap.c): Renamed to ...
19509         (CFLAGS-mmap.o): This.
19510         (CFLAGS-mmap64.c): Renamed to ...
19511         (CFLAGS-mmap64.o): This.
19512         (CFLAGS-epoll_pwait.os): New.
19513         (CFLAGS-mmap.os): Likewise.
19514         (CFLAGS-mmap64.os): Likewise.
19515         (CFLAGS-semtimedop.os): Likewise.
19516         (CFLAGS-semtimedop.c): Renamed to ...
19517         (CFLAGS-semtimedop.o): This.
19519 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19521         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
19522         warning message.
19524 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19526         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
19527         * Makefile ($(objpfx)c++-types-check.out): Filter out
19528         $(+gccwarn-c) instead of -Wstrict-prototypes.
19530         * io/fts.c (fts_open): Convert to prototype-style function
19531         definition.
19532         * malloc/mcheck.c (mcheck): Likewise.
19533         (mcheck_pedantic): Likewise.
19534         * posix/regexec.c (re_search_2_stub): Likewise.  Use
19535         internal_function.
19536         (re_search_internal): Likewise.
19537         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
19538         prototype-style function definition.
19539         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19540         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
19541         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
19542         (xdr_utmpptr): Likewise.
19543         (xdr_utmparr): Likewise.
19544         (xdr_utmpidle): Likewise.
19545         (xdr_utmpidleptr): Likewise.
19546         (xdr_utmpidlearr): Likewise.
19548         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
19549         log, log10 and log2.
19550         * math/auto-libm-test-out: Regenerated.
19551         * math/libm-test.inc (fmod_test_data): Add more tests.
19552         (fpclassify_test_data): Likewise.
19553         (frexp_test_data): Likewise.
19554         (hypot_test_data): Likewise.
19555         (ilogb_test_data): Likewise.
19557 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
19559         * debug/fortify_fail.c (__fortify_fail): Convert to
19560         prototype-style function definition.  Use internal_function.
19561         * libio/genops.c (save_for_backup): Convert to prototype-style
19562         function definition.
19563         * libio/wgenops.c (save_for_wbackup): Likewise.
19564         * login/grantpt.c (grantpt): Likewise.
19565         * login/ptsname.c (ptsname): Likewise.
19566         (__ptsname_r): Likewise.
19567         * login/unlockpt.c (unlockpt): Likewise.
19568         * mach/msgserver.c (__mach_msg_server): Likewise.
19569         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
19570         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
19571         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
19572         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
19573         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
19574         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
19575         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
19576         Likewise.
19577         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
19578         internal_function.
19579         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
19580         prototype-style function definition.
19581         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
19582         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
19583         (__pthread_create_2_0): Likewise.
19584         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
19585         * nptl/register-atfork.c (__register_atfork): Likewise.
19586         * posix/glob.c (glob): Likewise.
19587         * posix/regcomp.c (re_comp): Likewise.
19588         * posix/regexec.c (re_exec): Likewise.
19589         * stdlib/add_n.c [__STDC__]: Make code unconditional.
19590         [!__STDC__]: Remove conditional code.
19591         * stdlib/cmp.c [__STDC__]: Make code unconditional.
19592         [!__STDC__]: Remove conditional code.
19593         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
19594         [!__STDC__]: Remove conditional code.
19595         * stdlib/divrem.c [__STDC__]: Make code unconditional.
19596         [!__STDC__]: Remove conditional code.
19597         * stdlib/lshift.c [__STDC__]: Make code unconditional.
19598         [!__STDC__]: Remove conditional code.
19599         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
19600         [!__STDC__]: Remove conditional code.
19601         * stdlib/mul.c [__STDC__]: Make code unconditional.
19602         [!__STDC__]: Remove conditional code.
19603         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
19604         [!__STDC__]: Remove conditional code.
19605         * stdlib/rshift.c [__STDC__]: Make code unconditional.
19606         [!__STDC__]: Remove conditional code.
19607         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
19608         function definition.
19609         (STRTOF): Likewise.
19610         * stdlib/strtod_l.c (__STRTOF): Likewise.
19611         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
19612         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
19613         (__strtol_l): Likewise.
19614         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
19615         [!__STDC__]: Remove conditional code.
19616         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
19617         definition.
19618         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19619         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19620         type.
19621         (__strcasecmp): Convert to prototype-style function definition.
19622         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
19623         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19624         type.
19625         (__strncasecmp): Convert to prototype-style function definition.
19626         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
19627         * sunrpc/xdr.c (xdr_union): Likewise.
19628         * sunrpc/xdr_array.c (xdr_array): Likewise.
19629         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
19630         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
19631         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
19632         Likewise.
19633         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
19634         Likewise.
19635         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
19636         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19637         Likewise.
19638         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
19639         (LOCALE_PARAM_PROTO): Likewise.
19640         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
19641         argument type.
19642         (ut_argument_spec): Remove macro.
19643         (ut_argument_spec_iso): Rename to ut_argument_spec.
19644         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
19645         prototype-style function definition.
19646         (memcpy_uppcase): Likewise.
19647         (__strftime_internal): Likewise.
19648         (my_strftime): Likewise.
19649         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
19650         (LOCALE_PARAM_DECL): Likewise.
19651         [_LIBC] (LOCALE_PARAM): Include argument type.
19652         (__strptime_internal): Convert to prototype-style function
19653         definition.
19654         (strptime): Likewise.
19655         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19656         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19657         type.
19658         (__wcscasecmp): Convert to prototype-style function definition.
19659         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19660         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19661         type.
19662         (__wcsncasecmp): Convert to prototype-style function definition.
19664         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19665         function definition.
19666         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19667         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19668         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19669         * elf/dl-minimal.c (_itoa): Likewise.
19670         * hurd/hurdmalloc.c (malloc): Likewise.
19671         (free): Likewise.
19672         (realloc): Likewise.
19673         * inet/inet6_option.c (inet6_option_space): Likewise.
19674         (inet6_option_init): Likewise.
19675         (inet6_option_append): Likewise.
19676         (inet6_option_alloc): Likewise.
19677         (inet6_option_next): Likewise.
19678         (inet6_option_find): Likewise.
19679         * io/ftw.c (FTW_NAME): Likewise.
19680         (NFTW_NAME): Likewise.
19681         (NFTW_NEW_NAME): Likewise.
19682         (NFTW_OLD_NAME): Likewise.
19683         * libio/iofwide.c (_IO_fwide): Likewise.
19684         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19685         (_IO_str_init_static): Likewise.
19686         (_IO_str_init_readonly): Likewise.
19687         (_IO_str_overflow): Likewise.
19688         (_IO_str_underflow): Likewise.
19689         (_IO_str_count): Likewise.
19690         (_IO_str_seekoff): Likewise.
19691         (_IO_str_pbackfail): Likewise.
19692         (_IO_str_finish): Likewise.
19693         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19694         (_IO_wstr_overflow): Likewise.
19695         (_IO_wstr_underflow): Likewise.
19696         (_IO_wstr_count): Likewise.
19697         (_IO_wstr_seekoff): Likewise.
19698         (_IO_wstr_pbackfail): Likewise.
19699         (_IO_wstr_finish): Likewise.
19700         * locale/programs/localedef.c (normalize_codeset): Likewise.
19701         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19702         (add_locales_to_archive): Likewise.
19703         (delete_locales_from_archive): Likewise.
19704         * malloc/malloc.c (__libc_mallinfo): Likewise.
19705         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19706         * misc/tsearch.c (__tfind): Likewise.
19707         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19708         * nptl/pthread_attr_getdetachstate.c
19709         (__pthread_attr_getdetachstate): Likewise.
19710         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19711         Likewise.
19712         * nptl/pthread_attr_getinheritsched.c
19713         (__pthread_attr_getinheritsched): Likewise.
19714         * nptl/pthread_attr_getschedparam.c
19715         (__pthread_attr_getschedparam): Likewise.
19716         * nptl/pthread_attr_getschedpolicy.c
19717         (__pthread_attr_getschedpolicy): Likewise.
19718         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19719         Likewise.
19720         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19721         Likewise.
19722         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19723         Likewise.
19724         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19725         Likewise.
19726         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19727         (__pthread_attr_init_2_0): Likewise.
19728         * nptl/pthread_attr_setdetachstate.c
19729         (__pthread_attr_setdetachstate): Likewise.
19730         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19731         Likewise.
19732         * nptl/pthread_attr_setinheritsched.c
19733         (__pthread_attr_setinheritsched): Likewise.
19734         * nptl/pthread_attr_setschedparam.c
19735         (__pthread_attr_setschedparam): Likewise.
19736         * nptl/pthread_attr_setschedpolicy.c
19737         (__pthread_attr_setschedpolicy): Likewise.
19738         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19739         Likewise.
19740         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19741         Likewise.
19742         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19743         Likewise.
19744         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19745         Likewise.
19746         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19747         Likewise.
19748         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19749         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19750         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19751         use internal_function.
19752         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19753         prototype-style function definition.
19754         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19755         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19756         internal_function.
19757         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19758         Convert to prototype-style function definition.
19759         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19760         Likewise.
19761         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19762         Likewise.
19763         (__pthread_mutex_unlock): Likewise.
19764         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19765         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19766         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19767         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19768         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19769         * nss/makedb.c (process_input): Likewise.
19770         * posix/fnmatch.c (__strchrnul): Likewise.
19771         (__wcschrnul): Likewise.
19772         (fnmatch): Likewise.
19773         * posix/fnmatch_loop.c (FCT): Likewise.
19774         * posix/glob.c (globfree): Likewise.
19775         (__glob_pattern_type): Likewise.
19776         (__glob_pattern_p): Likewise.
19777         * posix/regcomp.c (re_compile_pattern): Likewise.
19778         (re_set_syntax): Likewise.
19779         (re_compile_fastmap): Likewise.
19780         (regcomp): Likewise.
19781         (regerror): Likewise.
19782         (regfree): Likewise.
19783         * posix/regexec.c (regexec): Likewise.
19784         (re_match): Likewise.
19785         (re_search): Likewise.
19786         (re_match_2): Likewise.
19787         (re_search_2): Likewise.
19788         (re_search_stub): Likewise.  Use internal_function
19789         (re_copy_regs): Likewise.
19790         (re_set_registers): Convert to prototype-style function
19791         definition.
19792         (prune_impossible_nodes): Likewise.  Use internal_function.
19793         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19794         prototype-style function definition.
19795         (inet_net_pton_ipv4): Likewise.
19796         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19797         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19798         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19799         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19800         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19801         Make variadic.
19802         * time/strptime_l.c (localtime_r): Convert to prototype-style
19803         function definition.
19804         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19805         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19806         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19807         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19809         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19810         definition.
19811         (_ufc_doit_r): Likewise.
19812         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19813         (_ufc_output_conversion_r): Likewise.
19814         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19815         * inet/rcmd.c (rcmd_af): Likewise.
19816         (rcmd): Likewise.
19817         (ruserok_af): Likewise.
19818         (ruserok): Likewise.
19819         (ruserok2_sa): Likewise.
19820         (ruserok_sa): Likewise.
19821         (iruserok_af): Likewise.
19822         (iruserok): Likewise.
19823         (__ivaliduser): Likewise.
19824         (__validuser2_sa): Likewise.
19825         * inet/rexec.c (rexec_af): Likewise.
19826         (rexec): Likewise.
19827         * inet/ruserpass.c (ruserpass): Likewise.
19828         * locale/programs/xmalloc.c (xcalloc): Likewise.
19829         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19830         * math/w_drem.c (__drem): Likewise.
19831         * math/w_dremf.c (__dremf): Likewise.
19832         * math/w_dreml.c (__dreml): Likewise.
19833         * misc/daemon.c (daemon): Likewise.
19834         * resolv/res_debug.c (p_fqnname): Likewise.
19835         * stdlib/div.c (div): Likewise.
19836         * string/memcmp.c (memcmp_bytes): Likewise.
19837         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19838         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19840         * crypt/cert.c (main): Convert to prototype-style function
19841         definition.
19842         * io/pipe.c (__pipe): Likewise.
19843         * io/pipe2.c (__pipe2): Likewise.
19844         * misc/futimesat.c (futimesat): Likewise.
19845         * misc/utimes.c (__utimes): Likewise.
19846         * posix/execve.c (__execve): Likewise.
19847         * posix/execvp.c (execvp): Likewise.
19848         * posix/execvpe.c (__execvpe): Likewise.
19849         * posix/fexecve.c (fexecve): Likewise.
19850         * socket/socketpair.c (socketpair): Likewise.
19851         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19852         * stdlib/erand48.c (erand48): Likewise.
19853         * stdlib/erand48_r.c (__erand48_r): Likewise.
19854         * stdlib/jrand48.c (jrand48): Likewise.
19855         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19856         * stdlib/lcong48.c (lcong48): Likewise.
19857         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19858         * stdlib/nrand48.c (nrand48): Likewise.
19859         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19860         * stdlib/seed48.c (seed48): Likewise.
19861         * stdlib/seed48_r.c (__seed48_r): Likewise.
19862         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19863         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19864         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19866 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19868         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19869         * configure: Regenerated.
19870         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19871         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19872         unconditional.
19873         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19874         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19875         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19876         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19877         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19878         unconditional.
19879         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19881         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19882         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19884         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19885         function definition.
19886         * crypt/crypt_util.c (__encrypt_r): Likewise.
19887         * libio/genops.c (_IO_no_init): Likewise.
19888         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19889         (_IO_old_fopencookie): Likewise.
19890         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19891         * libio/iogetline.c (_IO_getline): Likewise.
19892         (_IO_getline_info): Likewise.
19893         * libio/iogetwline.c (_IO_getwline): Likewise.
19894         (_IO_getwline_info): Likewise.
19895         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19896         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19897         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19898         (find_entry): Likewise.
19899         (iterate_table): Likewise.
19900         (lookup): Likewise.
19901         * login/forkpty.c (forkpty): Likewise.
19902         * misc/hsearch_r.c (__hsearch_r): Likewise.
19903         * misc/select.c (__select): Likewise.
19904         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19905         Likewise.
19906         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19907         Likewise.
19908         * nptl/old_pthread_cond_timedwait.c
19909         (__pthread_cond_timedwait_2_0): Likewise.
19910         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19911         * nptl/pthread_barrierattr_getpshared.c
19912         (pthread_barrierattr_getpshared): Likewise.
19913         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19914         Likewise.
19915         * nptl/pthread_mutex_setprioceiling.c
19916         (pthread_mutex_setprioceiling): Likewise.
19917         * nptl/pthread_mutexattr_getprioceiling.c
19918         (pthread_mutexattr_getprioceiling): Likewise.
19919         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19920         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19921         Likewise.
19922         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19923         Likewise.
19924         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19925         Likewise.
19926         * socket/recvfrom.c (__recvfrom): Likewise.
19927         * socket/sendto.c (__sendto): Likewise.
19928         * socket/setsockopt.c (__setsockopt): Likewise.
19929         * stdio-common/_itoa.c (_itoa): Likewise.
19930         * stdio-common/_itowa.c (_itowa): Likewise.
19931         * stdio-common/reg-printf.c (__register_printf_specifier):
19932         Likewise.
19933         (__register_printf_function): Likewise.
19934         * stdio-common/tempname.c (__path_search): Likewise.
19935         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19936         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19937         * stdlib/random_r.c (__initstate_r): Likewise.
19938         * stdlib/setenv.c (__add_to_environ): Likewise.
19939         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19940         * streams/getpmsg.c (getpmsg): Likewise.
19941         * streams/putmsg.c (putmsg): Likewise.
19942         * streams/putpmsg.c (putpmsg): Likewise.
19943         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19944         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19945         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19946         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19947         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19948         * sunrpc/svc_udp.c (cache_get): Likewise.
19949         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19950         * sysdeps/mach/hurd/getcwd.c
19951         (__canonicalize_directory_name_internal): Likewise.
19952         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19953         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19954         * sysdeps/mach/hurd/select.c (__select): Likewise.
19955         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19956         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19957         * sysdeps/sparc/nptl/pthread_barrier_init.c
19958         (__pthread_barrier_init): Likewise.
19959         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19960         (__pthread_cond_timedwait): Likewise.
19961         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19962         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19963         Likewise.
19964         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19965         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19966         Likewise.
19967         * sysvipc/semtimedop.c (semtimedop): Likewise.
19968         * time/setitimer.c (__setitimer): Likewise.
19969         * time/strftime_l.c (emacs_strftime): Likewise.
19971 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19973         * config.make.in (have-ssp): Delete.
19974         (stack-protector): New variable.
19975         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19976         cache test for -fstack-protector-strong.  Export stack_protector to
19977         the best ssp flag.
19978         * configure: Regenerated.
19979         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19980         * nscd/Makefile (CFLAGS-nscd): Likewise.
19981         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19983 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19985         [BZ #19122]
19986         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19987         attribute_hidden.
19989 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19991         [BZ #18743]
19992         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19993         code to...
19994         (ELIDE_LOCK): ...here.
19995         (__get_new_count): New function with part of the code from
19996         __elide_lock that updates the value of adapt_count after a
19997         transaction abort.
19998         (__elided_trylock): Moved this code to...
19999         (ELIDE_TRYLOCK): ...here.
20001 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20003         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20004         * configure: Regenerate.
20005         * INSTALL: Regenerate.
20006         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20007         and tweak grammar.
20009 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20011         * login/programs/pt_chown.c: Include signal.h
20012         (main): Clear any signal mask from the parent process.
20014 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20016         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20017         * configure: Regenerated.
20018         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20019         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20020         $(gnu89-inline-CFLAGS).
20022         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20023         test.
20024         (libc_cv_asm_weakext_directive): Likewise.
20025         * configure: Regenerated.
20026         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20027         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20028         * include/libc-symbols.h
20029         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20030         #error.
20031         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20032         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20034         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20035         prototype-style function definition.
20036         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20037         * sysdeps/i386/ffs.c (__ffs): Likewise.
20038         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20039         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20040         Likewise.
20041         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20042         Likewise.
20043         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20044         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20045         Likewise.
20046         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20047         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20048         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20049         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20050         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20051         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20052         * sysdeps/mach/hurd/access.c (__access): Likewise.
20053         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20054         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20055         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20056         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20057         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20058         (cthread_getspecific): Likewise.
20059         (cthread_setspecific): Likewise.
20060         (__libc_getspecific): Likewise.
20061         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20062         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20063         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20064         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20065         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20066         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20067         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20068         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20069         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20070         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20071         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20072         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20073         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20074         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20075         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20076         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20077         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20078         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20079         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20080         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20081         * sysdeps/mach/hurd/link.c (__link): Likewise.
20082         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20083         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20084         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20085         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20086         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20087         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20088         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20089         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20090         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20091         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20092         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20093         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20094         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20095         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20096         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20097         * sysdeps/mach/hurd/send.c (__send): Likewise.
20098         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20099         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20100         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20101         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20102         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20103         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20104         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20105         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20106         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20107         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20108         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20109         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20110         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20111         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20112         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20113         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20114         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20115         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20116         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20117         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20118         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20119         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20120         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20121         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20122         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20123         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20124         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20125         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20126         * sysdeps/posix/alarm.c (alarm): Likewise.
20127         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20128         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20129         * sysdeps/posix/dup.c (__dup): Likewise.
20130         * sysdeps/posix/dup2.c (__dup2): Likewise.
20131         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20132         (main): Likewise.
20133         * sysdeps/posix/flock.c (__flock): Likewise.
20134         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20135         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20136         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20137         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20138         * sysdeps/posix/isatty.c (__isatty): Likewise.
20139         * sysdeps/posix/killpg.c (killpg): Likewise.
20140         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20141         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20142         * sysdeps/posix/raise.c (raise): Likewise.
20143         * sysdeps/posix/remove.c (remove): Likewise.
20144         * sysdeps/posix/rename.c (rename): Likewise.
20145         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20146         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20147         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20148         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20149         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20150         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20151         * sysdeps/posix/sigset.c (sigset): Likewise.
20152         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20153         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20154         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20155         * sysdeps/posix/time.c (time): Likewise.
20156         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20157         (ttyname): Likewise.
20158         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20159         * sysdeps/posix/utime.c (utime): Likewise.
20160         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20161         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20162         Likewise.
20163         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20164         (pthread_spin_trylock): Likewise.
20165         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20166         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20167         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20168         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20169         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20170         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20171         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20172         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20173         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20174         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20175         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20176         * sysdeps/s390/ffs.c (__ffs): Likewise.
20177         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20178         Likewise.
20179         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20180         Likewise.
20181         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20182         Likewise.
20183         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20184         (pthread_barrier_destroy): Likewise.
20185         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20186         (__pthread_barrier_wait): Likewise.
20187         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20188         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20189         (__pthread_barrier_wait): Likewise.
20190         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20191         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20192         (memcmp_not_common_alignment): Likewise.
20193         (MEMCMP): Likewise.
20194         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20195         (_wordcopy_fwd_dest_aligned): Likewise.
20196         (_wordcopy_bwd_aligned): Likewise.
20197         (_wordcopy_bwd_dest_aligned): Likewise.
20198         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20199         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20200         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20201         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20202         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20203         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20204         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20205         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20206         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20207         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20208         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20209         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20210         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20211         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20212         * sysdeps/unix/stime.c (stime): Likewise.
20213         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20214         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20215         Likewise.  Use internal_function.
20216         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20217         Convert to prototype-style function definition.
20218         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20219         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20220         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20221         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20222         Likewise.  Use internal_function.
20223         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20224         prototype-style function definition
20225         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20226         Likewise.
20227         (__getlogin_r): Likewise.
20228         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20229         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20230         (__pthread_cond_broadcast): Likewise.
20231         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20232         (__pthread_cond_destroy): Likewise.
20233         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20234         (__pthread_cond_init): Likewise.
20235         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20236         (__pthread_cond_signal): Likewise.
20237         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20238         (__pthread_cond_wait): Likewise.
20239         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20240         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20241         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20242         Likewise.
20243         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20246         Likewise.
20247         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20248         Likewise.
20249         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20251         (__ftruncate64): Likewise.
20252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20253         (truncate64): Likewise.
20254         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20255         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20256         (pthread_getcpuclockid): Likewise.
20257         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20258         Likewise.
20259         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20260         Likewise.
20261         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20262         Likewise.
20263         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20264         Likewise.
20265         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20266         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20267         (__libc_sigaction): Likewise.
20268         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20269         Likewise.
20270         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20271         (__sigprocmask): Likewise.
20272         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20273         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20274         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20275         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20276         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20277         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20278         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20279         Likewise.
20280         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20281         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20282         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20283         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20284         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20285         Likewise.
20286         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20287         (__sigprocmask): Likewise.
20288         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20289         (cfgetispeed): Likewise.
20290         (cfsetospeed): Likewise.
20291         (cfsetispeed): Likewise.
20292         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20293         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20294         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20295         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20296         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20297         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20298         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20299         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20300         Likewise.
20301         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20302         Likewise.
20303         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20304         Likewise.
20305         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20306         Likewise.
20307         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20309 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20311         sunrpc: Rewrite with explicit TLS access using __thread.
20312         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20313         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20314         directly.
20315         (__rpc_thread_variables): Access thread_rpc_vars directly.
20316         Eliminate redundant assignment of the tvp variable.
20318 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20320         malloc: Rewrite with explicit TLS access using __thread.
20321         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20322         (tsd_setspecific, tsd_getspecific): Remove.
20323         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20324         (tsd_setspecific, tsd_getspecific): Likewise.
20325         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20326         (tsd_setspecific, tsd_getspecific): Likewise.
20327         * malloc/arena.c (thread_arena): New TLS variable.
20328         (arena_key): Remove variable.
20329         (arena_get): Use thread_arena.
20330         (arena_lookup): Remove macro.
20331         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20332         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20333         (_int_new_arena, get_free_list, reused_arena)
20334         (arena_thread_freeres): Use thread_arena.
20335         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20336         tsd_getspecific, tsd_setspecific from safety annotations.
20337         (Allocating Cleared Space): Remove arena_lookup from safety
20338         annotations.
20340 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20342         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20343         struct scratch_buffer instead of extend_alloca.
20345 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20347         * sysdeps/unix/sysv/linux/kernel-features.h
20348         (__ASSUME_SOCK_CLOEXEC): Remove.
20349         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20350         (__have_paccept): Remove unused macro.
20351         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20352         * misc/syslog.c (openlog_internal): Remove fallback code for
20353         !__ASSUME_SOCK_CLOEXEC.
20354         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20355         missing SOCK_CLOEXEC.
20356         * nscd/connections.c (have_sock_cloexec): Remove definition.
20357         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20358         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20359         !__ASSUME_SOCK_CLOEXEC.
20360         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20361         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20362         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20363         definition.
20364         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20365         code for !__ASSUME_SOCK_CLOEXEC.
20367 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20369         [BZ #18982]
20370         * manual/stdio.texi (Variable Arguments Output): Add portability
20371         note, explaining that vfprintf clobbers the va_list pointer.
20373 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20375         * math/libm-test.inc (fabs_test_data): Add more tests.
20376         (fdim_test_data): Likewise.
20377         (fma_test_data): Likewise.
20378         (fmax_test_data): Likewise.
20379         (fmin_test_data): Likewise.
20380         (fmod_test_data): Likewise.
20382 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20384         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20385         data.
20387 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20389         * math/libm-test.inc (ceil_test_data): Add more tests and more
20390         expectations for "inexact".
20391         (floor_test_data): Add more tests.
20392         (round_test_data): Likewise.
20393         (trunc_test_data): Likewise.
20395         * crypt/cert.c (good_bye): Convert to prototype-style function
20396         definition.
20397         (get8): Likewise.
20398         (put8): Likewise.
20399         * crypt/crypt-entry.c (crypt): Likewise.
20400         (__fcrypt): Likewise.
20401         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20402         (_ufc_set_bits): Likewise.
20403         (_ufc_clearmem): Likewise.
20404         (__init_des_r): Likewise.
20405         (shuffle_sb): Likewise.
20406         (shuffle_sb): Likewise.
20407         (_ufc_setup_salt_r): Likewise.
20408         (_ufc_mk_keytab_r): Likewise.
20409         (_ufc_dofinalperm_r): Likewise.
20410         (encrypt): Likewise.
20411         (__setkey_r): Likewise.
20412         (setkey): Likewise.
20413         * crypt/md5.c (md5_init_ctx): Likewise.
20414         (md5_read_ctx): Likewise.
20415         (md5_finish_ctx): Likewise.
20416         (md5_stream): Likewise.
20417         (md5_buffer): Likewise.
20418         (md5_process_bytes): Likewise.
20419         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20420         (__sha256_finish_ctx): Likewise.
20421         (__sha256_process_bytes): Likewise.
20422         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20423         (__sha512_finish_ctx): Likewise.
20424         (__sha512_process_bytes): Likewise.
20425         * ctype/isctype.c (__isctype): Likewise.
20426         * debug/backtrace.c (__backtrace): Likewise.
20427         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20428         * debug/fgets_chk.c (__fgets_chk): Likewise.
20429         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20430         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20431         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20432         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20433         * debug/memset_chk.c (__memset_chk): Likewise.
20434         * debug/strcat_chk.c (__strcat_chk): Likewise.
20435         * debug/strncat_chk.c (__strncat_chk): Likewise.
20436         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20437         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20438         * dirent/dirfd.c (dirfd): Likewise.
20439         * dirent/getdents.c (__getdirentries): Likewise.
20440         * dirent/getdents64.c (getdirentries64): Likewise.
20441         * dirent/rewinddir.c (__rewinddir): Likewise.
20442         * dirent/seekdir.c (seekdir): Likewise.
20443         * dirent/telldir.c (telldir): Likewise.
20444         * elf/sln.c (makesymlinks): Likewise.
20445         (makesymlink): Likewise.
20446         * gmon/gmon.c (__moncontrol): Likewise.
20447         (__monstartup): Likewise.
20448         (write_hist): Likewise.
20449         (write_call_graph): Likewise.
20450         (write_bb_counts): Likewise.
20451         * grp/setgroups.c (setgroups): Likewise.
20452         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20453         * inet/inet_net.c (inet_network): Likewise.
20454         * inet/inet_netof.c (inet_netof): Likewise.
20455         * inet/rcmd.c (rresvport_af): Likewise.
20456         (rresvport): Likewise.
20457         * io/access.c (__access): Likewise.
20458         * io/chdir.c (__chdir): Likewise.
20459         * io/chmod.c (__chmod): Likewise.
20460         * io/chown.c (__chown): Likewise.
20461         * io/close.c (__close): Likewise.
20462         * io/creat.c (creat): Likewise.
20463         * io/creat64.c (creat64): Likewise.
20464         * io/dup.c (__dup): Likewise.
20465         * io/dup2.c (__dup2): Likewise.
20466         * io/dup3.c (__dup3): Likewise.
20467         * io/euidaccess.c (__euidaccess): Likewise.
20468         * io/faccessat.c (faccessat): Likewise.
20469         * io/fchmod.c (__fchmod): Likewise.
20470         * io/fchmodat.c (fchmodat): Likewise.
20471         * io/fchown.c (__fchown): Likewise.
20472         * io/fchownat.c (fchownat): Likewise.
20473         * io/fcntl.c (__fcntl): Likewise.
20474         * io/flock.c (__flock): Likewise.
20475         * io/fts.c (fts_load): Likewise.
20476         (fts_close): Likewise.
20477         (fts_read): Likewise.
20478         (fts_set): Likewise.
20479         (fts_children): Likewise.
20480         (fts_build): Likewise.
20481         (fts_stat): Likewise.
20482         (fts_sort): Likewise.
20483         (fts_alloc): Likewise.
20484         (fts_lfree): Likewise.
20485         (fts_palloc): Likewise.
20486         (fts_padjust): Likewise.
20487         (fts_maxarglen): Likewise.
20488         (fts_safe_changedir): Likewise.
20489         * io/getwd.c (getwd): Likewise.
20490         * io/isatty.c (__isatty): Likewise.
20491         * io/lchown.c (__lchown): Likewise.
20492         * io/link.c (__link): Likewise.
20493         * io/linkat.c (linkat): Likewise.
20494         * io/lseek.c (__libc_lseek): Likewise.
20495         * io/mkdir.c (__mkdir): Likewise.
20496         * io/mkdirat.c (mkdirat): Likewise.
20497         * io/mkfifo.c (mkfifo): Likewise.
20498         * io/mkfifoat.c (mkfifoat): Likewise.
20499         * io/open.c (__libc_open): Likewise.
20500         * io/open64.c (__libc_open64): Likewise.
20501         * io/readlink.c (__readlink): Likewise.
20502         * io/readlinkat.c (readlinkat): Likewise.
20503         * io/rmdir.c (__rmdir): Likewise.
20504         * io/symlink.c (__symlink): Likewise.
20505         * io/symlinkat.c (symlinkat): Likewise.
20506         * io/ttyname.c (ttyname): Likewise.
20507         * io/ttyname_r.c (__ttyname_r): Likewise.
20508         * io/umask.c (__umask): Likewise.
20509         * io/unlink.c (__unlink): Likewise.
20510         * io/unlinkat.c (unlinkat): Likewise.
20511         * io/utime.c (utime): Likewise.
20512         * libio/clearerr.c (clearerr): Likewise.
20513         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
20514         * libio/feof.c (_IO_feof): Likewise.
20515         * libio/feof_u.c (feof_unlocked): Likewise.
20516         * libio/ferror.c (_IO_ferror): Likewise.
20517         * libio/ferror_u.c (ferror_unlocked): Likewise.
20518         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20519         * libio/fileno.c (__fileno): Likewise.
20520         * libio/fputc.c (fputc): Likewise.
20521         * libio/fputc_u.c (fputc_unlocked): Likewise.
20522         * libio/fputwc.c (fputwc): Likewise.
20523         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
20524         * libio/freopen.c (freopen): Likewise.
20525         * libio/freopen64.c (freopen64): Likewise.
20526         * libio/fseek.c (fseek): Likewise.
20527         * libio/fseeko.c (fseeko): Likewise.
20528         * libio/fseeko64.c (fseeko64): Likewise.
20529         * libio/ftello.c (__ftello): Likewise.
20530         * libio/ftello64.c (ftello64): Likewise.
20531         * libio/fwide.c (fwide): Likewise.
20532         * libio/genops.c (_IO_un_link): Likewise.
20533         (_IO_link_in): Likewise.
20534         (_IO_least_marker): Likewise.
20535         (_IO_switch_to_main_get_area): Likewise.
20536         (_IO_switch_to_backup_area): Likewise.
20537         (_IO_switch_to_get_mode): Likewise.
20538         (_IO_free_backup_area): Likewise.
20539         (_IO_switch_to_put_mode): Likewise.
20540         (__overflow): Likewise.
20541         (__underflow): Likewise.
20542         (__uflow): Likewise.
20543         (_IO_setb): Likewise.
20544         (_IO_doallocbuf): Likewise.
20545         (_IO_default_underflow): Likewise.
20546         (_IO_default_uflow): Likewise.
20547         (_IO_default_xsputn): Likewise.
20548         (_IO_sgetn): Likewise.
20549         (_IO_default_xsgetn): Likewise.
20550         (_IO_sync): Likewise.
20551         (_IO_default_setbuf): Likewise.
20552         (_IO_default_seekpos): Likewise.
20553         (_IO_default_doallocate): Likewise.
20554         (_IO_init): Likewise.
20555         (_IO_old_init): Likewise.
20556         (_IO_default_sync): Likewise.
20557         (_IO_default_finish): Likewise.
20558         (_IO_default_seekoff): Likewise.
20559         (_IO_sputbackc): Likewise.
20560         (_IO_sungetc): Likewise.
20561         (_IO_set_column): Likewise.
20562         (_IO_set_column): Likewise.
20563         (_IO_adjust_column): Likewise.
20564         (_IO_get_column): Likewise.
20565         (_IO_init_marker): Likewise.
20566         (_IO_remove_marker): Likewise.
20567         (_IO_marker_difference): Likewise.
20568         (_IO_marker_delta): Likewise.
20569         (_IO_seekmark): Likewise.
20570         (_IO_unsave_markers): Likewise.
20571         (_IO_nobackup_pbackfail): Likewise.
20572         (_IO_default_pbackfail): Likewise.
20573         (_IO_default_seek): Likewise.
20574         (_IO_default_stat): Likewise.
20575         (_IO_default_read): Likewise.
20576         (_IO_default_write): Likewise.
20577         (_IO_default_showmanyc): Likewise.
20578         (_IO_default_imbue): Likewise.
20579         (_IO_iter_next): Likewise.
20580         (_IO_iter_file): Likewise.
20581         * libio/getc.c (_IO_getc): Likewise.
20582         * libio/getwc.c (_IO_getwc): Likewise.
20583         * libio/iofclose.c (_IO_new_fclose): Likewise.
20584         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20585         * libio/iofflush.c (_IO_fflush): Likewise.
20586         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
20587         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
20588         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
20589         * libio/iofgets.c (_IO_fgets): Likewise.
20590         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
20591         * libio/iofgetws.c (fgetws): Likewise.
20592         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20593         * libio/iofopen64.c (_IO_fopen64): Likewise.
20594         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20595         (_IO_cookie_write): Likewise.
20596         (_IO_cookie_seek): Likewise.
20597         (_IO_cookie_close): Likewise.
20598         (_IO_cookie_seekoff): Likewise.
20599         (_IO_old_cookie_seek): Likewise.
20600         * libio/iofputs.c (_IO_fputs): Likewise.
20601         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
20602         * libio/iofputws.c (fputws): Likewise.
20603         * libio/iofputws_u.c (fputws_unlocked): Likewise.
20604         * libio/iofread.c (_IO_fread): Likewise.
20605         * libio/iofread_u.c (__fread_unlocked): Likewise.
20606         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
20607         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
20608         * libio/ioftell.c (_IO_ftell): Likewise.
20609         * libio/iofwrite.c (_IO_fwrite): Likewise.
20610         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20611         * libio/iogets.c (_IO_gets): Likewise.
20612         * libio/iopadn.c (_IO_padn): Likewise.
20613         * libio/iopopen.c (_IO_new_proc_open): Likewise.
20614         (_IO_new_popen): Likewise.
20615         (_IO_new_proc_close): Likewise.
20616         * libio/ioputs.c (_IO_puts): Likewise.
20617         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
20618         (_IO_seekoff): Likewise.
20619         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
20620         (_IO_seekpos): Likewise.
20621         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
20622         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
20623         * libio/ioungetc.c (_IO_ungetc): Likewise.
20624         * libio/ioungetwc.c (ungetwc): Likewise.
20625         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20626         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
20627         * libio/iowpadn.c (_IO_wpadn): Likewise.
20628         * libio/libc_fatal.c (__libc_fatal): Likewise.
20629         * libio/memstream.c (__open_memstream): Likewise.
20630         (_IO_mem_sync): Likewise.
20631         (_IO_mem_finish): Likewise.
20632         * libio/oldfileops.c (_IO_old_file_init): Likewise.
20633         (_IO_old_file_close_it): Likewise.
20634         (_IO_old_file_finish): Likewise.
20635         (_IO_old_file_fopen): Likewise.
20636         (_IO_old_file_attach): Likewise.
20637         (_IO_old_file_setbuf): Likewise.
20638         (_IO_old_do_write): Likewise.
20639         (old_do_write): Likewise.
20640         (_IO_old_file_underflow): Likewise.
20641         (_IO_old_file_overflow): Likewise.
20642         (_IO_old_file_sync): Likewise.
20643         (_IO_old_file_seekoff): Likewise.
20644         (_IO_old_file_write): Likewise.
20645         (_IO_old_file_xsputn): Likewise.
20646         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
20647         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20648         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
20649         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
20650         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20651         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
20652         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
20653         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
20654         (_IO_old_popen): Likewise.
20655         (_IO_old_proc_close): Likewise.
20656         * libio/oldpclose.c (__old_pclose): Likewise.
20657         * libio/pclose.c (__new_pclose): Likewise.
20658         * libio/peekc.c (_IO_peekc_locked): Likewise.
20659         * libio/putc.c (_IO_putc): Likewise.
20660         * libio/putc_u.c (putc_unlocked): Likewise.
20661         * libio/putchar.c (putchar): Likewise.
20662         * libio/putchar_u.c (putchar_unlocked): Likewise.
20663         * libio/putwc.c (putwc): Likewise.
20664         * libio/putwc_u.c (putwc_unlocked): Likewise.
20665         * libio/putwchar.c (putwchar): Likewise.
20666         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20667         * libio/rewind.c (rewind): Likewise.
20668         * libio/setbuf.c (setbuf): Likewise.
20669         * libio/setlinebuf.c (setlinebuf): Likewise.
20670         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20671         * libio/vscanf.c (_IO_vscanf): Likewise.
20672         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20673         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20674         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20675         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20676         (_IO_switch_to_main_wget_area): Likewise.
20677         (_IO_switch_to_wbackup_area): Likewise.
20678         (_IO_wsetb): Likewise.
20679         (_IO_wdefault_pbackfail): Likewise.
20680         (_IO_wdefault_finish): Likewise.
20681         (_IO_wdefault_uflow): Likewise.
20682         (__woverflow): Likewise.
20683         (__wuflow): Likewise.
20684         (__wunderflow): Likewise.
20685         (_IO_wdefault_xsputn): Likewise.
20686         (_IO_wdefault_xsgetn): Likewise.
20687         (_IO_wdoallocbuf): Likewise.
20688         (_IO_wdefault_doallocate): Likewise.
20689         (_IO_switch_to_wget_mode): Likewise.
20690         (_IO_free_wbackup_area): Likewise.
20691         (_IO_switch_to_wput_mode): Likewise.
20692         (_IO_sputbackwc): Likewise.
20693         (_IO_sungetwc): Likewise.
20694         (_IO_adjust_wcolumn): Likewise.
20695         (_IO_init_wmarker): Likewise.
20696         (_IO_wmarker_delta): Likewise.
20697         (_IO_seekwmark): Likewise.
20698         (_IO_unsave_wmarkers): Likewise.
20699         * libio/wmemstream.c (open_wmemstream): Likewise.
20700         (_IO_wmem_sync): Likewise.
20701         (_IO_wmem_finish): Likewise.
20702         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20703         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20704         * locale/programs/simple-hash.c (init_hash): Likewise.
20705         (delete_hash): Likewise.
20706         (insert_entry): Likewise.
20707         (set_entry): Likewise.
20708         (next_prime): Likewise.
20709         (is_prime): Likewise.
20710         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20711         (xmalloc): Likewise.
20712         (xrealloc): Likewise.
20713         * locale/programs/xstrdup.c (xstrdup): Likewise.
20714         * localedata/collate-test.c (xstrcoll): Likewise.
20715         * localedata/xfrm-test.c (xstrcmp): Likewise.
20716         * login/getlogin_r.c (__getlogin_r): Likewise.
20717         * login/getpt.c (__posix_openpt): Likewise.
20718         * login/login_tty.c (login_tty): Likewise.
20719         * login/setlogin.c (setlogin): Likewise.
20720         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20721         (mach_msg_destroy_port): Likewise.
20722         (mach_msg_destroy_memory): Likewise.
20723         * malloc/mcheck.c (flood): Likewise.
20724         * misc/acct.c (acct): Likewise.
20725         * misc/brk.c (__brk): Likewise.
20726         * misc/chflags.c (chflags): Likewise.
20727         * misc/chroot.c (chroot): Likewise.
20728         * misc/fchflags.c (fchflags): Likewise.
20729         * misc/fstab.c (getfsspec): Likewise.
20730         (getfsfile): Likewise.
20731         * misc/fsync.c (fsync): Likewise.
20732         * misc/ftruncate.c (__ftruncate): Likewise.
20733         * misc/ftruncate64.c (__ftruncate64): Likewise.
20734         * misc/getdomain.c (getdomainname): Likewise.
20735         (getdomainname): Likewise.
20736         * misc/gethostname.c (__gethostname): Likewise.
20737         * misc/getpass.c (getpass): Likewise.
20738         * misc/getttyent.c (skip): Likewise.
20739         (value): Likewise.
20740         * misc/gtty.c (gtty): Likewise.
20741         * misc/hsearch.c (hsearch): Likewise.
20742         (hcreate): Likewise.
20743         * misc/hsearch_r.c (__hcreate_r): Likewise.
20744         (__hdestroy_r): Likewise.
20745         * misc/ioctl.c (__ioctl): Likewise.
20746         * misc/mkdtemp.c (mkdtemp): Likewise.
20747         * misc/mkostemp.c (mkostemp): Likewise.
20748         * misc/mkostemp64.c (mkostemp64): Likewise.
20749         * misc/mkostemps.c (mkostemps): Likewise.
20750         * misc/mkostemps64.c (mkostemps64): Likewise.
20751         * misc/mkstemp.c (mkstemp): Likewise.
20752         * misc/mkstemp64.c (mkstemp64): Likewise.
20753         * misc/mkstemps.c (mkstemps): Likewise.
20754         * misc/mkstemps64.c (mkstemps64): Likewise.
20755         * misc/mktemp.c (__mktemp): Likewise.
20756         * misc/preadv.c (preadv): Likewise.
20757         * misc/preadv64.c (preadv64): Likewise.
20758         * misc/pwritev.c (pwritev): Likewise.
20759         * misc/pwritev64.c (pwritev64): Likewise.
20760         * misc/readv.c (__readv): Likewise.
20761         * misc/revoke.c (revoke): Likewise.
20762         * misc/setdomain.c (setdomainname): Likewise.
20763         * misc/setegid.c (setegid): Likewise.
20764         * misc/seteuid.c (seteuid): Likewise.
20765         * misc/sethostid.c (sethostid): Likewise.
20766         * misc/sethostname.c (sethostname): Likewise.
20767         * misc/setregid.c (__setregid): Likewise.
20768         * misc/setreuid.c (__setreuid): Likewise.
20769         * misc/sstk.c (sstk): Likewise.
20770         * misc/stty.c (stty): Likewise.
20771         * misc/syscall.c (syscall): Likewise.
20772         * misc/syslog.c (setlogmask): Likewise.
20773         * misc/truncate.c (__truncate): Likewise.
20774         * misc/truncate64.c (truncate64): Likewise.
20775         * misc/ualarm.c (ualarm): Likewise.
20776         * misc/usleep.c (usleep): Likewise.
20777         * misc/ustat.c (ustat): Likewise.
20778         * misc/writev.c (__writev): Likewise.
20779         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20780         * nptl/old_pthread_cond_broadcast.c
20781         (__pthread_cond_broadcast_2_0): Likewise.
20782         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20783         Likewise.
20784         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20785         Likewise.
20786         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20787         Likewise.
20788         * nptl/pt-raise.c (raise): Likewise.
20789         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20790         Likewise.
20791         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20792         * nptl/pthread_barrierattr_destroy.c
20793         (pthread_barrierattr_destroy): Likewise.
20794         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20795         Likewise.
20796         * nptl/pthread_barrierattr_setpshared.c
20797         (pthread_barrierattr_setpshared): Likewise.
20798         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20799         Likewise.
20800         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20801         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20802         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20803         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20804         Likewise.
20805         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20806         Likewise.
20807         * nptl/pthread_condattr_getpshared.c
20808         (pthread_condattr_getpshared): Likewise.
20809         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20810         Likewise.
20811         * nptl/pthread_condattr_setpshared.c
20812         (pthread_condattr_setpshared): Likewise.
20813         * nptl/pthread_detach.c (pthread_detach): Likewise.
20814         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20815         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20816         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20817         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20818         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20819         Likewise.
20820         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20821         Likewise.
20822         * nptl/pthread_mutex_getprioceiling.c
20823         (pthread_mutex_getprioceiling): Likewise.
20824         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20825         Likewise.
20826         * nptl/pthread_mutexattr_getprotocol.c
20827         (pthread_mutexattr_getprotocol): Likewise.
20828         * nptl/pthread_mutexattr_getpshared.c
20829         (pthread_mutexattr_getpshared): Likewise.
20830         * nptl/pthread_mutexattr_getrobust.c
20831         (pthread_mutexattr_getrobust): Likewise.
20832         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20833         Likewise.
20834         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20835         Likewise.
20836         * nptl/pthread_mutexattr_setprioceiling.c
20837         (pthread_mutexattr_setprioceiling): Likewise.
20838         * nptl/pthread_mutexattr_setprotocol.c
20839         (pthread_mutexattr_setprotocol): Likewise.
20840         * nptl/pthread_mutexattr_setpshared.c
20841         (pthread_mutexattr_setpshared): Likewise.
20842         * nptl/pthread_mutexattr_setrobust.c
20843         (pthread_mutexattr_setrobust): Likewise.
20844         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20845         Likewise.
20846         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20847         Likewise.
20848         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20849         Likewise.
20850         * nptl/pthread_rwlockattr_getkind_np.c
20851         (pthread_rwlockattr_getkind_np): Likewise.
20852         * nptl/pthread_rwlockattr_getpshared.c
20853         (pthread_rwlockattr_getpshared): Likewise.
20854         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20855         Likewise.
20856         * nptl/pthread_rwlockattr_setkind_np.c
20857         (pthread_rwlockattr_setkind_np): Likewise.
20858         * nptl/pthread_rwlockattr_setpshared.c
20859         (pthread_rwlockattr_setpshared): Likewise.
20860         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20861         Likewise.
20862         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20863         Likewise.
20864         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20865         Likewise.
20866         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20867         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20868         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20869         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20870         * nptl/sem_close.c (sem_close): Likewise.
20871         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20872         * nptl/sem_init.c (__old_sem_init): Likewise.
20873         * nptl/sigaction.c (__sigaction): Likewise.
20874         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20875         * posix/_exit.c (_exit): Likewise.
20876         * posix/alarm.c (alarm): Likewise.
20877         * posix/confstr.c (confstr): Likewise.
20878         * posix/fpathconf.c (__fpathconf): Likewise.
20879         * posix/getgroups.c (__getgroups): Likewise.
20880         * posix/getpgid.c (__getpgid): Likewise.
20881         * posix/group_member.c (__group_member): Likewise.
20882         * posix/pathconf.c (__pathconf): Likewise.
20883         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20884         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20885         * posix/setgid.c (__setgid): Likewise.
20886         * posix/setpgid.c (__setpgid): Likewise.
20887         * posix/setuid.c (__setuid): Likewise.
20888         * posix/sleep.c (__sleep): Likewise.
20889         * posix/sysconf.c (__sysconf): Likewise.
20890         * posix/times.c (__times): Likewise.
20891         * posix/uname.c (__uname): Likewise.
20892         * posix/waitid.c (__waitid): Likewise.
20893         * pwd/getpw.c (__getpw): Likewise.
20894         * resolv/base64.c (b64_pton): Likewise.
20895         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20896         * resolv/gethnamaddr.c (Dprintf): Likewise.
20897         (gethostbyname): Likewise.
20898         (gethostbyname2): Likewise.
20899         (gethostbyaddr): Likewise.
20900         (_sethtent): Likewise.
20901         (_gethtbyname): Likewise.
20902         (_gethtbyname2): Likewise.
20903         (_gethtbyaddr): Likewise.
20904         (map_v4v6_address): Likewise.
20905         (map_v4v6_hostent): Likewise.
20906         (addrsort): Likewise.
20907         (ht_sethostent): Likewise.
20908         (ht_gethostbyname): Likewise.
20909         (ht_gethostbyaddr): Likewise.
20910         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20911         (inet_net_ntop_ipv4): Likewise.
20912         * resolv/inet_neta.c (inet_neta): Likewise.
20913         * resolv/inet_ntop.c (inet_ntop): Likewise.
20914         (inet_ntop4): Likewise.
20915         (inet_ntop6): Likewise.
20916         * resolv/inet_pton.c (__inet_pton): Likewise.
20917         (inet_pton4): Likewise.
20918         (inet_pton6): Likewise.
20919         * resolv/res_debug.c (loc_aton): Likewise.
20920         (loc_ntoa): Likewise.
20921         * resource/getpriority.c (__getpriority): Likewise.
20922         * resource/getrusage.c (__getrusage): Likewise.
20923         * resource/nice.c (nice): Likewise.
20924         * resource/setpriority.c (__setpriority): Likewise.
20925         * resource/setrlimit64.c (setrlimit64): Likewise.
20926         * resource/vlimit.c (vlimit): Likewise.
20927         * resource/vtimes.c (vtimes): Likewise.
20928         * rt/aio_error.c (aio_error): Likewise.
20929         * rt/aio_return.c (aio_return): Likewise.
20930         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20931         * signal/kill.c (__kill): Likewise.
20932         * signal/killpg.c (killpg): Likewise.
20933         * signal/raise.c (raise): Likewise.
20934         * signal/sigaction.c (__sigaction): Likewise.
20935         * signal/sigaddset.c (sigaddset): Likewise.
20936         * signal/sigaltstack.c (sigaltstack): Likewise.
20937         * signal/sigandset.c (sigandset): Likewise.
20938         * signal/sigblock.c (__sigblock): Likewise.
20939         * signal/sigdelset.c (sigdelset): Likewise.
20940         * signal/sigempty.c (sigemptyset): Likewise.
20941         * signal/sigfillset.c (sigfillset): Likewise.
20942         * signal/sighold.c (sighold): Likewise.
20943         * signal/sigignore.c (sigignore): Likewise.
20944         * signal/sigintr.c (siginterrupt): Likewise.
20945         * signal/sigisempty.c (sigisemptyset): Likewise.
20946         * signal/sigismem.c (sigismember): Likewise.
20947         * signal/signal.c (signal): Likewise.
20948         * signal/sigorset.c (sigorset): Likewise.
20949         * signal/sigpause.c (__sigpause): Likewise.
20950         * signal/sigpending.c (sigpending): Likewise.
20951         * signal/sigprocmask.c (__sigprocmask): Likewise.
20952         * signal/sigrelse.c (sigrelse): Likewise.
20953         * signal/sigreturn.c (__sigreturn): Likewise.
20954         * signal/sigset.c (sigset): Likewise.
20955         * signal/sigsetmask.c (__sigsetmask): Likewise.
20956         * signal/sigstack.c (sigstack): Likewise.
20957         * signal/sigsuspend.c (__sigsuspend): Likewise.
20958         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20959         * signal/sysv_signal.c (__sysv_signal): Likewise.
20960         * socket/accept.c (accept): Likewise.
20961         * socket/accept4.c (__libc_accept4): Likewise.
20962         * socket/bind.c (__bind): Likewise.
20963         * socket/connect.c (__connect): Likewise.
20964         * socket/getpeername.c (getpeername): Likewise.
20965         * socket/getsockname.c (__getsockname): Likewise.
20966         * socket/getsockopt.c (getsockopt): Likewise.
20967         * socket/listen.c (__listen): Likewise.
20968         * socket/recv.c (__recv): Likewise.
20969         * socket/recvmsg.c (__recvmsg): Likewise.
20970         * socket/send.c (__send): Likewise.
20971         * socket/sendmsg.c (__sendmsg): Likewise.
20972         * socket/shutdown.c (shutdown): Likewise.
20973         * socket/sockatmark.c (sockatmark): Likewise.
20974         * socket/socket.c (__socket): Likewise.
20975         * stdio-common/ctermid.c (ctermid): Likewise.
20976         * stdio-common/cuserid.c (cuserid): Likewise.
20977         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20978         * stdio-common/remove.c (remove): Likewise.
20979         * stdio-common/rename.c (rename): Likewise.
20980         * stdio-common/renameat.c (renameat): Likewise.
20981         * stdio-common/tempname.c (__gen_tempname): Likewise.
20982         * stdio-common/xbug.c (InitBuffer): Likewise.
20983         (AppendToBuffer): Likewise.
20984         (ReadFile): Likewise.
20985         * stdlib/a64l.c (a64l): Likewise.
20986         * stdlib/drand48_r.c (drand48_r): Likewise.
20987         * stdlib/getcontext.c (getcontext): Likewise.
20988         * stdlib/getenv.c (getenv): Likewise.
20989         * stdlib/l64a.c (l64a): Likewise.
20990         * stdlib/llabs.c (llabs): Likewise.
20991         * stdlib/lldiv.c (lldiv): Likewise.
20992         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20993         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20994         * stdlib/putenv.c (putenv): Likewise.
20995         * stdlib/random.c (__srandom): Likewise.
20996         (__initstate): Likewise.
20997         (__setstate): Likewise.
20998         * stdlib/random_r.c (__srandom_r): Likewise.
20999         (__setstate_r): Likewise.
21000         (__random_r): Likewise.
21001         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21002         * stdlib/setcontext.c (setcontext): Likewise.
21003         * stdlib/setenv.c (setenv): Likewise.
21004         (unsetenv): Likewise.
21005         * stdlib/srand48.c (srand48): Likewise.
21006         * stdlib/srand48_r.c (__srand48_r): Likewise.
21007         * stdlib/swapcontext.c (swapcontext): Likewise.
21008         * stdlib/system.c (__libc_system): Likewise.
21009         * stdlib/tst-strtod.c (expand): Likewise.
21010         * stdlib/tst-strtol.c (expand): Likewise.
21011         * stdlib/tst-strtoll.c (expand): Likewise.
21012         * streams/fattach.c (fattach): Likewise.
21013         * streams/fdetach.c (fdetach): Likewise.
21014         * streams/getmsg.c (getmsg): Likewise.
21015         * streams/isastream.c (isastream): Likewise.
21016         * string/ffs.c (__ffs): Likewise.
21017         * string/ffsll.c (ffsll): Likewise.
21018         * string/memcmp.c (memcmp_common_alignment): Likewise.
21019         (memcmp_not_common_alignment): Likewise.
21020         (MEMCMP): Likewise.
21021         * string/memcpy.c (memcpy): Likewise.
21022         * string/memmove.c (MEMMOVE): Likewise.
21023         * string/memset.c (memset): Likewise.
21024         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21025         * string/strchrnul.c (STRCHRNUL): Likewise.
21026         * string/strerror.c (strerror): Likewise.
21027         * string/strndup.c (__strndup): Likewise.
21028         * string/strverscmp.c (__strverscmp): Likewise.
21029         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21030         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21031         (clnttcp_freeres): Likewise.
21032         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21033         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21034         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21035         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21036         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21037         (xdr_callhdr): Likewise.
21038         * sunrpc/rpcinfo.c (udpping): Likewise.
21039         (tcpping): Likewise.
21040         (pstatus): Likewise.
21041         (pmapdump): Likewise.
21042         (brdcst): Likewise.
21043         (deletereg): Likewise.
21044         (getprognum): Likewise.
21045         (getvers): Likewise.
21046         (get_inet_address): Likewise.
21047         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21048         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21049         (svcudp_stat): Likewise.
21050         (svcudp_recv): Likewise.
21051         (svcudp_reply): Likewise.
21052         (svcudp_getargs): Likewise.
21053         (svcudp_freeargs): Likewise.
21054         (svcudp_destroy): Likewise.
21055         * sunrpc/xdr.c (xdr_bytes): Likewise.
21056         (xdr_netobj): Likewise.
21057         (xdr_string): Likewise.
21058         (xdr_wrapstring): Likewise.
21059         * sunrpc/xdr_float.c (xdr_float): Likewise.
21060         (xdr_double): Likewise.
21061         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21062         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21063         * sysvipc/ftok.c (ftok): Likewise.
21064         * sysvipc/msgctl.c (msgctl): Likewise.
21065         * sysvipc/msgget.c (msgget): Likewise.
21066         * sysvipc/msgrcv.c (msgrcv): Likewise.
21067         * sysvipc/msgsnd.c (msgsnd): Likewise.
21068         * sysvipc/semget.c (semget): Likewise.
21069         * sysvipc/semop.c (semop): Likewise.
21070         * sysvipc/shmat.c (shmat): Likewise.
21071         * sysvipc/shmctl.c (shmctl): Likewise.
21072         * sysvipc/shmdt.c (shmdt): Likewise.
21073         * sysvipc/shmget.c (shmget): Likewise.
21074         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21075         * termios/speed.c (cfgetospeed): Likewise.
21076         (cfgetispeed): Likewise.
21077         (cfsetospeed): Likewise.
21078         (cfsetispeed): Likewise.
21079         * termios/tcflow.c (tcflow): Likewise.
21080         * termios/tcflush.c (tcflush): Likewise.
21081         * termios/tcgetattr.c (__tcgetattr): Likewise.
21082         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21083         * termios/tcgetsid.c (tcgetsid): Likewise.
21084         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21085         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21086         * time/adjtime.c (__adjtime): Likewise.
21087         * time/dysize.c (dysize): Likewise.
21088         * time/ftime.c (ftime): Likewise.
21089         * time/getitimer.c (__getitimer): Likewise.
21090         * time/gettimeofday.c (__gettimeofday): Likewise.
21091         * time/gmtime.c (__gmtime_r): Likewise.
21092         (gmtime): Likewise.
21093         * time/localtime.c (__localtime_r): Likewise.
21094         (localtime): Likewise.
21095         * time/offtime.c (__offtime): Likewise.
21096         * time/settimeofday.c (__settimeofday): Likewise.
21097         * time/stime.c (stime): Likewise.
21098         * time/strftime_l.c (tm_diff): Likewise.
21099         (iso_week_days): Likewise.
21100         * time/strptime.c (strptime): Likewise.
21101         * time/time.c (time): Likewise.
21102         * time/timespec_get.c (timespec_get): Likewise.
21103         * time/tzset.c (tzset_internal): Likewise.
21104         (compute_change): Likewise.
21105         (__tz_compute): Likewise.
21106         * wcsmbs/btowc.c (__btowc): Likewise.
21107         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21108         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21109         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21110         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21111         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21112         * wcsmbs/wcscat.c (__wcscat): Likewise.
21113         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21114         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21115         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21116         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21117         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21118         * wcsmbs/wcslen.c (__wcslen): Likewise.
21119         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21120         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21121         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21122         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21123         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21124         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21125         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21126         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21127         * wcsmbs/wcstok.c (wcstok): Likewise.
21128         * wcsmbs/wctob.c (wctob): Likewise.
21129         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21130         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21131         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21132         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21133         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21134         * wcsmbs/wmemset.c (__wmemset): Likewise.
21135         * wctype/wcfuncs.c (__towlower): Likewise.
21136         (__towupper): Likewise.
21138         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21139         (lll_unlock_elision): Add adapt_count parameter.
21141 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21143         * sysdeps/nptl/configure.ac: Do not give errors based on the
21144         results of top-level configure tests.
21145         * sysdeps/nptl/configure: Regenerated.
21147         * configure.ac (libc_cv_Bgroup): Remove configure test.
21148         * configure: Regenerated.
21149         * config.make.in (have-Bgroup): Remove variable.
21151         * configure.ac (sizeof_long_double): Remove configure test.
21152         * configure: Regenerated.
21153         * config.make.in (sizeof-long-double): Remove variable.
21155         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21156         * configure: Regenerated.
21157         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21158         variable.
21159         (exceptions): Likewise.
21160         * sysdeps/arm/configure: Regenerated.
21161         * config.make.in (exceptions): Remove variable.
21162         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21163         $(exceptions).
21164         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21165         (CFLAGS-vdprintf_chk.c): Likewise.
21166         (CFLAGS-printf_chk.c): Likewise.
21167         (CFLAGS-fprintf_chk.c): Likewise.
21168         (CFLAGS-vprintf_chk.c): Likewise.
21169         (CFLAGS-vfprintf_chk.c): Likewise.
21170         (CFLAGS-gets_chk.c): Likewise.
21171         (CFLAGS-fgets_chk.c): Likewise.
21172         (CFLAGS-fgets_u_chk.c): Likewise.
21173         (CFLAGS-fread_chk.c): Likewise.
21174         (CFLAGS-fread_u_chk.c): Likewise.
21175         (CFLAGS-wprintf_chk.c): Likewise.
21176         (CFLAGS-fwprintf_chk.c): Likewise.
21177         (CFLAGS-vwprintf_chk.c): Likewise.
21178         (CFLAGS-vfwprintf_chk.c): Likewise.
21179         (CFLAGS-fgetws_chk.c): Likewise.
21180         (CFLAGS-fgetws_u_chk.c): Likewise.
21181         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21182         (CFLAGS-fputc.c): Likewise.
21183         (CFLAGS-fputwc.c): Likewise.
21184         (CFLAGS-freopen64.c): Likewise.
21185         (CFLAGS-freopen.c): Likewise.
21186         (CFLAGS-fseek.c): Likewise.
21187         (CFLAGS-fseeko64.c): Likewise.
21188         (CFLAGS-fseeko.c): Likewise.
21189         (CFLAGS-ftello64.c): Likewise.
21190         (CFLAGS-ftello.c): Likewise.
21191         (CFLAGS-fwide.c): Likewise.
21192         (CFLAGS-genops.c): Likewise.
21193         (CFLAGS-getc.c): Likewise.
21194         (CFLAGS-getchar.c): Likewise.
21195         (CFLAGS-getwc.c): Likewise.
21196         (CFLAGS-getwchar.c): Likewise.
21197         (CFLAGS-iofclose.c): Likewise.
21198         (CFLAGS-iofflush.c): Likewise.
21199         (CFLAGS-iofgetpos64.c): Likewise.
21200         (CFLAGS-iofgetpos.c): Likewise.
21201         (CFLAGS-iofgets.c): Likewise.
21202         (CFLAGS-iofgetws.c): Likewise.
21203         (CFLAGS-iofputs.c): Likewise.
21204         (CFLAGS-iofputws.c): Likewise.
21205         (CFLAGS-iofread.c): Likewise.
21206         (CFLAGS-iofsetpos64.c): Likewise.
21207         (CFLAGS-iofsetpos.c): Likewise.
21208         (CFLAGS-ioftell.c): Likewise.
21209         (CFLAGS-iofwrite.c): Likewise.
21210         (CFLAGS-iogetdelim.c): Likewise.
21211         (CFLAGS-iogetline.c): Likewise.
21212         (CFLAGS-iogets.c): Likewise.
21213         (CFLAGS-iogetwline.c): Likewise.
21214         (CFLAGS-ioputs.c): Likewise.
21215         (CFLAGS-ioseekoff.c): Likewise.
21216         (CFLAGS-ioseekpos.c): Likewise.
21217         (CFLAGS-iosetbuffer.c): Likewise.
21218         (CFLAGS-iosetvbuf.c): Likewise.
21219         (CFLAGS-ioungetc.c): Likewise.
21220         (CFLAGS-ioungetwc.c): Likewise.
21221         (CFLAGS-oldfileops.c): Likewise.
21222         (CFLAGS-oldiofclose.c): Likewise.
21223         (CFLAGS-oldiofgetpos64.c): Likewise.
21224         (CFLAGS-oldiofgetpos.c): Likewise.
21225         (CFLAGS-oldiofsetpos64.c): Likewise.
21226         (CFLAGS-oldiofsetpos.c): Likewise.
21227         (CFLAGS-peekc.c): Likewise.
21228         (CFLAGS-putc.c): Likewise.
21229         (CFLAGS-putchar.c): Likewise.
21230         (CFLAGS-putwc.c): Likewise.
21231         (CFLAGS-putwchar.c): Likewise.
21232         (CFLAGS-rewind.c): Likewise.
21233         (CFLAGS-wfileops.c): Likewise.
21234         (CFLAGS-wgenops.c): Likewise.
21235         (CFLAGS-oldiofopen.c): Likewise.
21236         (CFLAGS-iofopen.c): Likewise.
21237         (CFLAGS-iofopen64.c): Likewise.
21238         (CFLAGS-oldtmpfile.c): Likewise.
21239         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21240         (CFLAGS-fprintf.c): Likewise.
21241         (CFLAGS-printf.c): Likewise.
21242         (CFLAGS-vfwprintf.c): Likewise.
21243         (CFLAGS-vfscanf.c): Likewise.
21244         (CFLAGS-vfwscanf.c): Likewise.
21245         (CFLAGS-fscanf.c): Likewise.
21246         (CFLAGS-scanf.c): Likewise.
21247         (CFLAGS-isoc99_vfscanf.c): Likewise.
21248         (CFLAGS-isoc99_vscanf.c): Likewise.
21249         (CFLAGS-isoc99_fscanf.c): Likewise.
21250         (CFLAGS-isoc99_scanf.c): Likewise.
21251         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21252         (CFLAGS-isoc99_fwscanf.c): Likewise.
21253         (CFLAGS-isoc99_vwscanf.c): Likewise.
21254         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21256         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21257         after mkstemp64.
21258         * login/tst-utmp.c (do_prepare): Likewise.
21259         * rt/tst-aio.c (do_prepare): Likewise.
21260         * rt/tst-aio64.c (do_prepare): Likewise.
21262 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21264         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21265         (__lll_lock_elision): Remove adapt_count decrement...
21266         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21267         (__lll_trylock_elision): Likewise.
21268         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21269         (__lll_unlock_elision): ... to here. And utilize
21270         new adapt_count parameter.
21271         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21272         (__lll_unlock_elision): Update to include adapt_count
21273         parameter.
21274         (lll_unlock_elision): Pass pointer to adapt_count
21275         variable.
21277 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21279         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21280         Add elision adapt_count parameter to list of arguments.
21281         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21282         (lll_unlock_elision): Update with new parameter list
21283         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21284         (lll_unlock_elision): Likewise.
21285         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21286         (lll_unlock_elision): Likewise.
21288 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21290         [BZ #19122]
21291         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21292         attribute_hidden.
21294         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21295         attribute_hidden.
21296         [IS_IN (rtld)] (__strdup): Likewise.
21297         [IS_IN (rtld)] (__strerror_r): Likewise.
21298         [IS_IN (rtld)] (__strsep_g): Likewise.
21299         [IS_IN (rtld)] (memchr): Likewise.
21300         [IS_IN (rtld)] (memcmp): Likewise.
21301         [IS_IN (rtld)] (memcpy): Likewise.
21302         [IS_IN (rtld)] (memmove): Likewise.
21303         [IS_IN (rtld)] (memset): Likewise.
21304         [IS_IN (rtld)] (rawmemchr): Likewise.
21305         [IS_IN (rtld)] (stpcpy): Likewise.
21306         [IS_IN (rtld)] (strchr): Likewise.
21307         [IS_IN (rtld)] (strcmp): Likewise.
21308         [IS_IN (rtld)] (strlen): Likewise.
21309         [IS_IN (rtld)] (strnlen): Likewise.
21310         [IS_IN (rtld)] (strsep): Likewise.
21312         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21313         attribute_hidden.
21314         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21316         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21317         attribute_hidden.
21318         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21320         * include/setjmp.h (__longjmp): Add attribute_hidden.
21321         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21323         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21324         Add attribute_hidden.
21326         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21327         [IS_IN (rtld)] (__open): Likewise.
21328         [IS_IN (rtld)] (__fcntl): Likewise.
21330         * include/dirent.h (__opendirat): Add attribute_hidden.
21331         (__getdents): Likewise.
21332         (__getdents64): Likewise.
21333         (__alloc_dir): Likewise.
21334         [IS_IN (rtld)] (__closedir): Likewise.
21335         [IS_IN (rtld)] (__fdopendir): Likewise.
21336         [IS_IN (rtld)] (__readdir): Likewise.
21337         [IS_IN (rtld)] (__readdir64): Likewise.
21338         [IS_IN (rtld)] (__rewinddir): Likewise.
21340         * include/dlfcn.h (_dl_catch_error): Moved to ...
21341         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21342         attribute_hidden.
21344         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21345         (_itoa_word): Likewise.
21347         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21348         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21349         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21350         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21351         (_dl_higher_prime_number): Likewise.
21352         (_dl_debug_printf_c): Likewise.
21353         (_dl_signal_cerror): Likewise.
21354         (_dl_receive_error): Likewise.
21355         (_dl_reloc_bad_type): Likewise.
21356         (_dl_resolve_conflicts): Likewise.
21357         (_dl_check_all_versions): Likewise.
21358         (_dl_check_map_versions): Likewise.
21359         (_dl_sort_fini): Likewise.
21360         (_dl_debug_initialize): Likewise.
21361         (_dl_init_paths): Likewise.
21362         (_dl_show_auxv): Likewise.
21363         (_dl_next_ld_env_entry): Likewise.
21364         (_dl_important_hwcaps): Likewise.
21365         (_dl_load_cache_lookup): Likewise.
21366         (_dl_update_slotinfo): Likewise.
21367         (_dl_show_scope): Likewise.
21369         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21370         attribute_hidden.
21371         (_wordcopy_fwd_dest_aligned): Likewise.
21372         (_wordcopy_bwd_aligned): Likewise.
21373         (_wordcopy_bwd_dest_aligned): Likewise.
21375         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21376         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21377         Likewise.
21378         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21379         Likewise.
21380         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21382 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21384         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21385         GCC 5 requirement.
21387 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21389         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21390         test.
21391         * sysdeps/i386/configure: Regenerated.
21392         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21393         code unconditional.
21395         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21396         test.
21397         (libc_cv_asm_popsection_directive): Likewise.
21398         * configure: Regenerated.
21399         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21400         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21401         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21402         (__make_section_unallocated): Make definition unconditional.
21403         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21404         Remove conditional definition.
21405         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21406         (__make_section_unallocated): Likewise.
21408         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21409         * configure: Regenerated.
21410         * config.make.in (static-libgcc): Remove variable.
21411         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21412         $(static-libgcc).
21413         (build-module-helper): Likewise.
21415         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21416         * configure: Regenerated.
21418 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21420         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21421         (struct char_buffer): New type.
21422         (char_buffer_start, char_buffer_size, char_buffer_error)
21423         (char_buffer_rewind, char_buffer_add): New functions.
21424         (ADDW): Remove macro, replaced by the char_buffer_add function.
21425         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21426         of extend_alloca.  Make control flow more explicit.
21428 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21430         [BZ #19137]
21431         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21432         Add -fomit-frame-pointer.
21433         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21435 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21437         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21438         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21440         only if !__GNUC_PREREQ (5,0).
21441         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21442         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21443         (INTERNAL_SYSCALL_NCS): Likewise.
21444         (LOADREGS_0): New macro for GCC 5.
21445         (ASMARGS_0): Likewise.
21446         (LOADREGS_1): Likewise.
21447         (ASMARGS_1): Likewise.
21448         (LOADREGS_2): Likewise.
21449         (ASMARGS_2): Likewise.
21450         (LOADREGS_3): Likewise.
21451         (ASMARGS_3): Likewise.
21452         (LOADREGS_4): Likewise.
21453         (ASMARGS_4): Likewise.
21454         (LOADREGS_5): Likewise.
21455         (ASMARGS_5): Likewise.
21456         (LOADREGS_6): Likewise.
21457         (ASMARGS_6): Likewise.
21459 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21461         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21462         -fomit-frame-pointer.
21463         (CFLAGS-mmap64.c): Likewise.
21464         (CFLAGS-semtimedop.c): Likewise.
21465         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21466         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21467         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21468         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21470 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21472         [BZ #18928]
21473         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21474         _dl_pointer_guard member.
21475         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21476         initializer.
21477         (security_init): Always set up pointer guard.
21478         (process_envvars): Do not process LD_POINTER_GUARD.
21480 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21482         [BZ #19134]
21483         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21484         (.LC2): Likewise.
21485         (.LC3): Likewise.
21486         (__lround): Do not add 0.5 to integer or out-of-range arguments.
21488 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21490         [BZ #19129]
21491         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
21492         r0 and r1.
21494 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
21496         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
21498 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
21500         * include/stap-probe.h: Fix macro definition formatting.
21502 2015-10-14  Florian Weimer  <fweimer@redhat.com>
21504         [BZ #19074]
21505         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
21506         load and store num_ifs.
21508 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21510         [BZ #18822]
21511         * sysdeps/unix/sysv/linux/sched_getaffinity.c
21512         (__sched_getaffinity_new): Add libc_hidden_proto and
21513         libc_hidden_def.
21515 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21517         [BZ #19007]
21518         * scripts/localplt.awk: Also allow GOT references.
21519         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
21520         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
21521         with "+ REL R_386_GLOB_DAT".
21522         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
21523         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
21525 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21527         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
21528         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21529         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
21530         Likewise.
21531         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21532         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
21533         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21534         INTERNAL_SYSCALLINTERNAL_SYSCALL and
21535         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21536         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21537         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21538         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21539         Likewise.
21540         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21542 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21544         [BZ #19125]
21545         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
21546         <math_private.h> and <stdint.h>.
21547         (__llround): Avoid conversions to and from long long int, and
21548         subtractions, where those might raise spurious exceptions.
21549         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21550         <math_private.h> and <stdint.h>.
21551         (__llroundf): Avoid conversions to and from long long int, and
21552         subtractions, where those might raise spurious exceptions.
21554 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21556         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
21557         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21558         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21559         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
21560         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21561         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21562         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
21563         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
21564         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
21565         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21566         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21567         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21568         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
21569         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21570         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21571         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
21572         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
21573         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21574         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
21575         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
21576         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21577         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
21578         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
21579         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21580         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
21581         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21582         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
21583         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21584         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21585         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
21586         (__xstat64_conv): Likewise.
21587         (__xstat32_conv): Likewise.
21589 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21591         * sysdeps/unix/sysv/linux/sysdep.h: New file.
21592         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
21593         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
21594         <sysdeps/unix/sysv/linux/sysdep.h>.
21595         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21596         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
21597         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
21598         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21599         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21600         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
21601         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
21602         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21603         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21607         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21608         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21609         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21611         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
21612         (sysdep-dl-routines): Add sysdep.
21613         [$(subdir) == nptl] (libpthread-routines): Likewise.
21614         [$(subdir) == rt] (librt-routines): Likewise.
21615         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
21616         PIC when branching to SYSCALL_ERROR_LABEL.
21617         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
21618         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
21619         <sysdeps/unix/sysv/linux/sysdep.h>.
21620         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
21621         (SYSCALL_ERROR_ERRNO): Removed.
21622         (SYSCALL_ERROR_HANDLER): Changed to empty.
21623         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
21624         (__syscall_error): New prototype.
21625         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
21626         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
21628 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21630         [BZ #19124]
21631         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
21632         (_dl_runtime_resolve_avx512): Make it a hidden alias of
21633         _dl_runtime_resolve_avx.
21634         (_dl_runtime_profile_avx512): Make it a hidden alias of
21635         _dl_runtime_profile_avx.
21637 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21639         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
21640         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
21641         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
21642         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
21644         [BZ #16422]
21645         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
21646         New configure test.
21647         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
21648         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
21649         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
21650         <math_private.h> and <stdint.h>.
21651         (__llrint): Avoid conversions to long long int where those might
21652         raise spurious exceptions.
21653         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21654         <math_private.h> and <stdint.h>.
21655         (__llrintf): Avoid conversions to long long int where those might
21656         raise spurious exceptions.
21658 2015-10-12  Andreas Schwab  <schwab@suse.de>
21660         [BZ #18969]
21661         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21662         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21663         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21664         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21665         $(gen-locales).
21666         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21667         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21668         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21669         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21670         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21671         $(gen-locales).
21672         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21673         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21674         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21675         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21676         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21677         ($(objpfx)tst-ftell-active-handler.out)
21678         ($(objpfx)tst-ftell-append.out)
21679         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21680         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21681         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21682         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21683         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21684         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21685         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21686         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21687         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21688         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21689         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21690         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21691         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21692         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21693         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21694         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21695         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21696         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21697         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21698         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21699         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21700         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21701         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21702         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21703         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21704         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21705         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21706         $(gen-locales).
21707         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21708         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21709         $(gen-locales).
21710         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21711         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21712         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21713         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21714         $(gen-locales).
21715         * libio/tst_wprintf2.c (main): Use explicit locale.
21716         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21718 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21720         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21721         __msg_sig_post.
21722         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21724 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21726         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21727         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21729         * sysdeps/arm/libm-test-ulps: Regenerated.
21731         [BZ #15470]
21732         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21734         [BZ #16399]
21735         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21736         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21737         and <fix-fp-int-convert-overflow.h>.
21738         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21739         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21740         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21741         and <fix-fp-int-convert-overflow.h>.
21742         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21743         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21744         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21745         <fix-fp-int-convert-overflow.h>.
21746         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21747         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21748         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21749         <fix-fp-int-convert-overflow.h>.
21750         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21751         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21752         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21753         and <fix-fp-int-convert-overflow.h>.
21754         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21755         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21756         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21757         <limits.h> and <fix-fp-int-convert-overflow.h>.
21758         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21759         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21760         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21761         and <fix-fp-int-convert-overflow.h>.
21762         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21763         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21764         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21765         and <fix-fp-int-convert-overflow.h>.
21766         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21767         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21768         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21770 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21772         [BZ #18589]
21773         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21774         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21775         $(gen-locales).
21777 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21778             Phil Blundell <pb@pbcl.net>
21780         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21781         * nptl/tst-cancel26.c: New file.
21782         * nptl/tst-cancel27.c: Likewise.
21784 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21786         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21787         __ILP32__ isn't defined.
21788         (lrint): Likewise.
21789         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21790         (lrintf): Likewise.
21791         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21792         (lrintl): Likewise.
21793         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21794         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21795         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21797 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21799         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21800         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21803         file.
21804         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21805         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21807 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21809         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21810         configure test.
21811         * sysdeps/i386/configure: Regenerated.
21812         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21813         configure test.
21814         * sysdeps/x86_64/configure: Regenerated.
21815         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21816         Make code unconditional.
21818         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21819         test.
21820         * sysdeps/i386/configure: Regenerated.
21821         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21822         test.
21823         * sysdeps/x86_64/configure: Regenerated.
21824         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21825         Make code unconditional.
21826         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21827         Likewise.
21828         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21829         Likewise.
21830         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21831         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21832         code unconditional.
21833         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21834         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21835         code unconditional.
21836         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21837         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21838         code unconditional.
21839         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21840         code unconditional.
21841         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21842         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21843         code unconditional.
21844         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21845         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21846         code unconditional.
21847         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21848         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21849         code unconditional.
21850         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21851         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21852         code unconditional.
21853         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21854         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21856         [BZ #19095]
21857         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21858         mantissa to long int before shifting left.
21860 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21862         [BZ #19094]
21863         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21864         <limits.h>.
21865         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21866         when result overflows but exception would not result from cast.
21867         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21868         <limits.h>.
21869         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21870         when result overflows but exception would not result from cast.
21871         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21872         <limits.h>.
21873         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21874         when result overflows but exception would not result from cast.
21875         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21876         <limits.h>.
21877         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21878         when result overflows but exception would not result from cast.
21879         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21880         <limits.h>.
21881         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21882         when result overflows but exception would not result from cast.
21883         * math/libm-test.inc (lrint_test_data): Add more tests.
21884         (llrint_test_data): Likewise.
21886 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21888         [BZ #18872]
21889         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21890         Move out from under [$(run-built-tests) = yes] conditional.
21891         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21892         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21894 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21896         [BZ #18589]
21897         * string/Makefile (tests): Add bug-strcoll2.
21898         (LOCALES): Add cs_CZ.UTF-8.
21899         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21901         [BZ #18589]
21902         * string/bug-strcoll2.c: New file.
21903         * locale/categories.def: Revert commit
21904         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21905         * locale/langinfo.h: Likewise.
21906         * locale/localeinfo.h: Likewise.
21907         * locale/C-collate.c: Likewise.
21908         * locale/programs/ld-collate.c (collate_output): Likewise.
21909         * string/strcoll_l.c (STRDIFF): Likewise.
21910         (STRCOLL): Likewise.
21911         * wcsmbs/wcscoll_l.c: Likewise.
21913 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21915         * math/libm-test.inc (lround_test_data): Do not expect the absence
21916         of "inexact" for some tests with non-integer arguments.
21917         (llround_test_data): Likewise.
21919         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21920         test.
21921         (libc_cv_cc_sse2avx): Likewise.
21922         * sysdeps/i386/configure: Regenerated.
21923         * sysdeps/i386/i686/multiarch/Makefile
21924         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21925         [$(subdir) = math].
21926         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21927         code unconditional.
21928         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21929         Likewise.
21930         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21931         Likewise.
21932         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21933         Likewise.
21934         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21935         test.
21936         (libc_cv_cc_sse2avx): Likewise.
21937         * sysdeps/x86_64/configure: Regenerated.
21938         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21939         unconditional.
21940         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21941         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21942         unconditional.
21943         (_dl_runtime_profile)
21944         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21945         conditional code.
21946         * sysdeps/x86_64/fpu/multiarch/Makefile
21947         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21948         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21949         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21950         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21951         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21952         * sysdeps/x86_64/fpu/multiarch/e_log.c
21953         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21954         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21955         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21956         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21957         Likewise.
21958         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21959         Likewise.
21960         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21961         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21962         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21963         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21964         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21965         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21966         (HAVE_SSE2AVX_SUPPORT): Likewise.
21968 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21970         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21971         instead of #pragma optimize.
21973 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21975         [BZ #17195]
21976         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21977         as is similarly done in systrim and _int_free already.
21979 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21981         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21983 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21985         [BZ #19088]
21986         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21987         <limits.h>.
21988         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21989         overflows but exception would not result from cast.
21990         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21991         and <limits.h>.
21992         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21993         overflows but exception would not result from cast.
21994         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21995         <limits.h>.
21996         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21997         overflows but exception would not result from cast.
21998         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21999         <limits.h>.
22000         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22001         overflows but exception would not result from cast.
22002         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22003         <limits.h>.
22004         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22005         overflows but exception would not result from cast.
22006         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22007         <limits.h>.
22008         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22009         overflows but exception would not result from cast.
22010         * math/libm-test.inc (lround_test_data): Add more tests.
22011         (llround_test_data): Likewise.
22013 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22015         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22016         (CFLAGS-ialloc.c): Ditto.
22017         (CFLAGS-scheck.c): Ditto.
22019 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22021         [BZ #19086]
22022         * manual/filesys.texi (Storage Allocation): Fix argument order for
22023         posix_fallocate64.
22025 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22027         [BZ #19085]
22028         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22029         exponent below 48 inside case for non-overflowing exponent.
22030         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22032 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22034         * iconvdata/cp737.h (from_idx): Add const.
22035         * iconvdata/cp775.h (from_idx): Likewise.
22037 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22039         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22040         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22041         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22043         [BZ #19079]
22044         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22045         file, conditioned on [!_LP64].
22046         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22047         [!_LP64] (__lround): Do not define as function or alias.
22048         [!_LP64] (lround): Likewise.
22049         [!_LP64] (__lroundl): Likewise.
22050         [!_LP64] (lroundl): Likewise.
22051         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22052         macro.
22053         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22054         Likewise.
22056 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22058         * math/libm-test.inc (lrint_test_data): Add more tests.
22059         (llrint_test_data): Likewise.
22060         (lround_test_data): Likewise.
22061         (llround_test_data): Likewise.
22063         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22064         (llrint_test_data): Add tests used for lrint.
22066         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22067         test.
22068         * sysdeps/i386/configure: Regenerated.
22069         * sysdeps/i386/i686/multiarch/Makefile
22070         [$(config-cflags-sse4) = yes]: Make code unconditional.
22071         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22072         Likewise.
22073         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22074         Likewise.
22075         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22076         test.
22077         * sysdeps/x86_64/configure: Regenerated.
22078         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22079         Make code unconditional.
22080         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22081         Likewise.
22082         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22083         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22085         * scripts/rpm2dynsym.sh: Remove file.
22087 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22089         * configure.ac (libc_cv_cxx_thread_local): Define.
22090         * configure: Regenerate.
22091         * config.make.in (have-cxx-thread_local): Define.
22092         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22093         (LDLIBS-tst-thread_local1): Define.
22094         (tests): Add tst-thread_local1.
22095         [have-cxx-thread_local != yes] (tests-unsupported): Add
22096         tst-thread_local1.
22097         * nptl/tst-thread_local1.cc: New file.
22099 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22101         [BZ #19078]
22102         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22103         (u_thres): Likewise.
22104         (__expl): Determine whether to call __kernel_standard_l based on
22105         value of result, not argument.
22107         * math/libm-test.inc (scalb_test_data): Add more expectations for
22108         the "inexact" exception.
22110         [BZ #19077]
22111         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22112         0.0L for argument 1.0L.
22114         [BZ #19076]
22115         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22116         constant 0.0L when computing infinite result.
22118 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22120         [BZ #10432]
22121         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22122         malloc_usable_size.
22124 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22126         [BZ #19018]
22127         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22128         Mangle function pointer before storing it.
22129         (__call_tls_dtors): Demangle function pointer before calling it.
22131 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22133         [BZ #19012]
22134         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22135         Clean up on failure.
22137 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22139         [BZ #19071]
22140         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22141         long int variable to store possibly incremented high part of
22142         mantissa.
22143         * math/libm-test.inc (lround_test_data): Add tests used for
22144         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22145         for tests requiring 64-bit long.  Do not condition tests on
22146         [TEST_FLOAT] unnecessarily.
22147         (llround_test_data): Add tests used for lround.  Add another
22148         expectation for the "inexact" exception.  Do not condition tests
22149         on [TEST_FLOAT] unnecessarily.
22151         [BZ #887]
22152         [BZ #19049]
22153         [BZ #19050]
22154         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22155         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22156         <fix-int-fp-convert-zero.h>.
22157         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22158         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22159         <fix-int-fp-convert-zero.h>.
22160         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22161         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22162         <fix-int-fp-convert-zero.h>.
22163         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22164         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22165         <fix-int-fp-convert-zero.h>.
22166         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22167         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22168         <fix-int-fp-convert-zero.h>.
22169         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22170         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22171         <fix-int-fp-convert-zero.h>.
22172         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22173         * sysdeps/ieee754/flt-32/s_erff.c: Include
22174         <fix-int-fp-convert-zero.h>.
22175         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22176         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22177         <fix-int-fp-convert-zero.h>.
22178         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22179         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22180         <fix-int-fp-convert-zero.h>.
22181         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22183         <fix-int-fp-convert-zero.h>.
22184         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22185         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22186         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22187         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22188         file.
22189         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22191 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22195 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22197         [BZ #19059]
22198         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22199         overflowing computation.
22200         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22201         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22202         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22203         Likewise.
22204         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22205         Likewise.
22206         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22207         Likewise.
22208         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22209         Likewise.
22210         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22211         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22212         Likewise.
22213         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22214         Likewise.
22215         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22217         * nss/rewrite_field.c (__nss_rewrite_field): Use
22218         internal_function.
22219         * nss/valid_field.c (__nss_valid_field): Likewise.
22220         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22222 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22224         [BZ #18724]
22225         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22226         (__nss_invalid_field_characters, __nss_valid_field)
22227         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22228         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22229         tst-field.c: New file.
22230         * nss/Makefile (routines): Add valid_field, rewrite_field.
22231         (tests-static): Define unconditionally.
22232         (tests): Include tests-static.
22233         [build-static-nss] (tests-static): Use append.
22234         [build-static-nss] (tests): Remove modification.
22235         * nss/getent.c (print_group): Call putgrent.  Report error.
22236         (print_gshadow): Call putsgent.  Report error.
22237         (print_passwd): Call putpwent.  Report error.
22238         (print_shadow): Call putspent.  Report error.
22239         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22240         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22241         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22242         name, password, directory, shell fields for valid syntax.  Rewrite
22243         GECOS field to match syntax.
22244         * pwd/Makefile (tests): Add tst-putpwent.
22245         * pwd/tst-putpwent.c: New file.
22246         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22247         Check grName, grpasswd, gr_mem fields for valid syntax.
22248         Change loop variable i to size_t.
22249         * grp/Makefile (tests): Add tst-putgrent.
22250         * grp/tst-putgrent.c: New file.
22251         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22252         valid syntax.
22253         * shadow/Makefile (tests): Add tst-putspent.
22254         * shadow/tst-putspent.c: New file.
22255         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22256         sg_mem fields for valid syntax.
22257         * gshadow/Makefile (tests): Add tst-putsgent.
22258         * gshadow/tst-putsgent.c: New file.
22260 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22262         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22263         assembly instructions.
22265 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22267         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22268         prefix from operands.
22270 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22272         [BZ #16347]
22273         [BZ #19046]
22274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22275         <libc-internal.h>.
22276         (MAXLGM): Do not use diagnostic control macros.
22277         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22278         threshold for ldbl-128ibm.
22279         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22280         instead of multiplying by log then subtracting.
22281         * math/auto-libm-test-in: Add more tests of lgamma.
22282         * math/auto-libm-test-out: Regenerated.
22284         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22285         (TYPE_HEX_DIG): Likewise.
22286         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22287         precisions when printing floating-point numbers.
22288         (check_float_internal): Likewise.
22290 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22292         [BZ #16620]
22293         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22294         of log (10) rounded downward to 48 bits.
22295         (log10_low): Use corresponding low part of log (10).
22297         [BZ #19032]
22298         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22299         compute result as (x - x) / (x - x) not as 0 / 0.
22300         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22301         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22303         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22304         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22305         and expm1.
22306         * math/auto-libm-test-out: Regenerated.
22307         * math/libm-test.inc (acos_test_data): Add more tests.
22308         (asin_test_data): Likewise.
22309         (asinh_test_data): Likewise.
22310         (atan_test_data): Likewise.
22311         (atanh_test_data): Likewise.
22312         (atan2_test_data): Likewise.
22313         (cbrt_test_data): Likewise.
22314         (ceil_test_data): Likewise.
22315         (copysign_test_data): Likewise.
22316         (cos_test_data): Likewise.
22317         (cosh_test_data): Likewise.
22318         (erf_test_data): Likewise.
22319         (erfc_test_data): Likewise.
22320         (exp_test_data): Likewise.
22321         (exp10_test_data): Likewise.
22322         (exp2_test_data): Likewise.
22323         (expm1_test_data): Likewise.
22324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22326 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22328         [BZ #19006]
22329         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22330         to ...
22331         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22332         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22333         to ...
22334         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22335         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22336         to ...
22337         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22338         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22339         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22340         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22341         to ...
22342         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22343         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22344         Moved to ...
22345         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22346         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22347         Moved to ...
22348         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22349         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22350         to ...
22351         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22352         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22353         Moved to ...
22354         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22355         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22356         to ...
22357         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22358         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22359         Removed.
22360         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22361         Likewise.
22362         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22363         Likewise.
22364         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22365         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22366         Likewise.
22367         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22368         Likewise.
22369         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22370         Likewise.
22371         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22372         Likewise.
22373         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22374         Likewise.
22375         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22376         Likewise.
22377         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22378         Likewise.
22379         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22380         Likewise.
22381         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22382         Likewise.
22383         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22384         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22385         Likewise.
22386         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22387         Likewise.
22388         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22389         Likewise.
22390         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22391         Likewise.
22392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22393         Likewise.
22394         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22395         Replace ../i486/pthread_cond_timedwait.S with
22396         ../pthread_cond_timedwait.S.
22398 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22400         * math/libm-test.inc (acos_test_data): Refine expectations for
22401         errno and "inexact" exceptions.
22402         (acosh_test_data): Likewise.
22403         (asin_test_data): Likewise.
22404         (asinh_test_data): Likewise.
22405         (atan_test_data): Likewise.
22406         (atanh_test_data): Likewise.
22407         (atan2_test_data): Likewise.
22408         (cbrt_test_data): Likewise.
22409         (ceil_test_data): Likewise.
22410         (copysign_test_data): Likewise.
22411         (cosh_test_data): Likewise.
22412         (erf_test_data): Likewise.
22413         (erfc_test_data): Likewise.
22414         (exp_test_data): Likewise.
22415         (exp10_test_data): Likewise.
22416         (exp2_test_data): Likewise.
22417         (expm1_test_data): Likewise.
22418         (fabs_test_data): Likewise.
22419         (floor_test_data): Likewise.
22420         (fma_test_data): Likewise.
22421         (fmax_test_data): Likewise.
22422         (fmin_test_data): Likewise.
22423         (fmod_test_data): Likewise.
22424         (fpclassify_test_data): Likewise.
22425         (frexp_test_data): Likewise.
22426         (hypot_test_data): Likewise.
22427         (ilogb_test_data): Likewise.
22428         (isgreater_test_data): Likewise.
22429         (isgreaterequal_test_data): Likewise.
22430         (isinf_test_data): Likewise.
22431         (isless_test_data): Likewise.
22432         (islessequal_test_data): Likewise.
22433         (islessgreater_test_data): Likewise.
22434         (isnan_test_data): Likewise.
22435         (isnormal_test_data): Likewise.
22436         (issignaling_test_data): Likewise.
22437         (isunordered_test_data): Likewise.
22438         (j0_test_data): Likewise.
22439         (j1_test_data): Likewise.
22440         (jn_test_data): Likewise.
22441         (lgamma_test_data): Likewise.
22442         (lrint_test_data): Likewise.
22443         (llrint_test_data): Likewise.
22444         (log_test_data): Likewise.
22445         (log10_test_data): Likewise.
22446         (log1p_test_data): Likewise.
22447         (log2_test_data): Likewise.
22448         (logb_test_data): Likewise.
22449         (lround_test_data): Likewise.
22450         (llround_test_data): Likewise.
22451         (modf_test_data): Likewise.
22452         (nearbyint_test_data): Likewise.
22453         (nextafter_test_data): Likewise.
22454         (nexttoward_test_data): Likewise.
22455         (pow_test_data): Likewise.
22456         (remainder_test_data): Likewise.
22457         (remquo_test_data): Likewise.
22458         (rint_test_data): Likewise.
22459         (round_test_data): Likewise.
22460         (signbit_test_data): Likewise.
22461         (sinh_test_data): Likewise.
22462         (sqrt_test_data): Likewise.
22463         (tanh_test_data): Likewise.
22464         (tgamma_test_data): Likewise.
22465         (trunc_test_data): Likewise.
22466         (y0_test_data): Likewise.
22467         (y1_test_data): Likewise.
22468         (yn_test_data): Likewise.
22469         (significand_test_data): Likewise.
22471 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22473         * manual/filesys.texi (Storage Allocation): Document that
22474         posix_fallocate emulation fails when fd is open with O_WRONLY.
22476 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22478         [BZ #19016]
22479         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22480         allow more cases with X^2 + Y^2 >= 0.5.
22481         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22482         normal element in sum instead of special-casing based on values of
22483         arguments.
22484         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22485         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22486         -1 as normal element in sum instead of special-casing based on
22487         values of arguments.
22488         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
22489         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
22490         (__x2y2m1): Update comment.
22491         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
22492         as normal element in sum instead of special-casing based on values
22493         of arguments.
22494         * math/s_clog.c (__clog): Handle more cases using log1p without
22495         hypot.
22496         * math/s_clog10.c (__clog10): Likewise.
22497         * math/s_clog10f.c (__clog10f): Likewise.
22498         * math/s_clog10l.c (__clog10l): Likewise.
22499         * math/s_clogf.c (__clogf): Likewise.
22500         * math/s_clogl.c (__clogl): Likewise.
22501         * math/auto-libm-test-in: Add more tests of clog and clog10.
22502         * math/auto-libm-test-out: Regenerated.
22503         * sysdeps/i386/fpu/libm-test-ulps: Update.
22504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22506 2015-09-28  Martin Sebor  <msebor@redhat.com>
22508         [BZ #18969]
22509         * string/Makefile (LOCALES): Define.
22510         (gen-locales.mk): Include.
22511         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
22512         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
22513         * string/tst-strxfrm2.c (do_test): Print the name of the locale
22514         on setlocale failure.
22516 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22518         [BZ #18985]
22519         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
22520         (__strftime_internal): Likewise.
22521         * time/tst-strftime.c (do_bz18985): New test.
22522         (do_test): Call it.
22524 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
22526         [BZ #18956]
22527         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
22528         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
22529         extracting high part.
22530         * math/auto-libm-test-in: Add another test of pow.
22531         * math/auto-libm-test-out: Regenerated.
22532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22534 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22536         [BZ #18825]
22537         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
22538         New macro.
22539         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
22540         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22541         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
22542         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
22543         DBL_NARROW_EVAL, reloading the PIC register as needed.
22544         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
22545         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
22546         FLT_NARROW_EVAL.  Use separate return path for case when first
22547         argument is NaN.
22548         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
22549         DEFINE_LDBL_MIN.
22550         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
22551         PIC register.
22552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
22553         math_check_force_underflow_nonneg.
22554         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
22555         underflow for subnormal result.
22556         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
22557         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
22558         math_check_force_underflow_nonneg.
22559         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
22560         math_check_force_underflow.
22561         * sysdeps/x86_64/fpu/x86_64-math-asm.h
22562         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
22563         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
22564         DEFINE_LDBL_MIN.
22565         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
22566         * math/auto-libm-test-in: Add more tests of pow.
22567         * math/auto-libm-test-out: Regenerated.
22569 2015-09-25  Florian Weimer  <fweimer@redhat.com>
22571         * nss/bug17079.c (init_test_items): Add diagnostic for
22572         inconsistent entries.
22573         (test_buffer_size): Skip inconsistent entries.
22575 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22577         [BZ #13304]
22578         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
22579         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22580         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
22582         [BZ #13304]
22583         * sysdeps/microblaze/s_fma.c: New file.
22584         * sysdeps/microblaze/s_fmaf.c: Likewise.
22585         * sysdeps/microblaze/sfp-machine.h: Likewise.
22587 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
22589         [BZ #17250]
22590         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
22591         member.
22593 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22595         [BZ #18803]
22596         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
22597         (MO): New macro.
22598         (__ieee754_hypot) [PIC]: Load PIC register.
22599         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
22600         DBL_NARROW_EVAL.
22601         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
22602         math_check_force_underflow_nonneg in case where result might be
22603         tiny.
22604         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22605         Likewise.
22606         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22607         Likewise.
22608         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
22609         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
22610         * math/auto-libm-test-in: Add more tests of hypot.
22611         * math/auto-libm-test-out: Regenerated.
22613 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
22615         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
22617 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22619         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
22620         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
22621         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22622         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22623         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
22624         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22625         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22627         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
22628         LOAD_PIC_REG.
22630         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
22631         (FLT_CHECK_FORCE_UFLOW): Likewise.
22632         (DBL_CHECK_FORCE_UFLOW): Likewise.
22633         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22634         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
22635         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
22636         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22637         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22638         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22639         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22640         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22641         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
22642         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22643         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
22644         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
22645         (flt_min): Replace with use of DEFINE_FLT_MIN.
22646         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
22647         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
22648         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22649         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
22650         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
22651         (flt_min): Replace with use of DEFINE_FLT_MIN.
22652         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
22653         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
22654         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22655         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22656         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22657         (flt_min): Replace with use of DEFINE_FLT_MIN.
22658         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22659         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22660         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22661         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22662         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22663         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22664         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22665         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22666         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22667         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22668         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22669         (flt_min): Replace with use of DEFINE_FLT_MIN.
22670         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22671         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22672         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22673         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22674         main computation.
22675         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22676         (flt_min): Replace with use of DEFINE_FLT_MIN.
22677         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22678         main computation.
22679         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22680         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22681         (MO): New macro.
22682         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22683         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22684         (flt_min): Replace with use of DEFINE_FLT_MIN.
22685         (MO): New macro.
22686         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22687         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22688         (__log1pl): Use MO.
22690         [BZ #19003]
22691         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22692         $(config-cflags-nofma).
22694 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22696         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22698 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22700         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22701         (TWO127): Likewise.
22703         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22704         (min_of_type): Likewise.
22705         (math_check_force_underflow): Likewise.
22706         (math_check_force_underflow_nonneg): Likewise.
22707         (math_check_force_underflow_complex): Likewise.
22708         * math/e_exp2l.c (__ieee754_exp2l): Use
22709         math_check_force_underflow_nonneg.
22710         * math/k_casinh.c (__kernel_casinh): Likewise.
22711         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22712         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22713         * math/s_catan.c (__catan): Use
22714         math_check_force_underflow_complex.
22715         * math/s_catanf.c (__catanf): Likewise.
22716         * math/s_catanh.c (__catanh): Likewise.
22717         * math/s_catanhf.c (__catanhf): Likewise.
22718         * math/s_catanhl.c (__catanhl): Likewise.
22719         * math/s_catanl.c (__catanl): Likewise.
22720         * math/s_ccosh.c (__ccosh): Likewise.
22721         * math/s_ccoshf.c (__ccoshf): Likewise.
22722         * math/s_ccoshl.c (__ccoshl): Likewise.
22723         * math/s_cexp.c (__cexp): Likewise.
22724         * math/s_cexpf.c (__cexpf): Likewise.
22725         * math/s_cexpl.c (__cexpl): Likewise.
22726         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22727         * math/s_clog10.c (__clog10): Likewise.
22728         * math/s_clog10f.c (__clog10f): Likewise.
22729         * math/s_clog10l.c (__clog10l): Likewise.
22730         * math/s_clogf.c (__clogf): Likewise.
22731         * math/s_clogl.c (__clogl): Likewise.
22732         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22733         * math/s_csinf.c (__csinf): Likewise.
22734         * math/s_csinh.c (__csinh): Likewise.
22735         * math/s_csinhf.c (__csinhf): Likewise.
22736         * math/s_csinhl.c (__csinhl): Likewise.
22737         * math/s_csinl.c (__csinl): Likewise.
22738         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22739         * math/s_csqrtf.c (__csqrtf): Likewise.
22740         * math/s_csqrtl.c (__csqrtl): Likewise.
22741         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22742         * math/s_ctanf.c (__ctanf): Likewise.
22743         * math/s_ctanh.c (__ctanh): Likewise.
22744         * math/s_ctanhf.c (__ctanhf): Likewise.
22745         * math/s_ctanhl.c (__ctanhl): Likewise.
22746         * math/s_ctanl.c (__ctanl): Likewise.
22747         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22748         instead of volatile.
22749         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22750         math_check_force_underflow.
22751         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22752         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22753         volatile when forcing underflow.
22754         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22755         math_check_force_underflow_nonneg.
22756         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22757         Likewise.
22758         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22759         math_check_force_underflow.
22760         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22761         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22762         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22763         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22764         math_check_force_underflow_nonneg.
22765         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22766         math_check_force_underflow.
22767         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22769         instead of volatile.
22770         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22771         math_check_force_underflow.
22772         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22774         math_check_force_underflow_nonneg.
22775         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22776         math_check_force_underflow.
22777         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22778         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22779         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22780         math_check_force_underflow_nonneg.
22781         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22782         Likewise.
22783         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22784         math_check_force_underflow.
22785         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22786         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22787         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22788         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22789         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22790         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22791         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22792         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22793         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22794         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22795         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22796         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22797         Likewise.
22798         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22799         math_check_force_underflow_nonneg.
22800         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22801         Likewise.
22802         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22803         math_check_force_underflow.
22804         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22805         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22806         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22807         Likewise.
22808         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22809         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22810         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22811         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22812         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22813         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22815         instead of volatile.
22816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22817         math_check_force_underflow.
22818         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22819         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22820         math_check_force_underflow.
22821         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22822         Likewise.
22823         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22824         Use math_check_force_underflow_nonneg.
22825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22826         math_check_force_underflow.
22827         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22828         Likewise.
22829         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22830         Likewise.
22831         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22832         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22833         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22834         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22836         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22837         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22838         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22839         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22840         math_check_force_underflow_nonneg.
22841         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22842         math_check_force_underflow.
22843         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22844         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22845         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22846         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22847         math_check_force_underflow_nonneg.
22848         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22849         math_check_force_underflow.
22850         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22851         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22852         instead of volatile.
22853         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22854         math_check_force_underflow.
22856         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22857         * stdlib/strtod_l.c: Include <math_private.h>.
22858         (overflow_value): Use math_narrow_eval.
22859         (underflow_value): Likewise.
22860         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22861         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22862         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22863         (__ieee754_gamma_r): Likewise.
22864         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22865         Likewise.
22866         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22867         Likewise.
22868         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22869         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22870         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22871         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22872         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22873         (__ieee754_gammaf_r): Likewise.
22874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22875         Likewise.
22876         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22877         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22878         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22879         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22880         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22881         volatile.
22882         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22883         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22884         math_narrow_eval.
22885         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22886         Likewise.
22887         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22888         Likewise.
22889         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22890         Likewise.
22891         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22892         volatile.
22893         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22894         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22895         math_narrow_eval.
22896         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22897         Likewise.
22898         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22899         Likewise.
22901 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22903         * nptl/Versions: Remove ignored symbols.
22905 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22907         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22908         * nss/Makefile (tests): Update.
22910 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22912         * nss/bug18287.c: New file.
22913         * nss/Makefile (tests): Add bug18287.
22915 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22917         * mach/Versions (__mach_host_self_): Add symbol.
22919 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22921         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22922         vm_page_size.
22924 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22926         Really fix sysdeps/i386/fpu/s_scalbn.S build
22928         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22929         (libc: GLIBC_2_22): Remove unused version set.
22931 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22933         * config.make.in (enable-timezone-tools): New variable.
22934         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22935         (enable_timezone_tools): Export to generated files.
22936         * configure: Regenerate.
22937         * INSTALL: Regenerate.
22938         * manual/install.texi (--disable-timezone-tools): Document new flag.
22939         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22940         ifeq ($(enable-timezone-tools),yes) check.
22942 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22944         * timezone/Makefile: Revert previous change.
22946         [BZ #18980]
22947         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22948         (DEFINE_DBL_MIN): Likewise.
22949         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22950         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22951         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22952         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22953         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22954         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22955         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22956         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22957         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22958         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22959         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22960         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22961         (flt_min): Replace with use of DEFINE_FLT_MIN.
22962         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22963         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22964         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22965         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22966         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22967         (flt_min): Replace with use of DEFINE_FLT_MIN.
22968         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22969         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22970         (flt_min): Replace with use of DEFINE_FLT_MIN.
22971         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22972         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22973         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22974         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22975         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22976         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22977         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22978         (__ieee754_pow): Use DBL_NARROW_EVAL.
22979         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22980         (__ieee754_powf): Use FLT_NARROW_EVAL.
22981         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22982         (__ieee754_expf_sse2): Convert double-precision result to single
22983         precision.
22984         * sysdeps/i386/fpu/libm-test-ulps: Update.
22986 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22988         * timezone/Makefile: Ignore unused variable errors due to private.h
22989         (time_t_min) and (time_t_max).
22990         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22991         Likewise.
22993 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22995         [BZ #18981]
22996         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22997         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22998         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22999         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23000         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23001         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23002         (__scalbn): Use DBL_NARROW_EVAL.
23003         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23004         (__scalbnf): Use FLT_NARROW_EVAL.
23006 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23008         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23009         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23010         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23011         * stdio-common/printf_fp.c (___printf_fp):
23012         Use signbit to get the sign. Use isinf macro to allow inlining.
23013         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23014         * stdio-common/printf_size.c (__printf_size): Likewise.
23016 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23018         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23020 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23022         [BZ #18980]
23023         * sysdeps/generic/math_private.h: Include <float.h>.
23024         (math_narrow_eval): New macro.
23025         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23026         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23027         math_narrow_eval on overflowing return value.
23028         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23029         Likewise.
23030         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23031         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23033         Likewise.
23034         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23036 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23038         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23039         * math/Makefile: Remove isinf_ns.c.
23040         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23041         * math/multc3.c (__multc3): Likewise.
23042         * math/s_casin.c (__casin): Likewise.
23043         * math/s_casinf.c (__casinf): Likewise.
23044         * math/s_casinl.c (__casinl): Likewise.
23045         * math/s_cproj.c (__cproj): Likewise.
23046         * math/s_cprojf.c (__cprojf): Likewise.
23047         * math/s_cprojl.c (__cprofl): Likewise.
23048         * math/s_ctan.c (__ctan): Likewise.
23049         * math/s_ctanf.c (__ctanf): Likewise.
23050         * math/s_ctanh.c (__ctanh): Likewise.
23051         * math/s_ctanhf.c (__ctanhf): Likewise.
23052         * math/s_ctanhl.c (__ctanhl): Likewise.
23053         * math/s_ctanl.c (__ctanl): Likewise.
23054         * math/w_fmod.c (__fmod): Likewise.
23055         * math/w_fmodf.c (__fmodf): Likewise.
23056         * math/w_fmodl.c (_fmodl): Likewise.
23057         * math/w_remainder.c (__remainder): Likewise.
23058         * math/w_remainderf.c (__remainderf): Likewise.
23059         * math/w_remainderl.c (__remainderl): Likewise.
23060         * math/w_scalb.c (__scalb): Likewise.
23061         * math/w_scalbf.c (__scalbf): Likewise.
23062         * math/w_scalbl.c (__scalbl): Likewise.
23063         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23064         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23065         with isinf.
23066         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23068         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23069         __isinf_nsf with isinf.
23070         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23071         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23072         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23073         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23074         with isinf.
23075         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23076         __isinf_nsl with isinf.
23077         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23078         with isinf.
23079         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23080         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23081         __isinf_nsl with isinf.
23082         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23083         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23084         with isinf.
23086 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23088         * resolv/base64.c (rcsid): Remove unused static.
23089         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23090         static.  (tqpi1): Likewise.
23091         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23092         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23093         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23094         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23095         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23096         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23097         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23098         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23099         Likewise.
23101 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23103         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23104         <nptl/pthreadP.h>.
23105         (_longjmp_unwind): Use __libc_ptf_call.
23106         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23108 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23110         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23111         * sysdeps/arm/__longjmp.S: Likewise.
23113 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23115         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23116         Use __builtin_signbit.
23117         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23118         Use __builtin_signbitf.
23119         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23120         Use __builtin_signbitl.
23121         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23122         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23124 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23126         [BZ #15367]
23127         [BZ #17441]
23129         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23130         * math/math.h (fpclassify): Use __builtin_fpclassify when
23131         available.  (signbit): Use __builtin_signbit(f/l).
23132         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23133         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23134         (isinf): Use __builtin_isinf_sign.
23136 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23138         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23139         * benchtests/bench-math-inlines.c: New benchmark.
23140         * benchtests/bench-util.h: New file.
23141         * benchtests/bench-util.c: New file.
23142         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23144 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23146         * elf/tst-dlmopen1.c: Define TEST_SO.
23147         (do_test): Use TEST_SO.
23149         * elf/dl-load.c: Include libc-internal.h.
23150         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23152 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23154         [BZ #17887]
23155         * time/strptime_l.c (__strptime_internal): Make %z accept
23156         [+-]HH:MM time zones.
23158 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23160         [BZ #17886]
23161         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23162         valid time zone.
23164 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23166         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23167         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23168         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23169         (__ASSUME_FDATASYNC): Delete.
23171 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23173         * conform/linknamespace.pl: Require weak undefined symbols to be
23174         in the standard namespace.
23175         (%strong_syms): Rename to %seen_syms.
23176         (%strong_seen): Rename to %seen_where.
23178 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23180         [BZ #18970]
23181         * misc/error.c (error): Replace pthread_setcancelstate with
23182         __pthread_setcancelstate.
23183         (error_at_line): Likewise.
23184         * posix/wordexp.c (parse_comm): Likewise.
23185         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23186         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23187         (__pthread_setcancelstate): This.
23188         (pthread_setcancelstate): Add an alias.
23189         * nptl/nptl-init.c (pthread_functions): Replace
23190         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23191         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23192         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23193         hidden_proto.
23194         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23195         it with hidden_def.
23196         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23197         (pthread_setcancelstate): Renamed to ...
23198         (__pthread_setcancelstate): This.
23199         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23200         __libc_ptf_call with __pthread_setcancelstate.
23202 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23203             Andreas Schwab  <schwab@suse.de>
23205         [BZ #17118]
23206         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23207         result when imaginary part of argument is infinite using sine and
23208         cosine.
23209         * math/s_ctanf.c (__ctanf): Likewise.
23210         * math/s_ctanl.c (__ctanl): Likewise.
23211         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23212         of result when real part of argument is infinite using sine and
23213         cosine.
23214         * math/s_ctanhf.c (__ctanhf): Likewise.
23215         * math/s_ctanhl.c (__ctanhl): Likewise.
23216         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23217         (ctanh_test_data): Add more tests of ctanh.
23219 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23221         [BZ #15384]
23222         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23223         bit-mask as in subtraction.
23224         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23225         Likewise.
23226         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23227         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23228         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23230         [BZ #18951]
23231         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23232         underflow exception for small results.
23233         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23234         Likewise.
23235         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23236         Likewise.
23237         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23238         Likewise.
23239         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23240         Likewise.
23241         * math/auto-libm-test-in: Add more tests of tgamma.
23242         * math/auto-libm-test-out: Regenerated.
23244 2015-09-17  Andreas Schwab  <schwab@suse.de>
23246         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23248 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23250         [BZ #18977]
23251         * math/bits/mathcalls.h
23252         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23253         not declare.
23254         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23255         Likewise.
23256         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23257         Likewise.
23258         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23259         Likewise.
23260         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23261         Likewise.
23262         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23263         Likewise.
23264         * conform/data/math.h-data
23265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23266         function.
23267         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23268         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23269         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23270         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23271         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23272         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23273         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23274         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23275         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23276         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23277         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23279         [BZ #6803]
23280         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23281         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23282         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23283         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23284         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23285         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23286         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23287         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23288         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23290         Likewise.
23291         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23292         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23293         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23294         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23295         long_double_symbol calls.
23296         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23297         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23298         strong alias of __ldexpl.
23299         (scalbnl): Define using long_double_symbol.
23300         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23301         Remove alias.
23302         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23303         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23304         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23305         (scalbln_test_data): Add more errno expectations.
23307 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23309         Cache the host port like we cache the task port.  This way we do not
23310         need to call the kernel just to get the port.  Furthermore, we no
23311         longer increase the reference count on every invocation of
23312         `mach_host_self'.
23314         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23315         Protect declarations against the macro expansion.
23316         * mach/mach_init.c (__mach_host_self_): New variable.
23317         (mach_init): Initialize `__mach_host_self_'.
23318         * mach/mach_init.h (__mach_host_self_): New declaration.
23319         (__mach_host_self, mach_host_self): New macros.
23320         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23321         Release reference.
23323 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23325         [BZ #4404]
23326         * po/de.po: Update from Translation Project.
23328         [BZ #16415]
23329         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23330         (__expm1l): Remove code to handle positive infinity and overflow.
23331         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23332         variable.
23333         (__expm1l): Remove code to handle positive infinity and overflow.
23335 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23336             Paul Pluzhnikov  <ppluzhnikov@google.com>
23338         [BZ #18872]
23339         * stdio-common/Makefile (tst-printf-bz18872): New test.
23340         (tst-printf-bz18872-mem.out): Likewise.
23341         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23342         * stdio-common/vfprintf.c: Fix memory leaks.
23344 2015-09-16  Andreas Schwab  <schwab@suse.de>
23346         [BZ #17244]
23347         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23348         Remove extra va_start/va_end calls.
23350         [BZ #17243]
23351         * posix/execl.c (execl): Add missing va_end.
23352         * posix/execle.c (execle): Likewise.
23353         * posix/execlp.c (execlp): Likewise.
23355 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23357         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23358         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23360 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23362         [BZ #18967]
23363         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23364         undefine around includes of <bits/mathcalls.h>.
23365         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23366         not declare function.
23367         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23368         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23369         (scalb): Likewise.
23370         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23371         not define macro.
23372         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23373         variable.
23374         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23375         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23376         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23378         [BZ #18857]
23379         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23380         return non-finite argument without doing ordered comparisons on
23381         it.
23383         [BZ #16296]
23384         * math/fenv.h (fegetround): Use __attribute_pure__.
23385         * include/fenv.h (__fegetround): Likewise.
23387         [BZ #18595]
23388         * math/s_ctan.c (__ctan): Force underflow exception for results
23389         whose real or imaginary part has small absolute value.
23390         * math/s_ctanf.c (__ctanf): Likewise.
23391         * math/s_ctanh.c (__ctanh): Likewise.
23392         * math/s_ctanhf.c (__ctanhf): Likewise.
23393         * math/s_ctanhl.c (__ctanhl): Likewise.
23394         * math/s_ctanl.c (__ctanl): Likewise.
23395         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23396         and ctanh.  Add more tests of ctan and ctanh.
23398         [BZ #15918]
23399         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23400         handling of cases where one argument is an infinity.
23402         [BZ #18875]
23403         [BZ #18966]
23404         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23405         (MO): New macro.
23406         (__ieee754_exp10): For small results, force underflow exception
23407         and remove excess range and precision from return value.
23408         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23409         (MO): New macro.
23410         (__ieee754_exp10f): For small results, force underflow exception
23411         and remove excess range and precision from return value.
23412         * math/auto-libm-test-in: Add more tests of exp10.
23413         * math/auto-libm-test-out: Regenerated.
23415 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23417         [BZ #18875]
23418         [BZ #18961]
23419         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23420         (MO): New macro.
23421         (__ieee754_exp): For small results, force underflow exception and
23422         remove excess range and precision from return value.
23423         (__exp_finite): Likewise.
23424         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23425         (MO): New macro.
23426         (__ieee754_expf): For small results, force underflow exception and
23427         remove excess range and precision from return value.
23428         (__expf_finite): Likewise.
23429         * math/auto-libm-test-in: Add more tests of exp.
23430         * math/auto-libm-test-out: Regenerated.
23432         [BZ #16521]
23433         [BZ #18875]
23434         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23435         small results.
23436         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23437         (MO): New macro.
23438         (__ieee754_exp2): For small results, force underflow exception and
23439         remove excess range and precision from return value.
23440         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23441         (MO): New macro.
23442         (__ieee754_exp2f): For small results, force underflow exception
23443         and remove excess range and precision from return value.
23444         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23445         (MO): New macro.
23446         (__ieee754_exp2l): Force underflow exception for small results.
23447         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23448         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23449         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23450         (MO): New macro.
23451         (__ieee754_exp2l): Force underflow exception for small results.
23452         * math/auto-libm-test-in: Add more tests or exp2.
23453         * math/auto-libm-test-out: Regenerated.
23455 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23457         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23459         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23460         /dev/null.
23462 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23464         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23465         io fs process)): Drop spurious backslash.
23467 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23470         Use sysinfo system call instead of parsing /proc/meminfo.
23471         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23472         Likewise.
23474 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23476         [BZ #16985]
23477         * programs/localedef.c (main): Display argv[remaining] when
23478         output_path is NULL.
23480 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23482         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23483         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23484         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23485         tanh.
23486         * math/auto-libm-test-out: Regenerated.
23487         * sysdeps/i386/fpu/libm-test-ulps: Update.
23488         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23489         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23492 2015-09-11  Roland McGrath  <roland@hack.frob.com>
23494         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
23495         Use 'override' keyword to freeze the value here, preventing
23496         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
23498 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23500         [BZ #14912]
23501         * sysdeps/aarch64/bits/atomic.h: Move to ...
23502         * sysdeps/aarch64/atomic-machine.h: ...here.
23503         (_AARCH64_BITS_ATOMIC_H): Rename macro to
23504         _AARCH64_ATOMIC_MACHINE_H.
23505         * sysdeps/alpha/bits/atomic.h: Move to ...
23506         * sysdeps/alpha/atomic-machine.h: ...here.
23507         * sysdeps/arm/bits/atomic.h: Move to ...
23508         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
23509         * bits/atomic.h: Move to ...
23510         * sysdeps/generic/atomic-machine.h: ...here.
23511         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23512         * sysdeps/i386/bits/atomic.h: Move to ...
23513         * sysdeps/i386/atomic-machine.h: ...here.
23514         * sysdeps/ia64/bits/atomic.h: Move to ...
23515         * sysdeps/ia64/atomic-machine.h: ...here.
23516         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
23517         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
23518         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23519         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
23520         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
23521         * sysdeps/microblaze/bits/atomic.h: Move to ...
23522         * sysdeps/microblaze/atomic-machine.h: ...here.
23523         * sysdeps/mips/bits/atomic.h: Move to ...
23524         * sysdeps/mips/atomic-machine.h: ...here.
23525         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
23526         * sysdeps/powerpc/bits/atomic.h: Move to ...
23527         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
23528         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
23529         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
23530         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
23531         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
23532         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
23533         <atomic-machine.h> instead of <bits/atomic.h>.
23534         * sysdeps/s390/bits/atomic.h: Move to ...
23535         * sysdeps/s390/atomic-machine.h: ...here.
23536         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
23537         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
23538         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23539         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
23540         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
23541         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
23542         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
23543         * sysdeps/tile/bits/atomic.h: Move to ...
23544         * sysdeps/tile/atomic-machine.h: ...here.
23545         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
23546         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
23547         <sysdeps/tile/atomic-machine.h> instead of
23548         <sysdeps/tile/bits/atomic.h>.
23549         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23550         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
23551         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
23552         <sysdeps/tile/atomic-machine.h> instead of
23553         <sysdeps/tile/bits/atomic.h>.
23554         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23555         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
23556         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
23557         <sysdeps/arm/atomic-machine.h> instead of
23558         <sysdeps/arm/bits/atomic.h>.
23559         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
23560         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
23561         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23562         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
23563         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
23564         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23565         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
23566         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
23567         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
23568         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
23569         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
23570         * sysdeps/x86_64/bits/atomic.h: Move to ...
23571         * sysdeps/x86_64/atomic-machine.h: ...here.
23572         * include/atomic.h: Include <atomic-machine.h> instead of
23573         <bits/atomic.h>.
23575         * sysdeps/mips/mips32/libm-test-ulps: Update.
23576         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23578         [BZ #18952]
23579         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
23580         not convert non-integer negative arguments to int to determine the
23581         value of signgam.
23582         * math/auto-libm-test-in: Add more tests of lgamma.
23583         * math/auto-libm-test-out: Regenerated.
23585         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
23586         cosh, csqrt, erfc, expm1 and lgamma.
23587         * math/auto-libm-test-out: Regenerated.
23588         * sysdeps/i386/fpu/libm-test-ulps: Update.
23589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23591 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
23593         [BZ #2542]
23594         [BZ #2543]
23595         [BZ #2558]
23596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
23597         __lgamma_neg for arguments from -28.0 to -2.0.
23598         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
23599         __lgamma_negf for arguments from -15.0 to -2.0.
23600         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23601         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
23602         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
23603         Call __lgamma_negl for arguments from -33.0 to -2.0.
23604         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
23605         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
23606         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
23607         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
23608         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
23609         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
23610         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
23611         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
23612         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
23613         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
23614         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
23615         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
23616         (__lgamma_neg): Likewise.
23617         (__lgamma_negl): Likewise.
23618         (__lgamma_product): Likewise.
23619         (__lgamma_productl): Likewise.
23620         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
23621         * math/auto-libm-test-in: Add more tests of lgamma.
23622         * math/auto-libm-test-out: Regenerated.
23623         * sysdeps/i386/fpu/libm-test-ulps: Update.
23624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23626 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
23628         [BZ #18675]
23629         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
23631 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
23633         [BZ #14912]
23634         * bits/libc-lock.h: Move to ...
23635         * sysdeps/generic/libc-lock.h: ...here.
23636         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23637         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
23638         * sysdeps/mach/hurd/libc-lock.h: ...here.
23639         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23640         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
23641         * sysdeps/mach/bits/libc-lock.h: Move to ...
23642         * sysdeps/mach/libc-lock.h: ...here.
23643         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23644         * sysdeps/nptl/bits/libc-lock.h: Move to ...
23645         * sysdeps/nptl/libc-lock.h: ...here.
23646         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23647         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
23648         * sysdeps/nptl/libc-lockP.h: ...here.
23649         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
23650         * crypt/crypt_util.c: Include <libc-lock.h> instead of
23651         <bits/libc-lock.h>.
23652         * dirent/scandir-tail.c: Likewise.
23653         * dlfcn/dlerror.c: Likewise.
23654         * elf/dl-close.c: Likewise.
23655         * elf/dl-iteratephdr.c: Likewise.
23656         * elf/dl-lookup.c: Likewise.
23657         * elf/dl-open.c: Likewise.
23658         * elf/dl-support.c: Likewise.
23659         * elf/dl-writev.h: Likewise.
23660         * elf/rtld.c: Likewise.
23661         * grp/fgetgrent.c: Likewise.
23662         * gshadow/fgetsgent.c: Likewise.
23663         * gshadow/sgetsgent.c: Likewise.
23664         * iconv/gconv_conf.c: Likewise.
23665         * iconv/gconv_db.c: Likewise.
23666         * iconv/gconv_dl.c: Likewise.
23667         * iconv/gconv_int.h: Likewise.
23668         * iconv/gconv_trans.c: Likewise.
23669         * include/link.h: Likewise.
23670         * inet/getnameinfo.c: Likewise.
23671         * inet/getnetgrent.c: Likewise.
23672         * inet/getnetgrent_r.c: Likewise.
23673         * intl/bindtextdom.c: Likewise.
23674         * intl/dcigettext.c: Likewise.
23675         * intl/finddomain.c: Likewise.
23676         * intl/gettextP.h: Likewise.
23677         * intl/loadmsgcat.c: Likewise.
23678         * intl/localealias.c: Likewise.
23679         * intl/textdomain.c: Likewise.
23680         * libidn/idn-stub.c: Likewise.
23681         * libio/libioP.h: Likewise.
23682         * locale/duplocale.c: Likewise.
23683         * locale/freelocale.c: Likewise.
23684         * locale/newlocale.c: Likewise.
23685         * locale/setlocale.c: Likewise.
23686         * login/getutent_r.c: Likewise.
23687         * login/getutid_r.c: Likewise.
23688         * login/getutline_r.c: Likewise.
23689         * login/utmp-private.h: Likewise.
23690         * login/utmpname.c: Likewise.
23691         * malloc/mtrace.c: Likewise.
23692         * misc/efgcvt.c: Likewise.
23693         * misc/error.c: Likewise.
23694         * misc/fstab.c: Likewise.
23695         * misc/getpass.c: Likewise.
23696         * misc/mntent.c: Likewise.
23697         * misc/syslog.c: Likewise.
23698         * nis/nis_call.c: Likewise.
23699         * nis/nis_callback.c: Likewise.
23700         * nis/nss-default.c: Likewise.
23701         * nis/nss_compat/compat-grp.c: Likewise.
23702         * nis/nss_compat/compat-initgroups.c: Likewise.
23703         * nis/nss_compat/compat-pwd.c: Likewise.
23704         * nis/nss_compat/compat-spwd.c: Likewise.
23705         * nis/nss_nis/nis-alias.c: Likewise.
23706         * nis/nss_nis/nis-ethers.c: Likewise.
23707         * nis/nss_nis/nis-grp.c: Likewise.
23708         * nis/nss_nis/nis-hosts.c: Likewise.
23709         * nis/nss_nis/nis-network.c: Likewise.
23710         * nis/nss_nis/nis-proto.c: Likewise.
23711         * nis/nss_nis/nis-pwd.c: Likewise.
23712         * nis/nss_nis/nis-rpc.c: Likewise.
23713         * nis/nss_nis/nis-service.c: Likewise.
23714         * nis/nss_nis/nis-spwd.c: Likewise.
23715         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23716         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23717         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23718         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23719         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23720         * nis/nss_nisplus/nisplus-network.c: Likewise.
23721         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23722         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23723         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23724         * nis/nss_nisplus/nisplus-service.c: Likewise.
23725         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23726         * nis/ypclnt.c: Likewise.
23727         * nptl/libc_pthread_init.c: Likewise.
23728         * nss/getXXbyYY.c: Likewise.
23729         * nss/getXXent.c: Likewise.
23730         * nss/getXXent_r.c: Likewise.
23731         * nss/nss_db/db-XXX.c: Likewise.
23732         * nss/nss_db/db-netgrp.c: Likewise.
23733         * nss/nss_db/nss_db.h: Likewise.
23734         * nss/nss_files/files-XXX.c: Likewise.
23735         * nss/nss_files/files-alias.c: Likewise.
23736         * nss/nsswitch.c: Likewise.
23737         * posix/regex_internal.h: Likewise.
23738         * posix/wordexp.c: Likewise.
23739         * pwd/fgetpwent.c: Likewise.
23740         * resolv/res_hconf.c: Likewise.
23741         * resolv/res_libc.c: Likewise.
23742         * shadow/fgetspent.c: Likewise.
23743         * shadow/lckpwdf.c: Likewise.
23744         * shadow/sgetspent.c: Likewise.
23745         * socket/opensock.c: Likewise.
23746         * stdio-common/reg-modifier.c: Likewise.
23747         * stdio-common/reg-printf.c: Likewise.
23748         * stdio-common/reg-type.c: Likewise.
23749         * stdio-common/vfprintf.c: Likewise.
23750         * stdio-common/vfscanf.c: Likewise.
23751         * stdlib/abort.c: Likewise.
23752         * stdlib/cxa_atexit.c: Likewise.
23753         * stdlib/fmtmsg.c: Likewise.
23754         * stdlib/random.c: Likewise.
23755         * stdlib/setenv.c: Likewise.
23756         * string/strsignal.c: Likewise.
23757         * sunrpc/auth_none.c: Likewise.
23758         * sunrpc/bindrsvprt.c: Likewise.
23759         * sunrpc/create_xid.c: Likewise.
23760         * sunrpc/key_call.c: Likewise.
23761         * sunrpc/rpc_thread.c: Likewise.
23762         * sysdeps/arm/backtrace.c: Likewise.
23763         * sysdeps/generic/ldsodefs.h: Likewise.
23764         * sysdeps/generic/stdio-lock.h: Likewise.
23765         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23766         * sysdeps/i386/backtrace.c: Likewise.
23767         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23768         * sysdeps/m68k/backtrace.c: Likewise.
23769         * sysdeps/mach/hurd/cthreads.c: Likewise.
23770         * sysdeps/mach/hurd/dirstream.h: Likewise.
23771         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23772         * sysdeps/nptl/malloc-machine.h: Likewise.
23773         * sysdeps/nptl/stdio-lock.h: Likewise.
23774         * sysdeps/posix/dirstream.h: Likewise.
23775         * sysdeps/posix/getaddrinfo.c: Likewise.
23776         * sysdeps/posix/system.c: Likewise.
23777         * sysdeps/pthread/aio_suspend.c: Likewise.
23778         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23779         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23780         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23781         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23782         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23783         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23784         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23785         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23786         * sysdeps/unix/sysv/linux/system.c: Likewise.
23787         * sysdeps/x86_64/backtrace.c: Likewise.
23788         * time/alt_digit.c: Likewise.
23789         * time/era.c: Likewise.
23790         * time/tzset.c: Likewise.
23791         * wcsmbs/wcsmbsload.c: Likewise.
23792         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23793         instead of <bits/libc-lock.h> in comment.
23795 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23797         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23798         Only use .set mips2 if the current ISA is below mips2.
23799         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23800         Likewise.
23801         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23802         mips32r2 if the current ISA is below mips32r2.
23803         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23804         (TLS_IE): Updated to use the TLD_RDHWR macro.
23805         (TLS_LE): Likewise.
23806         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23807         __ASSEMBLER__ condition.
23809 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23811         Fix parallel build of before-compile targets.
23813         * sysdeps/mach/Makefile ($(patsubst
23814         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23815         mach-before-compile target.
23816         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23817         io fs process)): Move rule to dedicated hurd-before-compile target.
23819 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23821         Fix rules generating headers in hurd/ and mach/ when initial make call
23822         has subdir= explicitly set.
23824         * sysdeps/mach/Makefile ($(patsubst
23825         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23826         calling $(MAKE).
23827         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23828         io fs process)): Force subdir to hurd when calling $(MAKE).
23829         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23830         subdir to mach when calling $(MAKE).
23832 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23834         Check sysheaders when looking for Mach and Hurd headers
23836         * sysdeps/mach/configure.ac: Add sysheaders check.
23837         * sysdeps/mach/configure: Regenerate.
23838         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23839         * sysdeps/mach/hurd/configure: Regenerate.
23841 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23843         [BZ #18921]
23844         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23845         Fix inverted sense of test of 'o_directory_works' value.
23846         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23847         Bernhard Voelker <mail@bernhard-voelker.de>.
23849 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23851         [BZ #14912]
23852         * bits/linkmap.h: Move to ...
23853         * sysdeps/generic/linkmap.h: ...here.
23854         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23855         * sysdeps/aarch64/linkmap.h: ...here.
23856         * sysdeps/arm/bits/linkmap.h: Move to ...
23857         * sysdeps/arm/linkmap.h: ...here.
23858         * sysdeps/hppa/bits/linkmap.h: Move to ...
23859         * sysdeps/hppa/linkmap.h: ...here.
23860         * sysdeps/ia64/bits/linkmap.h: Move to ...
23861         * sysdeps/ia64/linkmap.h: ...here.
23862         * sysdeps/mips/bits/linkmap.h: Move to ...
23863         * sysdeps/mips/linkmap.h: ...here.
23864         * sysdeps/s390/bits/linkmap.h: Move to ...
23865         * sysdeps/s390/linkmap.h: ...here.
23866         * sysdeps/sh/bits/linkmap.h: Move to ...
23867         * sysdeps/sh/linkmap.h: ...here.
23868         * sysdeps/x86/bits/linkmap.h: Move to ...
23869         * sysdeps/x86/linkmap.h: ...here.
23870         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23872 2015-09-04  Andreas Schwab  <schwab@suse.de>
23874         [BZ #18635]
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23876         (__makecontext): Terminate FDE before return label.
23877         (__novec_makecontext): Likewise.
23879 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23881         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23882         first member of struct sv in syscall macro.
23884 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23886         [BZ #14912]
23887         * bits/stdio-lock.h: Move to ...
23888         * sysdeps/generic/stdio-lock.h: ...here.
23889         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23890         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23891         * sysdeps/nptl/stdio-lock.h: ...here.
23892         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23893         * include/libio.h: Include <stdio-lock.h> instead of
23894         <bits/stdio-lock.h>.
23895         * sysdeps/nptl/fork.c: Likewise.
23896         * sysdeps/pthread/flockfile.c: Likewise.
23897         * sysdeps/pthread/ftrylockfile.c: Likewise.
23898         * sysdeps/pthread/funlockfile.c: Likewise.
23900         [BZ #14912]
23901         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23902         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23903         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23904         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23905         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23906         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23907         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23909 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23911         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23912         (test-xfail-tst-protected1b): New variable.
23914 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23916         [BZ #14912]
23917         * bits/libc-tsd.h: Move to ...
23918         * sysdeps/generic/libc-tsd.h: ...here.
23919         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23920         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23921         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23922         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23923         * include/ctype.h: Include <libc-tsd.h> instead of
23924         <bits/libc-tsd.h>.
23925         * include/rpc/rpc.h: Likewise.
23926         * locale/localeinfo.h: Likewise.
23927         * sunrpc/rpc_thread.c: Likewise.
23928         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23929         * sysdeps/nptl/malloc-machine.h: Likewise.
23931         * Makefile (headers): Remove bits/libc-lock.h.
23932         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23934         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23935         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23936         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23937         <bits/stdio-lock.h>.
23938         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23939         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23941 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23943         [BZ #18757]
23944         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23945         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23946         BZ #18757.
23948 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23950         * malloc/mtrace.pl: Filter out NULL entries.
23952 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23954         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23955         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23956         macro.
23958         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23959         (TCP_CC_INFO): Likewise.
23960         (TCP_SAVE_SYN): Likewise.
23961         (TCP_SAVED_SYN): Likewise.
23963 2015-08-31  Brett Neumeier <brett@neumeier.us>
23965         [BZ #18870]
23966         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23968 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23970         [BZ #18873]
23971         Fix broken overflow check in posix_fallocate
23972         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23973         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23974         Fix parenthesization typo.
23976 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23978         [BZ #18887]
23979         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23980         tst-mntent-blank-passno.
23981         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23982         * misc/tst-mntent-blank-corrupt.c: New test.
23983         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23984         * misc/tst-mntent.c (do_test): ... here.
23986 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23988         [BZ #4404]
23989         * po/de.po: Fix SIGALRM typo.
23991 2015-08-28  James Perkins  <james@loowit.net>
23993         * time/tst-strptime2.c (tests): Replace short list of test
23994         strings for strptime %z specifier with code which exhaustively
23995         tests every combination of sign and 0 to 5 digits. Tests for
23996         rejection of invalid strings.
23998 2015-08-28  James Perkins  <james@loowit.net>
24000         [BZ #16141]
24001         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24002         calculation, removing incorrect decimal time rounding, so that
24003         all minute values result in a valid seconds value.
24004         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24005         offset range limits to UTC-99:59 through UTC+99:59 to parse
24006         current and historical use cases.
24007         * time/tst-strptime2.c (tests): Modify and add tests for the
24008         strptime %z input field descriptor, specifically conversion of
24009         minutes to seconds and validating an offset range of -9959 to
24010         +9959.
24012 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24013             Dmitry V. Levin  <ldv@altlinux.org>
24015         [BZ #18877]
24016         * posix/Makefile (tests): Add tst-mmap-offset.
24017         * posix/tst-mmap.c: New file.
24018         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24019         offset calculation for negative values.
24021 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24023         * sysdeps/i386/init-arch.h: New file.
24024         * sysdeps/i386/i586/init-arch.h: Likewise.
24025         * sysdeps/i386/i686/init-arch.h: Likewise.
24026         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24027         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24028         * sysdeps/x86/cpu-features.h (bit_I586): New.
24029         (bit_I686): Likewise.
24030         (bit_CX8): Likewise.
24031         (bit_CMOV): Likewise.
24032         (index_CX8): Likewise.
24033         (index_CMOV): Likewise.
24034         (index_I586): Likewise.
24035         (index_I686): Likewise.
24036         (reg_CX8): Likewise.
24037         (reg_CMOV): Likewise.
24038         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24039         available at compile-time.
24040         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24041         available at compile-time.
24042         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24043         (USE_I686): Likewise.
24045 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24047         * sysdeps/i386/bcopy.S: New file.
24048         * sysdeps/i386/bzero.S: Likewise.
24049         * sysdeps/i386/memcpy.S: Likewise.
24050         * sysdeps/i386/memmove.S: Likewise.
24051         * sysdeps/i386/mempcpy.S: Likewise.
24052         * sysdeps/i386/memset.S: Likewise.
24053         * sysdeps/i386/bzero.c: Removed.
24054         * sysdeps/i386/memset.c: Likewise.
24055         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24056         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24057         * sysdeps/i386/i586/memset_chk.S: Likewise.
24058         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24059         * sysdeps/i386/memcpy_chk.S: Here.
24060         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24061         * sysdeps/i386/memmove_chk.S: Here.
24062         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24063         * sysdeps/i386/mempcpy_chk.S: Likewise.
24064         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24065         * sysdeps/i386/memset_chk.S: Likewise.
24067 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24069         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24070         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24071         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24072         * soft-fp/fmadf4.c: Ditto.
24073         * soft-fp/fmatf4.c: Ditto.
24075 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24077         * sysdeps/i386/i586/Implies: Removed.
24078         * sysdeps/i386/i686/Implies: Likewise.
24080 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24082         * sysdeps/i386/i486/strlen.S: Moved to ...
24083         * sysdeps/i386/strlen.S: Here.
24085 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24087         * sysdeps/i386/i486/strcat.S: Moved to ...
24088         * sysdeps/i386/strcat.S: Here.
24090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24092         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24093         * sysdeps/i386/pthread_spin_trylock.S: Here.
24094         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24095         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24097 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24099         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24100         * sysdeps/i386/string-inlines.c: Here.
24102 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24104         * sysdeps/i386/i486/htonl.S: Moved ...
24105         * sysdeps/i386/htonl.S: here.
24107 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24109         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24110         * sysdeps/i386/bits/atomic.h: Here.
24112 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24114         * sysdeps/i386/i486/Versions: Removed.
24116 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24118         [BZ #2898]
24119         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24120         Based on patch by Aurelien Jarno.
24122 2015-08-26  Stan Shebs  <stanshebs@google.com>
24124         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24125         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24127 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24129         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24130         * sysdeps/powerpc/dl-procinfo.c:
24131         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24132         feature so it shows when LD_SHOW_AUXV=1.
24134 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24136         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24137         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24138         definition.  ISA 2.07B no longer requires full sync.
24140 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24142         [BZ #18863]
24143         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24144         (si_call_addr): Define.
24145         (si_syscall): Define.
24146         (si_arch): Define.
24148 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24150         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24151         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24152         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24153         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24154         (__memset_zero_constant_len_parameter): New.
24155         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24156         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24157         (__memset_zero_constant_len_parameter): Don't define if
24158         __memset_chk or USE_AS_BZERO are defined.
24160         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24161         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24162         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24164         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24165         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24166         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24167         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24168         comments.
24169         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24170         -mno-mmx for $(all-rtld-routines).
24171         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24172         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24173         i386.
24175 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24177         * sysdeps/generic/unwind.h
24178         (_Unwind_Word): Use __mode__(__unwind_word__)
24179         instead of __mode__(__word__).
24180         (_Unwind_Sword): Likewise.
24182         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24183         (MAX_NEEDED_INPUT): New define.
24184         (MAX_NEEDED_OUTPUT): New define.
24186         * NEWS: New item for IBM z13 string optimizations.
24188         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24189         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24190         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24191         * sysdeps/s390/multiarch/Makefile
24192         (sysdep_routines): Add memrchr functions.
24193         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24194         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24196         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24197         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24198         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24199         * sysdeps/s390/multiarch/Makefile
24200         (sysdep_routines): Add wmemcmp functions.
24201         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24202         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24203         * benchtests/bench-wmemcmp.c: New File.
24204         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24206         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24207         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24208         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24209         * sysdeps/s390/multiarch/Makefile
24210         (sysdep_routines): Add wmemset functions.
24211         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24212         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24213         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24214         * string/test-memset.c: Add wmemset support.
24215         * wcsmbs/test-wmemset.c: New File.
24216         * wcsmbs/Makefile (strop-tests): Add wmemset.
24217         * benchtests/bench-memset.c: Add wmemset support.
24218         * benchtests/bench-wmemset.c: New File.
24219         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24221         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24222         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24223         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24224         * sysdeps/s390/multiarch/Makefile
24225         (sysdep_routines): Add memccpy functions.
24226         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24227         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24228         * string/memccpy.c: Use MEMCCPY if defined.
24230         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24231         * sysdeps/s390/multiarch/memchr.c: Likewise.
24232         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24233         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24234         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24235         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24236         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24237         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24238         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24239         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24240         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24241         and rawmemchr functions.
24242         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24243         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24244         and wmemchr.
24245         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24246         * string/test-memchr.c: Add wmemchr support.
24247         * wcsmbs/test-wmemchr.c: New File.
24248         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24249         * benchtests/bench-memchr.c: Add wmemchr support.
24250         * benchtests/bench-wmemchr.c: New File.
24251         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24253         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24254         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24255         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24256         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24257         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24258         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24259         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24260         wcscspn functions.
24261         * sysdeps/s390/multiarch/ifunc-impl-list.c
24262         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24263         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24264         * string/test-strcspn.c: Add wcscspn support.
24265         * wcsmbs/test-wcscspn.c: New File.
24266         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24267         * benchtests/bench-strcspn.c: Add wcscspn support.
24268         * benchtests/bench-wcscspn.c: New File.
24269         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24271         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24272         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24273         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24274         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24275         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24276         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24277         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24278         wcspbrk functions.
24279         * sysdeps/s390/multiarch/ifunc-impl-list.c
24280         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24281         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24282         * string/test-strpbrk.c: Add wcspbrk support.
24283         * wcsmbs/test-wcspbrk.c: New File.
24284         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24285         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24286         * benchtests/bench-wcspbrk.c: New File.
24287         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24289         * sysdeps/s390/multiarch/strspn-c.c: New File.
24290         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24291         * sysdeps/s390/multiarch/strspn.c: Likewise.
24292         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24293         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24294         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24295         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24297         wcsspn functions.
24298         * sysdeps/s390/multiarch/ifunc-impl-list.c
24299         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24300         * string/test-strspn.c: Add wcsspn support.
24301         * wcsmbs/test-wcsspn.c: New File.
24302         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24303         * benchtests/bench-strspn.c: Add wcsspn support.
24304         * benchtests/bench-wcsspn.c: New File.
24305         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24307         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24308         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24309         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24310         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24311         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24312         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24313         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24314         wcsrchr functions.
24315         * sysdeps/s390/multiarch/ifunc-impl-list.c
24316         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24317         * benchtests/bench-wcsrchr.c: New File.
24318         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24320         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24321         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24322         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24323         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24324         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24325         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24326         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24327         wcschrnul functions.
24328         * sysdeps/s390/multiarch/ifunc-impl-list.c
24329         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24330         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24331         * string/test-strchr.c: Add wcschrnul support.
24332         * wcsmbs/test-wcschrnul.c: New File.
24333         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24334         * benchtests/bench-strchr.c: Add wcschrnul support.
24335         * benchtests/bench-wcschrnul.c: New File.
24336         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24338         * sysdeps/s390/multiarch/strchr-c.c: New File.
24339         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24340         * sysdeps/s390/multiarch/strchr.c: Likewise.
24341         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24342         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24343         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24344         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24345         wcschr functions.
24346         * sysdeps/s390/multiarch/ifunc-impl-list.c
24347         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24348         * string/strchr.c (STRCHR): Define and use macro.
24349         * benchtests/bench-wcschr.c: New File.
24350         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24352         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24353         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24354         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24355         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24356         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24357         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24358         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24359         wcsncmp functions.
24360         * sysdeps/s390/multiarch/ifunc-impl-list.c
24361         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24362         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24363         * benchtests/bench-strncmp.c: Add wcsncmp support.
24364         * benchtests/bench-wcsncmp.c: New File.
24365         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24367         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24368         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24369         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24370         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24371         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24372         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24373         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24374         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24375         wcscmp functions.
24376         * sysdeps/s390/multiarch/ifunc-impl-list.c
24377         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24378         * string/strcmp.c (STRCMP): Define and use macro.
24379         * benchtests/bench-wcscmp.c: New File.
24380         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24381         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24382         instead of _HAVE_STRING_ARCH_memchr.
24384         * sysdeps/s390/multiarch/strncat-c.c: New File.
24385         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24386         * sysdeps/s390/multiarch/strncat.c: Likewise.
24387         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24388         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24389         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24391         wcsncat functions.
24392         * sysdeps/s390/multiarch/ifunc-impl-list.c
24393         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24394         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24395         * string/test-strncat.c: Add wcsncat support.
24396         * wcsmbs/test-wcsncat.c: New File.
24397         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24398         * benchtests/bench-strncat.c: Add wcsncat support.
24399         * benchtests/bench-wcsncat.c: New File.
24400         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24402         * sysdeps/s390/multiarch/strcat-c.c: New File.
24403         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24404         * sysdeps/s390/multiarch/strcat.c: Likewise.
24405         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24406         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24407         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24408         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24409         wcscat functions.
24410         * sysdeps/s390/multiarch/ifunc-impl-list.c
24411         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24412         * string/strcat.c (STRCAT): Define and use macro.
24413         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24414         * string/test-strcat.c: Add wcscat support.
24415         * wcsmbs/test-wcscat.c: New File.
24416         * wcsmbs/Makefile (strop-tests): Add wcscat.
24417         * benchtests/bench-strcat.c: Add wcscat support.
24418         * benchtests/bench-wcscat.c: New File.
24419         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24421         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24422         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24423         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24424         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24425         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24426         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24427         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24428         wcpncpy functions.
24429         * sysdeps/s390/multiarch/ifunc-impl-list.c
24430         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24431         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24432         * string/test-stpncpy.c: Add wcpncpy support.
24433         * wcsmbs/test-wcpncpy.c: New File.
24434         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24435         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24436         * benchtests/bench-wcpncpy.c: New File.
24437         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24439         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24440         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24441         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24442         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24443         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24444         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24445         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24446         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24447         wcsncpy functions.
24448         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24449         * sysdeps/s390/multiarch/ifunc-impl-list.c
24450         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24451         * string/test-strncpy.c: Add wcsncpy support.
24452         * wcsmbs/test-wcsncpy.c: New File.
24453         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24454         * benchtests/bench-strncpy.c: Add wcsncpy support.
24455         * benchtests/bench-wcsncpy.c: New File.
24456         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24458         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24459         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24460         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24461         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24462         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24463         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24464         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24465         wcpcpy functions.
24466         * string/stpcpy.c: Use STPCPY if defined.
24467         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24468         * sysdeps/s390/multiarch/ifunc-impl-list.c
24469         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24470         * string/test-stpcpy.c: Add wcpcpy support.
24471         * wcsmbs/test-wcpcpy.c: New File.
24472         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24473         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24474         * benchtests/bench-wcpcpy.c: New File.
24475         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24477         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24478         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24479         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24480         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24481         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24482         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24483         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24484         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24485         wcscpy functions.
24486         * sysdeps/s390/multiarch/ifunc-impl-list.c
24487         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
24488         * benchtests/bench-wcscpy.c: New File.
24489         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
24491         * sysdeps/s390/multiarch/strnlen-c.c: New File.
24492         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
24493         * sysdeps/s390/multiarch/strnlen.c: Likewise.
24494         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
24495         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
24496         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
24497         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
24498         wcsnlen functions.
24499         * sysdeps/s390/multiarch/ifunc-impl-list.c
24500         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
24501         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
24502         * string/test-strnlen.c: Add wcsnlen support.
24503         * wcsmbs/test-wcsnlen.c: New File.
24504         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
24505         * benchtests/bench-strnlen.c: Add wcsnlen support.
24506         * benchtests/bench-wcsnlen.c: New File.
24507         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
24509         * sysdeps/s390/multiarch/Makefile: New File.
24510         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
24511         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
24512         * sysdeps/s390/multiarch/strlen.c: Likewise.
24513         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
24514         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
24515         * sysdeps/s390/multiarch/wcslen.c: Likewise.
24516         * string/strlen.c (STRLEN): Define and use macro.
24517         * sysdeps/s390/multiarch/ifunc-impl-list.c
24518         (IFUNC_VX_IMPL): New macro function.
24519         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
24520         * benchtests/Makefile (wcsmbs-bench): New variable.
24521         (string-bench-all): Added wcsmbs-bench.
24522         * benchtests/bench-wcslen.c: New File.
24524         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
24525         s390_vx_libc_ifunc2): New macro function.
24527         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
24528         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
24529         assembler support.
24530         * sysdeps/s390/configure: Regenerated.
24532         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
24533         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
24535         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
24536         * sysdeps/s390/dl-procinfo.h: Add vector capability.
24537         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
24539         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
24540         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
24541         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
24542         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
24543         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
24544         (memcmp, bcmp): Use __memcmp_default as alias source.
24545         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
24546         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
24547         Rename to __memcmp_default.
24548         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
24549         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
24550         (memcpy): Use __memcpy_default as alias source.
24551         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
24552         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
24553         Rename to __memcpy_default.
24554         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
24555         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
24556         (memset): Use __memset_default as alias source.
24557         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
24558         * sysdeps/s390/s390-32/memset.S (__memset_g5):
24559         Rename to __memset_default.
24560         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
24561         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
24562         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
24563         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
24564         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
24565         (memcmp, bcmp): Use __memcmp_default as alias source.
24566         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
24567         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
24568         Rename to __memcmp_default.
24569         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
24570         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
24571         (memcpy): Use __memcpy_default as alias source.
24572         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
24573         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
24574         Rename to __memcpy_default.
24575         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
24576         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
24577         (memset): Use __memset_default as alias source.
24578         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
24579         * sysdeps/s390/s390-64/memset.S (__memset_z900):
24580         Rename to __memset_default.
24581         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
24582         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
24584         [BZ #18610]
24585         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
24586         __ieee_instruction_pointer to __unused.
24587         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
24588         __ieee_instruction_pointer.
24589         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
24590         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
24591         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24592         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24593         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
24594         Mark dxc-field as reserved.
24596 2015-08-25  Roland McGrath  <roland@hack.frob.com>
24598         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
24599         if the weak reference is not null.
24601 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24603         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
24605         [BZ #11214]
24606         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
24608 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24610         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
24611         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
24612         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
24613         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
24614         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
24615         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
24616         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
24617         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
24618         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
24619         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
24620         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
24621         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24622         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
24623         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
24624         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
24625         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
24626         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
24627         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
24629 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24631         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
24632         register other than r0 for tabort, it has special meaning.
24633         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
24634         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
24635         transaction before starting syscall.
24637 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24639         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
24641 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24643         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
24645         * sysdeps/x86_64/rtld-memcmp.c: Removed.
24646         * sysdeps/x86_64/rtld-memset.S: Likewise.
24647         * sysdeps/x86_64/rtld-strchr.S: Likewise.
24648         * sysdeps/x86_64/rtld-strlen.S: Likewise.
24649         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24650         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24652         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
24654 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24656         * debug/strcpy_chk.c: Improve performance.
24657         * debug/stpcpy_chk.c: Likewise.
24658         * sysdeps/x86_64/strcpy_chk.S: Remove.
24659         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24661         [BZ #18240]
24662         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24664 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24666         [BZ #15128]
24667         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24668         ifuncmain8.
24669         (modules-names): Add ifuncmod8.
24670         ($(objpfx)ifuncmain8): New rule.
24671         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24672         <cpuid.h>.
24673         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24674         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24675         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24676         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24677         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24678         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24679         * sysdeps/x86_64/ifuncmain8.c: New file.
24680         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24681         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24682         Removed.
24683         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24684         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24685         Change rtld_savespace_sse to __glibc_unused2.
24686         (RTLD_CHECK_FOREIGN_CALL): Removed.
24687         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24688         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24689         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24691 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24693         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24695 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24697         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24698         Unconditionally set __fpcr to avoid uninialized warning.
24699         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24701 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24703         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24704         is corrupt.
24706         * malloc/arena.c (arena_get2): Drop unused argument.
24707         (arena_lock): Adjust.
24708         (arena_get_retry): Likewise.
24710 2015-08-24  Andreas Schwab  <schwab@suse.de>
24712         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24713         Don't define.
24714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24715         (__ASSUME_IPC64): Don't undef.
24716         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24717         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24718         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24719         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24720         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24721         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24722         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24723         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24724         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24725         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24726         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24727         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24728         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24729         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24730         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24731         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24732         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24733         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24734         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24735         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24736         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24738 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24740         * manual/Makefile (install): Only build manual when perl is available.
24742 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24744         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24745         '#undef memcpy' by '#undef memchr'.
24747 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24749         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24750         memchr not point to the internal __GI_memchr implementation.
24752 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24754         * timezone/Makefile (CFLAGS-zdump.c): Remove
24755         -Wno-strict-prototypes.
24756         (CFLAGS-zic.c): Likewise.
24757         (CFLAGS-ialloc.c): Likewise.
24758         (CFLAGS-scheck.c): Likewise.
24760         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24761         -Wno-error=undef.
24763 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24765         * i386/i686/multiarch/strcasestr-c.c: Removed.
24766         * x86_64/multiarch/strcasestr.c: Likewise.
24767         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24768         Remove strcasestr.
24770 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24772         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24774         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24775         variables for high and low parts before possibly modifying them.
24777 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24779         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24780         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24781         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24782         of "multiarch/init-arch.h".
24783         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24784         * sysdeps/x86/init-arch.h: This.
24786 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24788         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24789         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24791 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24793         [BZ #17787]
24794         * manual/macros.texi: Add twoexp macro.
24795         * manual/filesys.texi: Fix exponents.
24796         * manual/llio.texi: Likewise.
24797         * manual/stdio.texi: Likewise.
24799 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24801         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24802         incorrect use.
24804 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24806         [BZ #18370]
24807         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24808         whose real or imaginary part has small absolute value.
24809         * math/s_csqrtf.c (__csqrtf): Likewise.
24810         * math/s_csqrtl.c (__csqrtl): Likewise.
24811         * math/auto-libm-test-in: Add more tests of csqrt.
24812         * math/auto-libm-test-out: Regenerated.
24813         * sysdeps/i386/fpu/libm-test-ulps: Update.
24815 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24817         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24818         __ppc_set_ppr_very_low): New functions.
24819         * manual/platform.texi: Add documentation about
24820         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24822 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24824         * string/stpncpy.c (stpncpy): Improve performance using
24825         __strnlen/memcpy/memset.
24827 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24829         [BZ #18796]
24830         * scripts/test-installation.pl: Don't add -lmvec to build options if
24831         libmvec wasn't built.
24833 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24835         [BZ #14341]
24836         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24837         case when there is a gap between DT_REL and DT_JMPREL sections.
24838         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24839         (LDFLAGS-tst-split-dynreloc): New.
24840         (tst-split-dynreloc-ENV): Likewise.
24841         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24842         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24844 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24846         [BZ #18822]
24847         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24848         attribute_hidden.
24849         (__xstat64_conv): Likewise.
24850         (__xstat32_conv): Likewise.
24852 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24854         [BZ #18822]
24855         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24856         Don't load %ebx when calling __setcontext.  Call __setcontext
24857         with HIDDEN_JUMPTARGET.
24858         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24859         libc_hidden_def.
24861 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24863         * sysdeps/i386/i686/Makefile
24864         [$(subdir) == string] (sysdep_routines): Moved to ...
24865         * sysdeps/i386/Makefile: Here.
24866         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24867         * sysdeps/i386/cacheinfo.c: Here.
24868         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24869         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24870         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24871         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24873 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24875         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24876         __i586__ is defined.
24877         (HAS_I686): Defined to 1 if __i686__ is defined.
24879 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24881         * elf/Makefile [$(have-z-execstack) = yes]
24882         (CPPFLAGS-tst-execstack.c): New variable.
24884         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24885         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24886         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24887         UTMPX || _HAVE_UT_TV].
24888         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24889         UTMPX || _HAVE_UT_TV - 0].
24891 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24893         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24894         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24895         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24897 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24899         * sysdeps/powerpc/dl-procinfo.c:
24900         (_dl_powerpc_cap_flags): Added missing strings for some
24901         hwcap features.
24902         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24904 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24906         Port the 0x7efe...feff pattern to GCC 6.
24907         See Steve Ellcey's bug report in:
24908         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24909         * string/memrchr.c (MEMRCHR):
24910         * string/rawmemchr.c (RAWMEMCHR):
24911         * string/strchr.c (strchr):
24912         * string/strchrnul.c (STRCHRNUL):
24913         Rewrite code to avoid issues with signed shift overflow.
24915 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24917         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24918         whether cpuid is available only if HAS_CPUID is 0.
24919         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24920         (HAS_I586): Likewise.
24921         (HAS_I686): Likewise.
24923 2015-08-18  Zack Weinberg  <zackw@panix.com>
24925         * misc/Versions (libc): Add GLIBC_2.23.
24927 2015-08-18  Alan Modra  <amodra@gmail.com>
24929         [BZ #18421]
24930         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24931         .Lp__global.
24932         (_start): Load %dp via .Lp__global.
24933         [!SHARED]: Use .section .rodata.
24935 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24937         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24938         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24942         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24943         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24945 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24947         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24948         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24950 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24952         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24953         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24955 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24957         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24958         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24960 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24962         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24963         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24965 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24967         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24969 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24971         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24972         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24973         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24974         (__ASSUME_LWS_CAS): Delete.
24976 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24978         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24979         * sysdeps/hppa/configure: Regenerated.
24980         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24981         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24982         * sysdeps/hppa/nptl/tls.h: Likewise.
24984 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24986         [BZ #18823]
24987         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24988         for scaling up small arguments.
24989         * math/s_csqrtf.c (__csqrtf): Likewise.
24990         * math/s_csqrtl.c (__csqrtl): Likewise.
24991         * math/auto-libm-test-in: Add more tests of csqrt.
24992         * math/auto-libm-test-out: Regenerated.
24994 2015-08-17  Andreas Schwab  <schwab@suse.de>
24996         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24997         version set GLIBC_2.19.
24999 2015-08-16  Zack Weinberg  <zackw@panix.com>
25001         [BZ #18681]
25002         * misc/regexp.h: This interface is no longer supported.
25003         Remove all contents, leaving only an #error directive.
25004         * misc/regexp.c (loc1, loc2, locs, step, advance):
25005         Demote to compatibility symbols.
25007 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25009         [BZ #18084]
25010         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25011         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25012         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25013         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25014         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25015         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25016         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25017         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25018         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25020 2015-08-15  Zack Weinberg  <zackw@panix.com>
25022         [BZ #18795]
25023         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25024         buffer length is known to be too large, not if it's known to be
25025         small enough.
25026         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25027         overflow at runtime, involving a length parameter, twice: once
25028         with a compile-time constant length parameter, once without.
25030 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25032         [BZ #18824]
25033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25034         scaling x * y up instead of down.
25035         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25036         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25037         * math/auto-libm-test-in: Add more tests of fma.
25038         * math/auto-libm-test-out: Regenerated.
25040 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25044 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25046         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25047         unnecessary movq.
25048         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25049         Likewise.
25051 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25053         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25054         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25055         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25056         and tgamma.
25057         * math/auto-libm-test-out: Regenerated.
25058         * sysdeps/i386/fpu/libm-test-ulps: Update.
25059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25061         [BZ #16520]
25062         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25063         (__tanh): Force underflow exception for arguments with small
25064         absolute value.
25065         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25066         (__tanhf): Force underflow exception for arguments with small
25067         absolute value.
25068         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25069         (__tanhl): Force underflow exception for arguments with small
25070         absolute value.
25071         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25072         (__tanhl): Force underflow exception for arguments with small
25073         absolute value.
25074         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25075         (__tanhl): Force underflow exception for arguments with small
25076         absolute value.
25077         * math/auto-libm-test-in: Add more tests of tanh.
25078         * math/auto-libm-test-out: Regenerated.
25079         * sysdeps/i386/fpu/libm-test-ulps: Update.
25081 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25083         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25084         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25086 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25088         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25089         <cpuid.h>.
25091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25093         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25094         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25096 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25098         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25099         Remove $(objpfx)init-arch.o.
25100         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25101         init-arch.
25102         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25103         (INIT_ARCH_EXT): Defined as empty.
25104         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25106         __init_cpu_features call.  Replace HAS_XXX with
25107         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25109         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25110         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25111         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25112         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25113         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25114         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25115         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25116         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25117         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25118         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25124         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25127         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25131         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25132         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25133         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25134         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25136         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25140         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25141         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25142         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25144 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25146         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25147         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25148         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25149         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25150         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25151         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25152         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25153         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25154         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25155         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25156         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25157         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25158         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25159         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25160         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25161         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25162         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25163         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25164         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25165         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25166         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25167         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25168         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25169         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25170         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25171         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25172         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25173         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25174         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25175         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25176         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25177         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25178         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25179         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25180         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25181         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25182         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25183         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25184         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25185         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25186         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25187         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25188         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25190 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25192         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25193         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25194         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25195         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25196         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25197         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25198         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25199         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25200         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25201         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25202         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25203         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25204         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25205         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25206         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25207         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25208         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25209         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25210         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25211         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25213         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25214         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25215         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25216         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25217         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25218         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25219         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25220         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25221         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25222         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25223         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25224         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25225         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25226         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25227         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25228         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25229         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25230         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25231         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25232         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25233         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25234         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25236 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25238         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25239         (dl_platform_init): Call init_cpu_features.
25240         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25241         * sysdeps/i386/i686/cacheinfo.c
25242         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25243         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25244         * sysdeps/i386/i686/multiarch/Versions: Removed.
25245         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25246         Removed.
25247         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25248         * sysdeps/unix/sysv/linux/x86/Makefile
25249         (libpthread-sysdep_routines): Remove init-arch.
25250         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25251         <sysdeps/x86_64/dl-procinfo.c> instead of
25252         sysdeps/generic/dl-procinfo.c>.
25253         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25254         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25255         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25256         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25257         [$(subdir) == elf] (tests-static): Add
25258         tst-get-cpu-features-static.
25259         * sysdeps/x86/Versions: New file.
25260         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25261         * sysdeps/x86/cpu-features.c: Likewise.
25262         * sysdeps/x86/cpu-features.h: Likewise.
25263         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25264         * sysdeps/x86/libc-start.c: Likewise.
25265         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25266         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25267         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25268         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25269         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25270         Assume USE_MULTIARCH is defined and don't check it.
25271         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25272         (is_amd): Likewise.
25273         (max_cpuid): Likewise.
25274         (intel_check_word): Likewise.
25275         (__cache_sysconf): Don't call __init_cpu_features.
25276         (__x86_preferred_memory_instruction): Removed.
25277         (init_cacheinfo): Don't call __init_cpu_features. Replace
25278         __cpu_features with GLRO(dl_x86_cpu_features).
25279         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25280         (dl_platform_init): Call init_cpu_features.
25281         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25282         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25283         * sysdeps/x86_64/multiarch/Versions: Removed.
25284         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25285         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25286         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25287         Removed.
25288         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25290 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25292         [BZ #18820]
25293         * libio/Makefile (test-fmemopen-mem): New test.
25294         * libio/test-fmemopen.c (do_bz18820): New test.
25295         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25296         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25298 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25300         [BZ #16734]
25301         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25302         (FREE_BUF): Delete.
25303         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25304         * libio/genops.c (_IO_setb): Use malloc and free directly.
25305         (_IO_default_doallocate, _IO_default_finish): Likewise.
25306         ( _IO_unbuffer_all): Likewise.
25307         ( libc_freeres_fn): Likewise.
25308         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25309         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25310         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25311         (_IO_wdefault_doallocate): Likewise.
25313 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25315         [BZ #18086]
25316         * sysdeps/posix/nice.c (nice): Restore old errno.
25317         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25319 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25323 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25325         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25326         __bcopy and add a weak_alias to bcopy.
25327         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25328         for static build.
25330         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25331         cleanup macro usage.
25332         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25334         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25335         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25336         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25337         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25338         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25339         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25340         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25341         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25343         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25344         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25345         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25346         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25348         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25349         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25350         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25352         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25353         libc_hidden_def.
25354         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25356         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25357         (sysdep_routines): Add strstr-ppc64.
25358         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25360 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25362         [BZ #18778]
25363         * elf/Makefile (tests): Add Add tst-nodelete2.
25364         (modules-names): Add tst-nodelete2mod.
25365         (tst-nodelete2mod.so-no-z-defs): New.
25366         ($(objpfx)tst-nodelete2): Likewise.
25367         ($(objpfx)tst-nodelete2.out): Likewise.
25368         (LDFLAGS-tst-nodelete2): Likewise.
25369         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25370         out of loop through all loaded libraries.
25371         * elf/tst-nodelete2.c: New file.
25372         * elf/tst-nodelete2mod.c: Likewise.
25373         * elf/tst-znodelete-zlib.cc: Delete.
25375 2015-08-11  Andreas Schwab  <schwab@suse.de>
25377         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25378         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25379         (__openat64_nocancel): Likewise.
25381 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25383         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25384         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25385         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25386         * math/auto-libm-test-out: Regenerated.
25387         * sysdeps/i386/fpu/libm-test-ulps: Update.
25388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25390 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25392         [BZ #18790]
25393         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25394         threshold for returning +/- 1.
25395         * math/auto-libm-test-in: Add more tests of tanh.
25396         * math/auto-libm-test-out: Regenerated.
25397         * sysdeps/i386/fpu/libm-test-ulps: Update.
25399 2015-08-10  Andreas Schwab  <schwab@suse.de>
25401         [BZ #18781]
25402         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25403         MORE_OFLAGS to oflag.
25404         * io/test-lfs.c (do_test): Test openat64.
25406 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #18789]
25409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25410         smaller threshold for returning the argument.
25411         * math/auto-libm-test-in: Add more tests of sinh.
25412         * math/auto-libm-test-out: Regenerated.
25413         * sysdeps/i386/fpu/libm-test-ulps: Update.
25415 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25417         [BZ #18674]
25418         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25419         break.
25421 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25423         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25424         (generated): Don't add $(addprefix z.,$(tzfiles)).
25426 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25428         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25429         * scripts/sysd-rules.awk: Likewise.
25431 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25433         * iconvdata/tst-tables.sh: Change echo -n to printf.
25434         * nss/db-Makefile: Likewise.
25435         * posix/tst-getconf.sh: Likewise.
25436         * stdio-common/tst-unbputc.sh: Likewise.
25438 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25440         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25441         MADV_*_PAGES defines behind this feature check.
25443 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25445         [BZ #18480]
25446         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25447         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25448         Define.
25449         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25450         LOAD_REGS_5, LOAD_REGS_6): Update.
25451         (INTERNAL_SYSCALL): Update using new LOAD defines.
25452         (INTERNAL_SYSCALL_NCS): Likewise.
25453         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25455 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25457         [BZ #16734]
25458         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25460 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25462         [BZ #17905]
25463         * catgets/Makefile (tst-catgets-mem): New test.
25464         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25465         * catgets/open_catalog.c (__open_catalog): Likewise.
25466         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25468 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25470         [BZ #18787]
25471         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25472         clobber registers.
25473         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25474         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25475         Cast return to __typeof (oldval).
25477 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25479         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25480         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25481         and delete sys/syscall.h include.
25483 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25485         [BZ #16517]
25486         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25487         (tan): Force underflow exception for arguments with small absolute
25488         value.
25489         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
25490         (__kernel_tanf): Force underflow exception for arguments with
25491         small absolute value.
25492         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
25493         (__kernel_tanl): Force underflow exception for arguments with
25494         small absolute value.
25495         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
25496         (__kernel_tanl): Force underflow exception for arguments with
25497         small absolute value.
25498         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
25499         (__kernel_tanl): Force underflow exception for arguments with
25500         small absolute value.
25501         * math/auto-libm-test-in: Add more tests of tan.
25502         * math/auto-libm-test-out: Regenerated.
25504 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25506         Fix sysdeps/i386/fpu/s_scalbn.S build
25508         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
25510 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
25512         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25514 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25516         Fix gcrt0.o compilation
25518         When static-start-installed-name is different from
25519         start-installed-name, we must not use the shared objects.
25521         * csu/Makefile
25522         (extra-objs): Add gmon-start.o when building shared library and
25523         $(static-start-installed-name) is different from
25524         $(start-installed-name).
25525         $(objpfx)g$(static-start-installed-name): When building shared
25526         library and $(static-start-installed-name) is different from
25527         $(static-start-installed-name), revert to non-shared rule,
25528         i.e. using $(objpfx)% and gmon-start.o.
25530 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
25532         [BZ #16519]
25533         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
25534         (__ieee754_sinh): Force underflow exception for arguments with
25535         small absolute value.
25536         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
25537         (__ieee754_sinhf): Force underflow exception for arguments with
25538         small absolute value.
25539         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
25540         (__ieee754_sinhl): Force underflow exception for arguments with
25541         small absolute value.
25542         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
25543         (__ieee754_sinhl): Force underflow exception for arguments with
25544         small absolute value.
25545         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
25546         (__ieee754_sinhl): Force underflow exception for arguments with
25547         small absolute value.
25548         * math/auto-libm-test-in: Add more tests of sinh.
25549         * math/auto-libm-test-out: Regenerated.
25550         * sysdeps/i386/fpu/libm-test-ulps: Update.
25552 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25554         * libio/oldfileops.c: Include unistd.h.
25556 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
25558         * stdlib/isomac.c: Include ctype.h.
25560 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
25562         * dirent/tst-seekdir.c (main): Converted to ...
25563         (do_test): ... this.
25564         (TEST_FUNCTION): New macro.
25565         Include test-skeleton.c.
25566         * elf/tst-dlmodcount.c (main): Converted to ...
25567         (do_test): ... this.
25568         (TEST_FUNCTION): New macro.
25569         Include test-skeleton.c.
25570         * elf/tst-order-main.c (main): Converted to ...
25571         (do_test): ... this.
25572         (TEST_FUNCTION): New macro.
25573         Include test-skeleton.c.
25574         * elf/tst-pie2.c (main): Converted to ...
25575         (do_test): ... this.
25576         (TEST_FUNCTION): New macro.
25577         Include test-skeleton.c.
25578         * inet/tst-ether_aton.c (main): Converted to ...
25579         (do_test): ... this.
25580         (TEST_FUNCTION): New macro.
25581         Include test-skeleton.c.
25582         * misc/tst-mntent.c (main): Converted to ...
25583         (do_test): ... this.
25584         (TEST_FUNCTION): New macro.
25585         Include test-skeleton.c.
25586         * misc/tst-tsearch.c (main): Converted to ...
25587         (do_test): ... this.
25588         (TEST_FUNCTION): New macro.
25589         Include test-skeleton.c.
25590         * posix/tst-regexloc.c (main): Converted to ...
25591         (do_test): ... this.
25592         (TEST_FUNCTION): New macro.
25593         Include test-skeleton.c.
25594         * resolv/tst-aton.c (main): Converted to ...
25595         (do_test): ... this.
25596         (TEST_FUNCTION): New macro.
25597         Include test-skeleton.c.
25598         * stdio-common/test-fwrite.c (main): Converted to ...
25599         (do_test): ... this.
25600         (TEST_FUNCTION): New macro.
25601         Include test-skeleton.c.
25602         * stdio-common/tst-ferror.c (main): Converted to ...
25603         (do_test): ... this.
25604         (TEST_FUNCTION): New macro.
25605         Include test-skeleton.c.
25606         * stdio-common/tst-printf.c (main): Converted to ...
25607         (do_test): ... this.
25608         (TEST_FUNCTION): New macro.
25609         Include test-skeleton.c.
25610         * stdio-common/tst-printfsz.c (main): Converted to ...
25611         (do_test): ... this.
25612         (TEST_FUNCTION): New macro.
25613         Include test-skeleton.c.
25614         * stdlib/tst-strtod.c (main): Converted to ...
25615         (do_test): ... this.
25616         (TEST_FUNCTION): New macro.
25617         Include test-skeleton.c.
25618         * string/tst-strlen.c (main): Converted to ...
25619         (do_test): ... this.
25620         (TEST_FUNCTION): New macro.
25621         Include test-skeleton.c.
25622         * string/tst-svc.c (main): Converted to ...
25623         (do_test): ... this.
25624         (TEST_FUNCTION): New macro.
25625         Include test-skeleton.c.
25626         * time/tst-strptime.c (main): Converted to ...
25627         (do_test): ... this.
25628         (TEST_FUNCTION): New macro.
25629         Include test-skeleton.c.
25630         * timezone/tst-timezone.c (main): Converted to ...
25631         (do_test): ... this.
25632         (TEST_FUNCTION): New macro.
25633         Include test-skeleton.c.
25635 2015-08-05  Zack Weinberg  <zackw@panix.com>
25637         * misc/regexp.h: Update comments.
25639 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
25641         [BZ #18635]
25642         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
25643         before return label.
25645 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25647         [BZ #18661]
25648         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
25649         when calling __errno_location.
25650         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
25651         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
25653 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25655         [BZ #18661]
25656         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25657         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25658         __gettimeofday.
25660 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25662         [BZ #18661]
25663         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25664         (__start_context): Don't use pop to restore %rdi so that stack
25665         is aligned to 16 bytes when calling __setcontext.
25667 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25669         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25670         only for libc.
25671         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25673 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25675         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25676         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25677         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25679 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25681         * string/memccpy.c (memccpy):
25682         Improve performance by using memchr/memcpy/__mempcpy.
25684 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25686         * string/strncpy.c (strncpy):
25687         Improve performance by using __strnlen/memcpy.
25689 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25691         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25692         Optimize to avoid an unnecessary FPCR read.
25694 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25696         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25697         Optimize to reduce FPCR/FPSR accesses.
25699 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25701         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25702         dead->data[category] != NULL.
25704 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25706         [BZ #18647]
25707         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25708         and |x| close to 1, use absolute value of x when computing log.
25709         * math/auto-libm-test-in: Add more tests of pow.
25710         * math/auto-libm-test-out: Regenerated.
25712 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25714         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25715         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25716         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25718 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25720         [BZ #18525]
25721         * locales/km_KH: Remove timezone definition.
25722         * locales/lo_LA: Likewise.
25723         * locales/my_MM: Likewise.
25724         * locales/nan_TW@latin: Likewise.
25725         * locales/th_TH: Likewise.
25726         * locales/uk_UA: Likewise.
25728 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25730         [BZ #18265]
25731         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25732         (wcsncat): Likewise.
25733         (wcscmp): Likewise.
25734         (wcsncmp): Likewise.
25736 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25738         * test-skeleton.c (usage): New function.
25739         (main): Call usage when opt is '?'.
25741 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25743         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25744         before first use.
25746 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25748         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25749         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25750         in there too.
25752 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25754         * version.h (RELEASE): Set to "development".
25755         (VERSION): Set to "2.22.90"
25757         * version.h (RELEASE): Set to "stable".
25758         (VERSION): Set to "2.22"
25759         * include/features.h (__GLIBC_MINOR__): Set to 22.
25761 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25763         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25764         Restructure macro to avoid "value computed is not used" warning.
25765         (atomic_compare_and_exchange_val_acq): Likewise.
25767 2015-08-04  Andreas Schwab  <schwab@suse.de>
25769         [BZ #18635]
25770         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25771         ret.
25772         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25774 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25776         * po/pl.po: Updated translation.
25777         * po/uk.po: Likewise.
25778         * po/fi.po: Likewise.
25779         * po/ko.po: Likewise.
25780         * po/ru.po: Likewise.
25781         * po/vi.po: Likewise.
25783 2015-07-31  Zack Weinberg  <zackw@panix.com>
25785         [BZ #18681]
25786         * regexp.h: Add unconditional #warning stating that this header
25787         will be removed soon.  Revise banner comment to match.
25788         (compile): Consistently use ERROR instead of RETURN to report
25789         errors (partial fix for bz#18681).
25790         * regexp.c: Don't include regexp.h. Remove some unnecessary
25791         declarations.
25793 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25795         * po/libc.pot: Regenerated.
25797 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25799         [BZ #18740]
25800         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25801         float-vlen4-arch-ext-cflags): Removed.
25802         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25803         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25805 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25807         [BZ #14113]
25808         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25809         aligned to __aligned__.
25810         (pthread_cond_t, pthread_rwlock_t): Likewise.
25812 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25814         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25816 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25818         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25819         (struct sigaction): Change sa_flags from a long to an int, and add
25820         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25822 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25824         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25825         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25826         sysdeps/generic/sysdep.h include.
25827         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25828         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25829         sysdeps/hppa/sysdep.h.
25830         (ENTRY, PSEUDO): Undefine before defining.
25832 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25834         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25835         from scratch to use INTERNAL_SYSCALL.
25837 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25839         [BZ #18078]
25840         * scripts/check-localplt.awk: Support alternate relocations.
25841         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25842         sections.
25843         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25844         malloc entries with + REL R_386_GLOB_DAT.
25845         * sysdeps/x86_64/localplt.data: New file.
25847 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25849         [BZ #18731]
25850         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25851         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25852         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25854 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25856         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25858 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25860         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25861         directly in terms of __sync_fetch_and_add and delete (int) cast.
25863 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25865         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25866         the -D_ASM_IA64_CURRENT_H flag.
25868 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25870         [BZ #18641]
25871         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25873 2015-07-27  Andreas Schwab  <schwab@suse.de>
25875         * conform/conformtest.pl (checknamespace): Filter out string
25876         literals while tokenizing.
25878 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25880         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25881         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25882         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25884 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25886         * nptl/tst-join7mod.c: Add #include <string.h>.
25888 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25890         * sysdeps/nios2/libm-test-ulps: Update.
25892 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25894         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25895         Fix order of arguments to the rt_sigprocmask syscall.
25896         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25897         Likewise.
25899 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25901         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25903 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25905         [BZ #18457]
25906         * nptl/Makefile (tests): New test case tst-join7.
25907         (modules-names): New test case module tst-join7mod.
25908         * nptl/tst-join7.c: New file.
25909         * nptl/tst-join7mod.c: New file.
25910         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25911         all translation units in libc.so, libpthread.so and rtld.
25913 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25917 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25919         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25920         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25921         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25922         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25927         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25928         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25930         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25931         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25932         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25933         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25934         implementation.
25936 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25938         [BZ #17711]
25939         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25940         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25941         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25942         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25943         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25944         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25946 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25948         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25949         instead of just saying load lock in the comments.
25951 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25953         * sysdeps/unix/Subdirs: Moved ...
25954         * sysdeps/posix/Subdirs: ... here.
25955         * login/pty.h (struct termios, struct winsize): Add forward decls.
25956         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25957         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25958         * sysdeps/arm/nacl/libc.abilist: Updated.
25959         * sysdeps/nacl/libutil.abilist: New file.
25961         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25962         (SIGWINCH): New macro.
25964         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25965         * sysdeps/arm/nacl/libc.abilist: Add it.
25967 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25969         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25971 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25973         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25974         Swap __glibc_reserved0 and sa_flags order.
25976 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25978         [BZ #18657]
25979         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25980         are pending TLS destructor calls.
25981         * include/link.h (struct link_map): Add concurrency note for
25982         L_TLS_DTOR_COUNT.
25983         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25984         Don't touch the link map flag.  Atomically increment
25985         l_tls_dtor_count.
25986         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25987         Avoid taking the load lock and don't touch the link map flag.
25988         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25989         * stdlib/Makefile (tests): Use it.
25990         * stdlib/tst-tls-atexit.c (do_test): dlopen
25991         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25992         to allow tst-tls-atexit-nodelete test case to use it.
25994 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25996         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25997         to bits/types.h.
25998         (msgqnum_t): New typedef.
25999         (msglen_t): Likewise.
26000         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26001         and msg_qbytes type to msglen_t.
26003 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26005         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26006         pad0 to __glibc_reserved0.
26007         (struct stat64): Likewise.
26009 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26011         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26012         Change sa_flags from a long to an int and add __glibc_reserved0 before
26013         it for padding.
26015 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26017         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26018         anonymous by deleting "siginfo" name.
26020 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26022         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26023         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26024         rather than __nacl_irt_filename.
26025         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26027         * NEWS: New item for arm-nacl port.
26028         * sysdeps/arm/nacl/libc.abilist: New file.
26029         * sysdeps/nacl/ld.abilist: New file.
26030         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26031         * sysdeps/nacl/libanl.abilist: New file.
26032         * sysdeps/nacl/libcrypt.abilist: New file.
26033         * sysdeps/nacl/libdl.abilist: New file.
26034         * sysdeps/nacl/libm.abilist: New file.
26035         * sysdeps/nacl/libpthread.abilist: New file.
26036         * sysdeps/nacl/libresolv.abilist: New file.
26037         * sysdeps/nacl/librt.abilist: New file.
26039 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26041         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26042         __startcontext to initialize the new context.
26043         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26044         up CFI directive to forbid further backtracing.
26046 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26048         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26049         reference.
26050         * charmaps/ANSI_X3.4-1968: Likewise.
26051         * charmaps/BS_4730: Likewise.
26052         * charmaps/BS_VIEWDATA: Likewise.
26053         * charmaps/CP1250: Likewise.
26054         * charmaps/CP1251: Likewise.
26055         * charmaps/CP1252: Likewise.
26056         * charmaps/CP1253: Likewise.
26057         * charmaps/CP1254: Likewise.
26058         * charmaps/CP1255: Likewise.
26059         * charmaps/CP1256: Likewise.
26060         * charmaps/CSN_369103: Likewise.
26061         * charmaps/EBCDIC-DK-NO: Likewise.
26062         * charmaps/GB_1988-80: Likewise.
26063         * charmaps/GREEK-CCITT: Likewise.
26064         * charmaps/GREEK7: Likewise.
26065         * charmaps/INIS-8: Likewise.
26066         * charmaps/ISIRI-3342: Likewise.
26067         * charmaps/ISO_2033-1983: Likewise.
26068         * charmaps/ISO_5427-EXT: Likewise.
26069         * locales/POSIX: Likewise.
26070         * locales/ar_SA: Likewise.
26071         * locales/be_BY: Likewise.
26072         * locales/be_BY@latin: Likewise.
26073         * locales/ca_ES: Likewise.
26074         * locales/cs_CZ: Likewise.
26075         * locales/da_DK: Likewise.
26076         * locales/de_BE: Likewise.
26077         * locales/de_CH: Likewise.
26078         * locales/de_LU: Likewise.
26079         * locales/en_AU: Likewise.
26080         * locales/en_BW: Likewise.
26081         * locales/en_CA: Likewise.
26082         * locales/en_DK: Likewise.
26083         * locales/en_GB: Likewise.
26084         * locales/en_IE: Likewise.
26085         * locales/en_NZ: Likewise.
26086         * locales/en_ZA: Likewise.
26087         * locales/en_ZW: Likewise.
26088         * locales/es_AR: Likewise.
26089         * locales/es_BO: Likewise.
26090         * locales/es_CL: Likewise.
26091         * locales/es_CO: Likewise.
26092         * locales/es_DO: Likewise.
26093         * locales/es_EC: Likewise.
26094         * locales/es_ES: Likewise.
26095         * locales/es_HN: Likewise.
26096         * locales/es_MX: Likewise.
26097         * locales/es_PA: Likewise.
26098         * locales/es_PE: Likewise.
26099         * locales/es_PY: Likewise.
26100         * locales/es_SV: Likewise.
26101         * locales/es_US: Likewise.
26102         * locales/es_UY: Likewise.
26103         * locales/es_VE: Likewise.
26104         * locales/et_EE: Likewise.
26105         * locales/fa_IR: Likewise.
26106         * locales/fo_FO: Likewise.
26107         * locales/fr_CA: Likewise.
26108         * locales/fr_CH: Likewise.
26109         * locales/gv_GB: Likewise.
26110         * locales/he_IL: Likewise.
26111         * locales/hr_HR: Likewise.
26112         * locales/id_ID: Likewise.
26113         * locales/is_IS: Likewise.
26114         * locales/it_CH: Likewise.
26115         * locales/iw_IL: Likewise.
26116         * locales/kl_GL: Likewise.
26117         * locales/ko_KR: Likewise.
26118         * locales/kw_GB: Likewise.
26119         * locales/lg_UG: Likewise.
26120         * locales/lt_LT: Likewise.
26121         * locales/lv_LV: Likewise.
26122         * locales/mi_NZ: Likewise.
26123         * locales/nhn_MX: Likewise.
26124         * locales/nl_BE: Likewise.
26125         * locales/pl_PL: Likewise.
26126         * locales/sk_SK: Likewise.
26127         * locales/sl_SI: Likewise.
26128         * locales/sv_FI: Likewise.
26129         * locales/tl_PH: Likewise.
26130         * locales/tr_TR: Likewise.
26131         * locales/vi_VN: Likewise.
26133 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26135         [BZ #17475]
26136         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26137         of tu_IN and bh_IN.
26139 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26141         [BZ #18694]
26142         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26143         bits/wordsize.h.
26144         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26146 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26148         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26149         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26150         (spawn_thread): New function.
26151         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26152         (do_test): ... here.  Use IS_LOADED to test for its
26153         availability.
26155 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26157         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26159 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26161         [BZ #18696]
26162         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26163         si_addr_bnd.
26164         (si_lower): New.
26165         (si_upper): Likewise.
26167 2015-07-16  David S. Miller  <davem@davemloft.net>
26169         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26171 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26173         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26174         buffer.
26175         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26176         fail output information.
26178 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26181         and strstr-ppc64..
26182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26183         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26184         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26185         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26186         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26188 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26190         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26191         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26192         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26193         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26195 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26197         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26198         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26199         rtld_hidden_proto.
26200         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26202 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26204         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26205         the test can fail.
26207         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26209         [BZ #18676]
26210         * elf/tst-nodelete-opened.c: New test case.
26211         * elf/tst-nodelete-opened-lib.c: New test case module.
26212         * elf/Makefile (tests, modules-names): Use them.
26213         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26214         early.
26216 2015-07-15  David S. Miller  <davem@davemloft.net>
26218         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26219         futex-intenal.h
26220         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26221         * sysdeps/sparc/sparc64/Makefile: Likewise.
26222         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26223         Remove space from macro define.
26224         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26226 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26228         [BZ #17475]
26229         * locale/iso-639.def: Update Bhili and Tulu language codes as
26230         per iso639-3.
26232 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26234         * elf/tst-leaks1.c (main): Converted to ...
26235         (do_test): ... this.
26236         (TEST_FUNCTION): New macro.
26237         Include test-skeleton.c.
26238         * localedata/tst-langinfo.c (main): Converted to ...
26239         (do_test): ... this.
26240         (TEST_FUNCTION): New macro.
26241         Include test-skeleton.c.
26242         * math/test-fpucw.c (main): Converted to ...
26243         (do_test): ... this.
26244         (TEST_FUNCTION): New macro.
26245         Include test-skeleton.c.
26246         * math/test-tgmath.c (main): Converted to ...
26247         (do_test): ... this.
26248         (TEST_FUNCTION): New macro.
26249         Include test-skeleton.c.
26250         * math/test-tgmath2.c (main): Converted to ...
26251         (do_test): ... this.
26252         (TEST_FUNCTION): New macro.
26253         Include test-skeleton.c.
26254         * setjmp/tst-setjmp.c (main): Converted to ...
26255         (do_test): ... this.
26256         (TEST_FUNCTION): New macro.
26257         Include test-skeleton.c.
26258         * stdio-common/tst-sscanf.c (main): Converted to ...
26259         (do_test): ... this.
26260         (TEST_FUNCTION): New macro.
26261         Include test-skeleton.c.
26262         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26263         (do_test): ... this.
26264         (TEST_FUNCTION): New macro.
26265         Include test-skeleton.c.
26267         * elf/tst-audit9.c (main): Converted to ...
26268         (do_test): ... this.
26269         (TEST_FUNCTION): New macro.
26270         Include test-skeleton.c.
26272 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26274         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26276 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26278         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26279         New variable.
26281 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26283         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26285 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26287         * sysdeps/generic/dl-fileid.h: New file.
26288         * sysdeps/posix/dl-fileid.h: New file.
26289         * sysdeps/nacl/dl-fileid.h: New file.
26290         * include/link.h: Include <dl-fileid.h>.
26291         (struct link_map): Replace l_dev and l_ino with l_file_id.
26292         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26293         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26294         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26296 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26298         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26300 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26302         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26303         Add iff $CXX is set.
26304         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26305         Likewise.
26306         (tst-nodelete-zmodiff): Likewise.
26307         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26309 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26311         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26313 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26315         * sysdeps/aarch64/fpu/math_private.h
26316         (define math_opt_barrier): Add AArch64 version.
26317         (math_force_eval): Likewise.
26319 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26321         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26323 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26325         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26326         %ld with %jd and cast to intmax_t.
26327         (do_test_length_zero): Likewise.
26329 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26331         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26333 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26335         * sysdeps/tile/libm-test-ulps: Regenerated.
26337         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26338         Comment out the whole function, not just its body.
26340 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26342         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26343         locks.
26345         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26347 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26349         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26350         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26352 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26354         * sysdeps/nptl/futex-internal.h: New file.
26355         * sysdeps/nacl/futex-internal.h: New file.
26356         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26357         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26358         error checking.
26359         (setxid_unmark_thread): Likewise.
26360         (__nptl_setxid): Likewise.
26361         (__wait_lookup_done): Likewise.
26362         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26363         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26364         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26365         * nptl/pthread_once.c (clear_once_control): Likewise.
26366         (__pthread_once_slow): Likewise.
26367         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26368         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26369         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26370         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26371         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26372         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26373         Likewise.
26374         (__pthread_rwlock_rdlock): Likewise.
26375         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26376         Likewise.
26377         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26378         Likewise.
26379         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26380         Likewise.
26381         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26382         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26383         Likewise.
26384         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26385         __ASSUME_PRIVATE_FUTEX check.
26386         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26387         Check that shared futexes are supported.
26388         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26389         wrappers with error checking.
26390         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26391         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26392         * nptl/pthread_barrierattr_setpshared.c
26393         (pthread_barrierattr_setpshared): Check that shared futexes are
26394         supported.
26395         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26396         Likewise.
26397         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26398         Likewise.
26399         * nptl/sem_init.c (futex_private_if_supported): Remove.
26400         (__new_sem_init): Adapt and check that shared futexes are supported.
26401         * nptl/sem_open.c (sem_open): Likewise.
26402         * nptl/sem_post.c (futex_wake): Remove.
26403         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26404         (do_futex_wait): Use futex wrappers with error checking.
26405         * nptl/sem_wait.c: Include lowlevellock.h.
26406         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26407         Use futex_supports_pshared.
26408         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26409         Use futex wrappers with error checking.
26410         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26411         Likewise.
26412         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26413         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26414         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26415         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26416         (futex_wake): Likewise.
26417         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26418         (do_futex_wait): Use futex wrappers with error checking.
26419         (__new_sem_wait_slow): Update EINTR handling.
26420         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26422 2015-07-09  Martin Sebor  <msebor@redhat.com>
26424         [BZ #18435]
26425         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26426         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26427         * nptl/Makefile (test-xfail-tst-once5): Define.
26429 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26431         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26432         * elf/dl-minimal.c: For readability, reorder some definitions and
26433         introduce more page breaks.  Include <stdio.h>.
26434         (__libc_fatal): New function.
26436         * include/unistd.h: Add rtld_hidden_proto for _exit.
26437         * posix/_exit.c: Add rtld_hidden_def.
26438         * sysdeps/mach/hurd/_exit.c: Likewise.
26439         * sysdeps/nacl/_exit.c: Likewise.
26440         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26441         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26443 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26445         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26446         bndmov encoding with zero displacement.
26448 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26449             H.J. Lu  <hongjiu.lu@intel.com>
26451         [BZ #18134]
26452         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26453         * sysdeps/i386/configure: Regenerated.
26454         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26455         (_dl_runtime_profile): Save and restore Intel MPX return bound
26456         registers when calling _dl_call_pltexit.  Add
26457         PRESERVE_BND_REGS_PREFIX before return.
26458         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26459         (LRV_BND1_OFFSET): Likewise.
26460         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26461         lrv_bnd1.
26462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26463         typo in bndmov encoding.
26464         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26465         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26466         branch instructions to preserve bounds.
26468 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26471         [GLIBC_2.22]: Add fmemopen.
26473 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26475         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26476         returns an error, also try to use host port from __mach_host_self for
26477         the __vm_wire call.
26478         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26480 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26482         [BZ #18400]
26483         [BZ #18648]
26484         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26485         Fix pr_uid and pr_gid members.
26486         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26487         definition to elf_greg_t.
26489 2015-07-08  Roland McGrath  <roland@hack.frob.com>
26491         [BZ #18383]
26492         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
26493         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
26494         * sysdeps/arm/configure: Regenerated.
26495         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
26496         (test-xfail-tst-tlsalign-static): Variable removed.
26498         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
26499         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
26500         rather than explicit 'ln -s'.
26502         * resolv/rpc/netdb.h: New file.
26503         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
26505 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26507         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
26508         length buffers.
26509         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26510         test-skeleton.c.
26512         [BZ #6544]
26513         [BZ #11216]
26514         [BZ #12836]
26515         [BZ #13151]
26516         [BZ #13152]
26517         [BZ #14292]
26518         * include/stdio.h (fmemopen): Remove hidden prototype.
26519         (__fmemopen): Add new hidden prototype.
26520         * libio/Makefile: Add oldfmemopen object.
26521         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
26522         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
26523         compliance.
26524         * libio/oldfmemopen.c: New file: old fmemopen implementation for
26525         symbol compatibility.
26526         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
26527         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
26528         fmemopen.
26529         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
26530         on append and read mode.
26531         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
26532         fmemopen.
26533         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
26534         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
26535         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
26536         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
26537         Likewise.
26538         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
26539         [GLIBC_2.22]: Likewise.
26540         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
26541         Likewise.
26542         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
26543         Likewise.
26544         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
26545         [GLIBC_2.22]: Likewise.
26546         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
26547         [GLIBC_2.22]: Likewise.
26548         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
26549         [GLIBC_2.22]: Likewise.
26550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
26551         [GLIBC_2.22]: Likewise.
26552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
26553         [GLIBC_2.22]: Likewise.
26554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
26555         [GLIBC_2.22]: Likewise.
26556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
26557         [GLIBC_2.22]: Likewise.
26558         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
26559         Likewise.
26560         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
26561         Likewise.
26562         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
26563         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
26564         [GLIBC_2.22]: Likewise.
26565         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
26566         [GLIBC_2.22]: Likewise.
26567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
26568         [GLIBC_2.22]: Likewise.
26569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
26570         [GLIBC_2.22]: Likewise.
26571         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
26572         Likewise.
26573         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
26574         Likewise.
26575         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
26576         Likewise.
26577         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
26578         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
26580 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26582         [BZ #18643]
26583         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
26584         IPV6_PATHMTU, and IPV6_DONTFRAG.
26586 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
26588         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
26589         and _IO_UNBUFFERED.
26590         * libio/oldfileops.c: Likewise.
26591         * libio/wfileops.c: Likewise.
26593 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26595         * nscd/selinux.c: Delete selinux/flask.h include.
26597 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26599         [BZ #18641]
26600         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
26601         (putpwent): Likewise.
26602         (getpwnam): Likewise.
26603         (getpwent_r): Likewise.
26604         (getpwuid_r): Likewise.
26605         (getpwnam_r): Likewise.
26606         (fgetpwent_r): Likewise.
26608 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26610         [BZ #18557]
26611         * inet/rcmd.c (__validuser2_sa): Check user first to
26612         short-circuit host check.
26614 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
26615             Mikhail Ilin  <m.ilin@samsung.com>
26617         [BZ #17833]
26618         * elf/Makefile (tests): Add tst-nodelete.
26619         (modules-names): Add tst-nodelete-uniquemod.
26620         (tst-nodelete-uniquemod.so-no-z-defs): New.
26621         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26622         (tst-nodelete-zmod.so-no-z-defs): Likewise.
26623         ($(objpfx)tst-nodelete): Likewise.
26624         ($(objpfx)tst-nodelete.out): Likewise.
26625         (LDFLAGS-tst-nodelete): Likewise.
26626         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
26627         * elf/dl-close.c (_dl_close_worker): Add a parameter to
26628         implement forced object deletion.
26629         (_dl_close): Pass false to _dl_close_worker.
26630         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
26631         * elf/tst-nodelete.cc: New file.
26632         * elf/tst-nodeletelib.cc: Likewise.
26633         * elf/tst-znodeletelib.cc: Likewise.
26634         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
26636 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26638         [BZ #18508]
26639         * stdlib/Makefile ($(objpfx)tst-makecontext3):
26640         Depend on $(libdl).
26641         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
26642         is not called infinitely times.
26643         (backtrace_helper): New function.
26644         (trace_arg): New struct.
26645         (st1): Enlarge stack size.
26646         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26647         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
26648         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26649         Likewise.
26651 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26653         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26655 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26657         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26658         Include sys/types.h instead of bits/types.h.
26659         Remove inclusion of bits/wordsize.h.
26661 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26663         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26664         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26665         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26666         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26667         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26668         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26670 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26672         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26673         link-defines.sym.
26674         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26675         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26676         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26677         and LR_SIZE.
26678         * sysdeps/i386/link-defines.sym: New file.
26680 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26682         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26683         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26684         ($(objpfx)tst-audit3): New rule.
26685         ($(objpfx)tst-audit3.out): Likewise.
26686         * sysdeps/i386/tst-audit3.c: New file.
26687         * sysdeps/i386/tst-audit3.h: Likewise.
26688         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26689         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26691 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26693         [BZ #18633]
26694         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26695         pointer in C code.
26696         (__strcat_c): Likewise.
26697         (__strcat_g): Likewise.
26699 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26701         [BZ #18592]
26702         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26704 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26706         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26707         New function.  (__ieee754_sqrtf): New function.
26708         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26709         New function.
26710         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26711         New function.
26713 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26715         * sysdeps/ieee754/support.c: Remove unused file.
26717 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26719         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26720         registers instead of d ones so the layout is kernel abi compatible.
26721         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26722         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26723         Likewise.
26725 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26727         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26729 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26731         [BZ #18619]
26732         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26733         and return argument in case of subnormal argument.
26735 2015-07-01  Martin Sebor  <msebor@redhat.com>
26737         [BZ #18435]
26738         * nptl/Makefile: Add tst-once5.cc.
26739         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26740         Remove macro redefinitions.
26741         * nptl/tst-once5.cc: New test.
26743 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26745         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26747         * sysdeps/arm/libm-test-ulps: Regenerated.
26749         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26750         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26752 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26754         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26755         lll_lock_wait_private and lll_futex_wake probes.
26757         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26758         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26759         Likewise.
26760         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26761         atomic_spin_nop.
26762         * sysdeps/x86_64/bits/atomic.h: Likewise.
26763         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26764         to atomic_spin_nop and move ...
26765         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26766         ... here and ...
26767         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26768         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26769         atomic_spin_nop instead of BUSY_WAIT_NOP.
26770         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26771         Likewise.
26772         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26773         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26774         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26775         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26776         instead of atomic_delay.
26778 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26780         [BZ #18613]
26781         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26782         X_ADJ not X when adjusting exponent.
26783         (__ieee754_gamma_r): Do intermediate computations in
26784         round-to-nearest then adjust overflowing and underflowing results
26785         as needed.
26786         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26787         of X_ADJ not X when adjusting exponent.
26788         (__ieee754_gammaf_r): Do intermediate computations in
26789         round-to-nearest then adjust overflowing and underflowing results
26790         as needed.
26791         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26792         log of X_ADJ not X when adjusting exponent.
26793         (__ieee754_gammal_r): Do intermediate computations in
26794         round-to-nearest then adjust overflowing and underflowing results
26795         as needed.  Use 1.0L not 1.0f as numerator of division.
26796         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26797         log of X_ADJ not X when adjusting exponent.
26798         (__ieee754_gammal_r): Do intermediate computations in
26799         round-to-nearest then adjust overflowing and underflowing results
26800         as needed.  Use 1.0L not 1.0f as numerator of division.
26801         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26802         of X_ADJ not X when adjusting exponent.
26803         (__ieee754_gammal_r): Do intermediate computations in
26804         round-to-nearest then adjust overflowing and underflowing results
26805         as needed.  Use 1.0L not 1.0f as numerator of division.
26806         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26807         to auto-libm-test-in.
26808         (tgamma_test): Use ALL_RM_TEST.
26809         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26810         tests of tgamma with spurious-overflow.
26811         * math/auto-libm-test-out: Regenerated.
26812         * math/gen-libm-have-vector-test.sh: Do not check for START.
26813         * sysdeps/i386/fpu/libm-test-ulps: Update.
26814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26816         [BZ #18612]
26817         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26818         arguments, just return 0.5 times the argument, with underflow
26819         forced as needed.
26820         * math/auto-libm-test-in: Add more tests of j1.
26821         * math/auto-libm-test-out: Regenerated.
26823         [BZ #16559]
26824         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26825         (__ieee754_j1): Force underflow exception for small results.
26826         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26827         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26828         (__ieee754_j1f): Force underflow exception for small results.
26829         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26830         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26831         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26832         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26833         (__ieee754_j1l): Force underflow exception for small results.
26834         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26835         * math/auto-libm-test-in: Add more tests of j1 and jn.
26836         * math/auto-libm-test-out: Regenerated.
26838         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26840         (PF_MPLS): Likewise.
26841         (AF_IB): Likewise.
26842         (AF_MPLS): Likewise.
26843         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26844         value and macro.
26845         (MS_RMT_MASK): Include MS_LAZYTIME.
26847 2015-06-26  Mel Gorman  <mgorman@suse.de>
26849         [BZ #18502]
26850         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26851         already minimal.
26853 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26855         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26856         (DT_MIPS_NUM): Update.
26857         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26858         DT_MIPS_RLD_MAP_REL.
26860 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26862         [BZ #16559]
26863         [BZ #18602]
26864         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26865         round-to-nearest internally then recompute results that
26866         underflowed to zero in the original rounding mode.
26867         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26868         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26869         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26871         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26872         * sysdeps/i386/fpu/libm-test-ulps: Update.
26873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26875 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26877         * NEWS: Fixed description of link with vector math library.
26879 2015-06-25  Andreas Schwab  <schwab@suse.de>
26881         [BZ #18549]
26882         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26883         * libio/test-fmemopen.c (do_test): Add test for it.
26885 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26887         [BZ #17841]
26888         * Makeconfig (no-pie-ldflag): New.
26889         (+link): Set to $(+link-pie) if default to PIE.
26890         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26891         * config.make.in (build-pie-default): New.
26892         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26893         is default.  AC_SUBST.
26894         * configure: Regenerated.
26895         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26897 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26899         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26900         to 'unsigned int'.
26902         * resolv/gai_misc.h (struct waitlist): Change type of field
26903         counterp to 'volatile unsigned int *'.
26904         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26905         FUTEXADDR and OLDVAL.
26906         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26907         Give local variable TOTAL type 'volatile unsigned int'.
26908         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26909         * resolv/gai_suspend.c (gai_suspend):
26910         Give local variable CNTR type 'unsigned int'.
26912         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26913         counterp to 'volatile unsigned int *'.
26914         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26915         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26916         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26917         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26918         Give local variable TOTAL type 'volatile unsigned int'.
26919         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26921 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26923         [BZ #18383]
26924         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26925         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26926         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26927         comment for i386/x86-64.
26928         (test-xfail-tst-tlsalign-extern-static): Removed.
26930 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26932         * math/test-double.h: New file.
26933         * math/test-float.h: Likewise.
26934         * math/test-ldouble.h: Likewise.
26935         * math/test-math-inline.h: Likewise.
26936         * math/test-math-no-inline.h: Likewise.
26937         * math/test-math-scalar.h: Likewise.
26938         * math/test-math-vector.h: Likewise.
26939         * math/test-vec-loop.h: Remove file.  Contents moved into
26940         test-math-vector.h.
26941         * math/libm-test.inc (MATHCONST): Do not document macro.
26942         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26943         and test-math-scalar.h.
26944         (FUNC): Remove macro.
26945         (FUNC_TEST): Likewise.
26946         (FLOAT): Likewise.
26947         (MATHCONST): Likewise.
26948         (PRINTF_EXPR): Likewise.
26949         (PRINTF_XEXPR): Likewise.
26950         (PRINTF_NEXPR): Likewise.
26951         (TEST_DOUBLE): Likewise.
26952         (TEST_MATHVEC): Likewise.
26953         (__NO_MATH_INLINES): Likewise.
26954         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26955         and test-math-scalar.h.
26956         (FUNC): Remove macro.
26957         (FUNC_TEST): Likewise.
26958         (FLOAT): Likewise.
26959         (MATHCONST): Likewise.
26960         (PRINTF_EXPR): Likewise.
26961         (PRINTF_XEXPR): Likewise.
26962         (PRINTF_NEXPR): Likewise.
26963         (TEST_FLOAT): Likewise.
26964         (TEST_MATHVEC): Likewise.
26965         (__NO_MATH_INLINES): Likewise.
26966         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26967         and test-math-scalar.h.
26968         (FUNC): Remove macro.
26969         (FUNC_TEST): Likewise.
26970         (FLOAT): Likewise.
26971         (MATHCONST): Likewise.
26972         (PRINTF_EXPR): Likewise.
26973         (PRINTF_XEXPR): Likewise.
26974         (PRINTF_NEXPR): Likewise.
26975         (TEST_DOUBLE): Likewise.
26976         (TEST_MATHVEC): Likewise.
26977         (TEST_INLINE): Likewise.
26978         (__NO_MATH_INLINES): Likewise.
26979         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26980         test-math-scalar.h.
26981         (FUNC): Remove macro.
26982         (FUNC_TEST): Likewise.
26983         (FLOAT): Likewise.
26984         (MATHCONST): Likewise.
26985         (PRINTF_EXPR): Likewise.
26986         (PRINTF_XEXPR): Likewise.
26987         (PRINTF_NEXPR): Likewise.
26988         (TEST_FLOAT): Likewise.
26989         (TEST_MATHVEC): Likewise.
26990         (TEST_INLINE): Likewise.
26991         (__NO_MATH_INLINES): Likewise.
26992         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26993         and test-math-scalar.h.
26994         (FUNC): Remove macro.
26995         (FUNC_TEST): Likewise.
26996         (FLOAT): Likewise.
26997         (MATHCONST): Likewise.
26998         (PRINTF_EXPR): Likewise.
26999         (PRINTF_XEXPR): Likewise.
27000         (PRINTF_NEXPR): Likewise.
27001         (TEST_LDOUBLE): Likewise.
27002         (TEST_MATHVEC): Likewise.
27003         (TEST_INLINE): Likewise.
27004         (__NO_MATH_INLINES): Likewise.
27005         * math/test-ldouble.c: Include test-ldouble.h,
27006         test-math-no-inline.h and test-math-scalar.h.
27007         (FUNC): Remove macro.
27008         (FUNC_TEST): Likewise.
27009         (FLOAT): Likewise.
27010         (MATHCONST): Likewise.
27011         (PRINTF_EXPR): Likewise.
27012         (PRINTF_XEXPR): Likewise.
27013         (PRINTF_NEXPR): Likewise.
27014         (TEST_LDOUBLE): Likewise.
27015         (TEST_MATHVEC): Likewise.
27016         (__NO_MATH_INLINES): Likewise.
27017         * math/test-double-vlen2.h: Include test-double.h,
27018         test-math-no-inline.h and test-math-vector.h.
27019         (FLOAT): Remove macro.
27020         (FUNC): Likewise.
27021         (MATHCONST): Likewise.
27022         (PRINTF_EXPR): Likewise.
27023         (PRINTF_XEXPR): Likewise.
27024         (PRINTF_NEXPR): Likewise.
27025         (TEST_DOUBLE): Likewise.
27026         (TEST_MATHVEC): Likewise.
27027         (__NO_MATH_INLINES): Likewise.
27028         (CNCT): Likewise.
27029         (CONCAT): Likewise.
27030         (WRAPPER_NAME): Likewise.
27031         (WRAPPER_DECL): Likewise.
27032         (WRAPPER_DECL_ff): Likewise.
27033         (WRAPPER_DECL_fFF): Likewise.
27034         (VECTOR_WRAPPER): Likewise.
27035         (VECTOR_WRAPPER_ff): Likewise.
27036         (VECTOR_WRAPPER_fFF): Likewise.
27037         (VEC_LEN): New macro.
27038         * math/test-double-vlen4.h: Include test-double.h,
27039         test-math-no-inline.h and test-math-vector.h.
27040         (FLOAT): Remove macro.
27041         (FUNC): Likewise.
27042         (MATHCONST): Likewise.
27043         (PRINTF_EXPR): Likewise.
27044         (PRINTF_XEXPR): Likewise.
27045         (PRINTF_NEXPR): Likewise.
27046         (TEST_DOUBLE): Likewise.
27047         (TEST_MATHVEC): Likewise.
27048         (__NO_MATH_INLINES): Likewise.
27049         (CNCT): Likewise.
27050         (CONCAT): Likewise.
27051         (WRAPPER_NAME): Likewise.
27052         (WRAPPER_DECL): Likewise.
27053         (WRAPPER_DECL_ff): Likewise.
27054         (WRAPPER_DECL_fFF): Likewise.
27055         (VECTOR_WRAPPER): Likewise.
27056         (VECTOR_WRAPPER_ff): Likewise.
27057         (VECTOR_WRAPPER_fFF): Likewise.
27058         (VEC_LEN): New macro.
27059         * math/test-double-vlen8.h: Include test-double.h,
27060         test-math-no-inline.h and test-math-vector.h.
27061         (FLOAT): Remove macro.
27062         (FUNC): Likewise.
27063         (MATHCONST): Likewise.
27064         (PRINTF_EXPR): Likewise.
27065         (PRINTF_XEXPR): Likewise.
27066         (PRINTF_NEXPR): Likewise.
27067         (TEST_DOUBLE): Likewise.
27068         (TEST_MATHVEC): Likewise.
27069         (__NO_MATH_INLINES): Likewise.
27070         (CNCT): Likewise.
27071         (CONCAT): Likewise.
27072         (WRAPPER_NAME): Likewise.
27073         (WRAPPER_DECL): Likewise.
27074         (WRAPPER_DECL_ff): Likewise.
27075         (WRAPPER_DECL_fFF): Likewise.
27076         (VECTOR_WRAPPER): Likewise.
27077         (VECTOR_WRAPPER_ff): Likewise.
27078         (VECTOR_WRAPPER_fFF): Likewise.
27079         (VEC_LEN): New macro.
27080         * math/test-float-vlen4.h: Include test-float.h,
27081         test-math-no-inline.h and test-math-vector.h.
27082         (FLOAT): Remove macro.
27083         (FUNC): Likewise.
27084         (MATHCONST): Likewise.
27085         (PRINTF_EXPR): Likewise.
27086         (PRINTF_XEXPR): Likewise.
27087         (PRINTF_NEXPR): Likewise.
27088         (TEST_FLOAT): Likewise.
27089         (TEST_MATHVEC): Likewise.
27090         (__NO_MATH_INLINES): Likewise.
27091         (CNCT): Likewise.
27092         (CONCAT): Likewise.
27093         (WRAPPER_NAME): Likewise.
27094         (WRAPPER_DECL): Likewise.
27095         (WRAPPER_DECL_ff): Likewise.
27096         (WRAPPER_DECL_fFF): Likewise.
27097         (VECTOR_WRAPPER): Likewise.
27098         (VECTOR_WRAPPER_ff): Likewise.
27099         (VECTOR_WRAPPER_fFF): Likewise.
27100         (VEC_LEN): New macro.
27101         * math/test-float-vlen8.h: Include test-float.h,
27102         test-math-no-inline.h and test-math-vector.h.
27103         (FLOAT): Remove macro.
27104         (FUNC): Likewise.
27105         (MATHCONST): Likewise.
27106         (PRINTF_EXPR): Likewise.
27107         (PRINTF_XEXPR): Likewise.
27108         (PRINTF_NEXPR): Likewise.
27109         (TEST_FLOAT): Likewise.
27110         (TEST_MATHVEC): Likewise.
27111         (__NO_MATH_INLINES): Likewise.
27112         (CNCT): Likewise.
27113         (CONCAT): Likewise.
27114         (WRAPPER_NAME): Likewise.
27115         (WRAPPER_DECL): Likewise.
27116         (WRAPPER_DECL_ff): Likewise.
27117         (WRAPPER_DECL_fFF): Likewise.
27118         (VECTOR_WRAPPER): Likewise.
27119         (VECTOR_WRAPPER_ff): Likewise.
27120         (VECTOR_WRAPPER_fFF): Likewise.
27121         (VEC_LEN): New macro.
27122         * math/test-float-vlen16.h: Include test-float.h,
27123         test-math-no-inline.h and test-math-vector.h.
27124         (FLOAT): Remove macro.
27125         (FUNC): Likewise.
27126         (MATHCONST): Likewise.
27127         (PRINTF_EXPR): Likewise.
27128         (PRINTF_XEXPR): Likewise.
27129         (PRINTF_NEXPR): Likewise.
27130         (TEST_FLOAT): Likewise.
27131         (TEST_MATHVEC): Likewise.
27132         (__NO_MATH_INLINES): Likewise.
27133         (CNCT): Likewise.
27134         (CONCAT): Likewise.
27135         (WRAPPER_NAME): Likewise.
27136         (WRAPPER_DECL): Likewise.
27137         (WRAPPER_DECL_ff): Likewise.
27138         (WRAPPER_DECL_fFF): Likewise.
27139         (VECTOR_WRAPPER): Likewise.
27140         (VECTOR_WRAPPER_ff): Likewise.
27141         (VECTOR_WRAPPER_fFF): Likewise.
27142         (VEC_LEN): New macro.
27143         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27144         test-vec-loop.h.
27145         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27147         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27148         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27149         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27151         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27153 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27155         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27156         (__getlogin_r): ... this.
27158 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27160         [BZ #18594]
27161         * math/s_ccosh.c (__ccosh): Compare with least normal value
27162         instead of comparing class with FP_SUBNORMAL.
27163         * math/s_ccoshf.c (__ccoshf): Likewise.
27164         * math/s_ccoshl.c (__ccoshl): Likewise.
27165         * math/s_cexp.c (__cexp): Likewise.
27166         * math/s_cexpf.c (__cexpf): Likewise.
27167         * math/s_cexpl.c (__cexpl): Likewise.
27168         * math/s_csin.c (__csin): Likewise.
27169         * math/s_csinf.c (__csinf): Likewise.
27170         * math/s_csinh.c (__csinh): Likewise.
27171         * math/s_csinhf.c (__csinhf): Likewise.
27172         * math/s_csinhl.c (__csinhl): Likewise.
27173         * math/s_csinl.c (__csinl): Likewise.
27174         * math/s_ctan.c (__ctan): Likewise.
27175         * math/s_ctanf.c (__ctanf): Likewise.
27176         * math/s_ctanh.c (__ctanh): Likewise.
27177         * math/s_ctanhf.c (__ctanhf): Likewise.
27178         * math/s_ctanhl.c (__ctanhl): Likewise.
27179         * math/s_ctanl.c (__ctanl): Likewise.
27180         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27181         csin, csinh, ctan and ctanh.
27182         * math/auto-libm-test-out: Regenerated.
27183         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27184         * sysdeps/i386/fpu/libm-test-ulps: Update.
27185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27187 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27189         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27190         return value is wrong, print the expected value too.
27192 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27194         [BZ #18585]
27195         * elf/readlib.c (is_gdb_python_file): New.
27196         (process_file): Don't issue errors on filenames with -gdb.py
27197         suffix.
27199 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27201         * math/auto-libm-test-in: Add more tests of csin and csinh.
27202         * math/auto-libm-test-out: Regenerated.
27203         * math/libm-test.inc (csin_test_data): Remove tests moved to
27204         auto-libm-test-in.
27205         (csinh_test_data): Likewise.
27207         [BZ #18593]
27208         * math/s_csin.c (__csin): Negate before rather than after possibly
27209         overflowing multiplication.
27210         * math/s_csinf.c (__csinf): Likewise.
27211         * math/s_csinh.c (__csinh): Likewise.
27212         * math/s_csinhf.c (__csinhf): Likewise.
27213         * math/s_csinhl.c (__csinhl): Likewise.
27214         * math/s_csinl.c (__csinl): Likewise.
27215         * math/auto-libm-test-in: Add some tests of csin and csinh.
27216         * math/auto-libm-test-out: Regenerated.
27217         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27218         (csinh_test_data): Likewise.
27219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27221         [BZ #18586]
27222         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27223         underflow exception for small results.
27225 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27228         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27229         variable and included header.
27230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27231         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27233         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27234         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27235         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27236         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27238         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27239         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27240         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27241         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27242         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27243         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27244         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27245         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27247 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27249         [BZ #16526]
27250         [BZ #16538]
27251         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27252         (__sin): Force underflow exception for arguments with small
27253         absolute value.
27254         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27255         (__kernel_sinf): Force underflow exception for arguments with
27256         small absolute value.
27257         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27258         (__kernel_sincosl): Force underflow exception for arguments with
27259         small absolute value.
27260         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27261         (__kernel_sinl): Force underflow exception for arguments with
27262         small absolute value.
27263         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27264         (__kernel_sincosl): Force underflow exception for arguments with
27265         small absolute value.
27266         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27267         (__kernel_sinl): Force underflow exception for arguments with
27268         small absolute value.
27269         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27270         (__kernel_sinl): Force underflow exception for arguments with
27271         small absolute value.
27272         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27273         (__kernel_sinf): Force underflow exception for arguments with
27274         small absolute value.
27275         * math/auto-libm-test-in: Add more tests of sin and sincos.
27276         * math/auto-libm-test-out: Regenerated.
27278         [BZ #18245]
27279         [BZ #18583]
27280         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27281         (__kernel_standard_l): Use feholdexcept and fesetenv around
27282         conversion to double instead of special-casing overflow and
27283         underflow.
27284         * math/libm-test.inc (fmod_test_data): Add more tests.
27285         (remainder_test_data): Likewise.
27286         (sqrt_test_data): Likewise.
27288 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27290         [BZ #17403]
27291         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27292         atomic_read_barrier, atomic_write_barrier): Define.
27293         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27294         atomic_read_barrier, atomic_write_barrier): Define.
27296 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27298         * math/Makefile [$(PERL) != no]
27299         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27300         dependency on libm-test.stmp below the inclusion of Rules.
27302 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27304         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27305         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27306         and included header.
27307         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27308         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27309         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27310         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27311         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27315         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27316         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27317         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27318         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27319         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27320         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27321         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27322         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27323         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27324         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27325         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27327 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27329         [BZ #18371]
27330         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27331         intermediate but not final result might underflow.
27332         * math/s_csqrtf.c (__csqrtf): Likewise.
27333         * math/s_csqrtl.c (__csqrtl): Likewise.
27334         * math/auto-libm-test-in: Add more tests of csqrt.
27335         * math/auto-libm-test-out: Regenerated.
27336         * sysdeps/i386/fpu/libm-test-ulps: Update.
27338         [BZ #18219]
27339         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27340         threshold on absolute value of exponent for which scaling is used.
27341         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27342         * math/auto-libm-test-in: Add more tests of exp2.
27343         * math/auto-libm-test-out: Regenerated.
27345 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27347         [BZ #17977]
27348         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27349         when initializing interface list, based on the bug analysis
27350         and the patch proposed by Eric Newton.
27351         * resolv/tst-res_hconf_reorder.c: New test.
27352         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27353         tst-res_hconf_reorder.
27354         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27355         and $(shared-thread-library).
27356         (tst-res_hconf_reorder-ENV): New variable.
27358         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27359         in comment.
27361 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27363         [BZ #16353]
27364         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27365         (__expm1): Force underflow exception for arguments with small
27366         absolute value.
27367         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27368         (__expm1f): Force underflow exception for arguments with small
27369         absolute value.
27370         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27371         (__expm1): Force underflow exception for arguments with small
27372         absolute value.
27373         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27374         (__expm1f): Force underflow exception for arguments with small
27375         absolute value.
27376         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27377         Check for small arguments before calling __expm1.
27378         * math/auto-libm-test-in: Do not mark underflow exceptions as
27379         possibly missing for bug 16353.
27380         * math/auto-libm-test-out: Regenerated.
27382 2015-06-22  Andreas Schwab  <schwab@suse.de>
27384         [BZ #18513]
27385         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27386         PTR queries.
27388 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27390         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27392         * string/strcoll_l.c: Remove unused struct element idxnow.
27394 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27396         [BZ #18569]
27397         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27398         underflow and return argument in case of subnormal argument.
27399         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27400         Likewise.
27401         * math/auto-libm-test-in: Add more tests of expm1.
27402         * math/auto-libm-test-out: Regenerated.
27404         [BZ #16361]
27405         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27406         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27407         tiny results.
27408         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27409         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27410         tiny results.
27411         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27412         mark underflow exceptions as possibly missing for bug 16361.
27413         * math/auto-libm-test-out: Regenerated.
27415 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27417         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27418         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27419         Remove variable.
27420         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27421         (test-xfail-XOPEN2K8/utmpx.h/conform).
27423         * conform/conformtest.pl ($xerrors): New variable.
27424         (note_error): New function.
27425         (compiletest): New argument $xfail.  Use not_error.
27426         (runtest): Likewise.
27427         (top level): Handle xfail- lines.  Update calls to compiletest and
27428         runtest.  Handle xfail- and optional- in headers listed with
27429         allow-header.
27430         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27431         (O_EXEC): Likewise.
27432         (O_SEARCH): Likewise.
27433         * conform/data/stropts.h-data (ioctl): Likewise.
27434         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27435         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27436         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27437         (msghdr.msg_controllen): Likewise.
27438         (cmsghdr.cmsg_len): Likewise.
27439         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27440         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27441         variable.
27442         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27443         (test-xfail-XPG4/stropts.h/conform): Likewise.
27444         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27445         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27446         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27447         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27448         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27449         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27450         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27451         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27452         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27453         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27454         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27455         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27456         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27457         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27458         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27459         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27460         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27461         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27462         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27464 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27466         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27467         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27468         definitions for proper unfolding of __MATHDECL_VEC.
27470 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27472         * benchtests/bench-strcoll.c:
27473         Include string.h.
27474         (main): Remove unused variable res.
27476 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27478         * timezone/Makefile (%/UTC %/Universal):
27479         Generate test-result files for UTC and Universal.
27481 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27483         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27485 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27487         [BZ #16350]
27488         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
27489         for arguments with small absolute value.
27490         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
27491         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
27492         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
27493         (__asinh): Force underflow exception for arguments with small
27494         absolute value.
27495         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
27496         (__asinhf): Force underflow exception for arguments with small
27497         absolute value.
27498         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
27499         (__asinhl): Force underflow exception for arguments with small
27500         absolute value.
27501         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
27502         (__asinhl): Force underflow exception for arguments with small
27503         absolute value.
27504         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
27505         (__asinhl): Force underflow exception for arguments with small
27506         absolute value.
27507         * math/auto-libm-test-in: Do not mark underflow exceptions as
27508         possibly missing for bug 16350.
27509         * math/auto-libm-test-out: Regenerated.
27511         * include/bits/ipc.h: Remove file.
27512         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
27513         variable.
27514         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27515         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27516         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27517         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27518         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27519         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27520         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27521         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27522         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27524         * math/auto-libm-test-in: Remove spurious underflow allowance for
27525         tests of cexp.
27526         * math/auto-libm-test-out: Regenerated.
27528         [BZ #18558]
27529         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
27530         unconditional definition.
27531         (MCAST_BLOCK_SOURCE): Likewise.
27532         (MCAST_UNBLOCK_SOURCE): Likewise.
27533         (MCAST_LEAVE_GROUP): Likewise.
27534         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27535         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27536         (MCAST_MSFILTER): Likewise.
27537         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
27538         Remove variable.
27539         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27540         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27541         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27542         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27543         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27545 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
27547         * NEWS: Mention addition of x86_64 vector sincosf.
27548         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
27549         * math/test-float-vlen4.h: Likewise.
27550         * math/test-float-vlen8.h: Likewise.
27551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27552         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
27553         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27554         * sysdeps/x86_64/fpu/Versions: New versions added.
27555         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27556         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27557         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27558         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
27559         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
27560         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
27561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
27562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
27563         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
27564         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
27565         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
27566         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
27567         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
27568         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
27569         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
27570         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
27571         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
27572         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27573         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27574         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27577         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27578         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27580         * NEWS: Mention addition of x86_64 vector sincos.
27581         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
27582         * math/math.h (__MATHDECL_VEC): New macro.
27583         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
27584         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
27585         declaration under condition.
27586         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
27587         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
27588         TEST_VEC_LOOP change.
27589         * math/test-double-vlen4.h: Likewise.
27590         * math/test-double-vlen8.h: Likewise.
27591         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
27592         * math/test-float-vlen4.h: Likewise.
27593         * math/test-float-vlen8.h: Likewise.
27594         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27595         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
27596         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27597         * sysdeps/x86_64/fpu/Versions: New versions added.
27598         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27599         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27600         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
27602         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
27603         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
27604         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
27605         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
27606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
27607         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
27608         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
27609         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
27610         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
27611         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
27612         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
27613         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
27614         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
27615         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27616         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27617         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27618         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27619         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27620         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27621         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27623         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27624         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27625         redirections for powf.
27626         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27627         * sysdeps/x86_64/fpu/Versions: New versions added.
27628         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27629         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27630         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27631         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
27632         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
27633         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
27634         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
27635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
27636         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
27637         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
27638         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
27639         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
27640         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
27641         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
27642         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
27643         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
27644         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
27645         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27646         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27647         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27650         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27651         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27652         * math/test-float-vlen16.h: Fixed 2 argument macro.
27653         * math/test-float-vlen4.h: Likewise.
27654         * math/test-float-vlen8.h: Likewise.
27655         * NEWS: Mention addition of x86_64 vector powf.
27657 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27659         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27660         and redefine.
27661         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27662         and redefine.
27663         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27664         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27665         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27667         [BZ #18553]
27668         * resource/getpriority.c (getpriority): Rename to __getpriority
27669         and define as weak alias of __getpriority.
27670         * resource/setpriority.c (setpriority): Rename to __setpriority
27671         and define as weak alias of __setpriority.
27672         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27673         __getpriority and define as weak alias of __getpriority.
27674         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27675         __setpriority and define as weak alias of __setpriority.
27676         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27677         strong name.
27678         (setpriority): Use __setpriority as strong name.
27679         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27680         __getpriority and define as weak alias of __getpriority.
27681         * include/sys/resource.h (__getpriority): Declare.  Use
27682         libc_hidden_proto.
27683         (__setpriority): Likewise.
27684         (getpriority): Don't use libc_hidden_proto.
27685         (setpriority): Likewise.
27686         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27687         getpriority.  Call __setpriority instead of setpriority.
27688         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27689         Remove variable.
27691         [BZ #18547]
27692         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27693         as weak alias of __getttynam.  Use prototype function definition.
27694         Call __setttyent, __getttyent and __endttyent instead of
27695         setttyent, getttyent and endttyent.
27696         (getttyent): Rename to __getttyent and define as weak alias of
27697         __getttyent.  Call __setttyent instead of setttyent.  Call
27698         __fgets_unlocked instead of fgets_unlocked.
27699         (setttyent): Rename to __setttyent and define as weak alias of
27700         __setttyent.
27701         (endttyent): Rename to __endttyent and define as weak alias of
27702         __endttyent.
27703         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27704         (__setttyent): Likewise.
27705         (__endttyent): Likewise.
27706         (getttyent): Don't use libc_hidden_proto.
27707         (setttyent): Likewise.
27708         (endttyent): Likewise.
27709         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27710         __endttyent instead of setttyent, getttyent and endttyent.
27711         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27712         Remove variable.
27714         [BZ #18546]
27715         * socket/recv.c (__recv): Use libc_hidden_def.
27716         * socket/socket.c (__socket): Likewise.
27717         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27718         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27719         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27720         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27721         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27722         libc_hidden_def.
27723         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27724         libc_hidden_weak.
27725         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27726         Use libc_hidden_proto.
27727         (__recv): Likewise.
27728         * socket/Versions (libc): Export __recv and __socket at version
27729         GLIBC_PRIVATE.
27730         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27731         instead of recv.
27732         (init_mq_netlink): Call __socket instead of socket.
27733         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27734         Remove variable.
27736         [BZ #18545]
27737         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27738         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27739         hidden_weak.
27740         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27741         define as alias of __mq_timedsend.  Use hidden_weak.
27742         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27743         __mq_timedsend as strong name.
27744         (mq_timedreceive): Use __mq_timedreceive as strong name.
27745         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27746         (__mq_timedreceive): Likewise.
27747         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27748         __mq_timedreceive instead of mq_timedreceive.
27749         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27750         instead of mq_timedsend.
27751         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27752         Remove variable.
27754         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27755         hidden_def and hidden_weak instead of libc_hidden_def and
27756         libc_hidden_weak.
27757         (top level): Refer to hidden_def in comment.
27758         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27759         macro.  Use it instead of libc_hidden_def.
27760         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27761         specify __GI_* name explicitly.
27762         (mq_timedreceive): Likewise.
27763         (mq_setattr): Likewise.
27765         [BZ #18544]
27766         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27767         __pthread_barrier_init and define as weak alias of
27768         __pthread_barrier_init.
27769         * sysdeps/sparc/nptl/pthread_barrier_init.c
27770         (pthread_barrier_init): Likewise.
27771         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27772         __pthread_barrier_wait and define as weak alias of
27773         __pthread_barrier_wait.
27774         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27775         (pthread_barrier_wait): Likewise.
27776         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27777         (pthread_barrier_wait): Likewise.
27778         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27779         (pthread_barrier_wait): Likewise.
27780         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27781         (pthread_barrier_wait): Likewise.
27782         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27783         __pthread_barrier_wait at version GLIBC_PRIVATE.
27784         * include/pthread.h (__pthread_barrier_init): Declare.
27785         (__pthread_barrier_wait): Likewise.
27786         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27787         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27788         (helper_thread): Likewise.
27789         (init_mq_netlink): Call __pthread_barrier_init instead of
27790         pthread_barrier_init.
27792         [BZ #18542]
27793         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27794         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27795         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27796         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27797         vswscanf.
27798         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27799         Remove variable.
27801         [BZ #18540]
27802         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27803         strong alias of _IO_fflush.  Use libc_hidden_def.
27804         * libio/iofflush_u.c (fflush_unlocked): Rename to
27805         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27806         Use libc_hidden_weak.
27807         * include/stdio.h (__fflush_unlocked): Declare.  Use
27808         libc_hidden_proto.
27809         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27810         fflush_unlocked.
27811         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27812         Remove variable.
27814         [BZ #18539]
27815         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27816         define as weak alias of __addseverity.
27817         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27818         Remove variable.
27819         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27820         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27821         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27823         [BZ #18536]
27824         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27825         (__tfind): Likewise.
27826         (__tdelete): Likewise.
27827         (__twalk): Likewise.
27828         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27829         __twalk to GLIBC_PRIVATE.
27830         * include/search.h (__tsearch): Use libc_hidden_proto.
27831         (__tfind): Likewise.
27832         (__tdelete): Likewise.
27833         (__twalk): Likewise.
27834         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27835         Call __tdelete instead of tdelete.
27836         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27837         tfind.  Call __tsearch instead of tsearch.
27838         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27839         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27840         Remove variable.
27841         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27843         [BZ #18534]
27844         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27845         (dprintf): Define as a weak alias of __dprintf, not a strong
27846         alias.
27847         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27848         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27849         dprintf.
27850         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27851         Remove variable.
27852         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27853         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27855         [BZ #18533]
27856         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27857         not a strong alias.
27858         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27859         Remove variable.
27861         [BZ #18532]
27862         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27863         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27864         (in6addr_loopback): Rename to __in6addr_loopback and define as
27865         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27866         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27867         libc_hidden_proto.
27868         (__in6addr_any): Likewise.
27869         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27870         in6addr_any.
27871         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27872         variable.
27873         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27875 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27877         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27878         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27879         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27880         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27881         redirections for pow.
27882         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27883         * sysdeps/x86_64/fpu/Versions: New versions added.
27884         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27885         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27886         build of SSE, AVX2 and AVX512 IFUNC versions.
27887         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27888         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27889         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27890         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27891         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27892         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27893         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27894         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27895         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27896         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27897         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27898         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27899         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27900         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27901         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27902         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27903         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27904         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27905         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27906         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27907         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27908         * NEWS: Mention addition of x86_64 vector pow.
27910         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27911         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27912         redirections for expf.
27913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27914         * sysdeps/x86_64/fpu/Versions: New versions added.
27915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27916         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27917         build of SSE, AVX2 and AVX512 IFUNC versions.
27918         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27920         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27922         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27923         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27924         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27925         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27926         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27927         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27928         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27929         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27930         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27931         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27932         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27933         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27935         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27936         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27937         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27938         * NEWS: Mention addition of x86_64 vector expf.
27940         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27941         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27942         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27943         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27944         redirections for exp.
27945         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27946         * sysdeps/x86_64/fpu/Versions: New versions added.
27947         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27948         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27949         build of SSE, AVX2 and AVX512 IFUNC versions.
27950         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27951         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27952         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27953         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27954         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27955         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27956         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27957         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27958         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27959         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27960         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27961         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27962         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27963         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27964         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27965         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27966         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27967         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27968         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27969         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27970         * NEWS: Mention addition of x86_64 vector exp.
27972         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27973         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27974         redirections for logf.
27975         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27976         * sysdeps/x86_64/fpu/Versions: New versions added.
27977         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27978         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27979         build of SSE, AVX2 and AVX512 IFUNC versions.
27980         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27981         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27982         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27983         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27984         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27985         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27986         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27987         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27988         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27989         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27990         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27991         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27992         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27993         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27994         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27995         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27996         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27997         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27998         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27999         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28000         * NEWS: Mention addition of x86_64 vector logf.
28002         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28003         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28006         redirections for log.
28007         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28008         * sysdeps/x86_64/fpu/Versions: New versions added.
28009         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28010         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28011         build of SSE, AVX2 and AVX512 IFUNC versions.
28012         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28013         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28014         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28015         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28016         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28017         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28018         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28019         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28020         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28021         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28022         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28023         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28024         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28025         test.
28026         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28027         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28028         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28029         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28030         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28031         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28032         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28033         * NEWS: Mention addition of x86_64 vector log.
28035 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28037         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28038         cfi_adjust_cfa_offset argument.
28039         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28040         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28042         [BZ #18034]
28043         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28044         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28045         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28046         ordering using ldar.
28047         (_dl_tlsdesc_dynamic): Likewise.
28048         (_dl_tlsdesc_return_lazy): Likewise.
28049         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28050         relaxed atomics instead of volatile and synchronize with release store.
28051         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28052         volatile.
28053         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28055 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28057         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28058         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28059         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28060         * sysdeps/x86_64/fpu/Versions: New versions added.
28061         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28062         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28063         build of SSE, AVX2 and AVX512 IFUNC versions.
28064         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28066         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28067         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28068         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28070         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28071         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28072         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28073         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28074         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28075         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28076         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28077         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28078         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28079         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28080         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28081         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28082         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28083         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28084         * NEWS: Mention addition of x86_64 vector sinf.
28086 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28088         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28089         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28090         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28091         Remove variable.
28092         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28093         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28095 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28097         [BZ #18530]
28098         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28099         strong alias of _IO_fputs.  Use libc_hidden_def.
28100         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28101         and define as weak alias of __fputs_unlocked.  Use
28102         libc_hidden_weak.
28103         * include/stdio.h (__fputs_unlocked): Declare.  Use
28104         libc_hidden_proto.
28105         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28106         fputs_unlocked.
28108         [BZ #18529]
28109         * resolv/netdb.h [__USE_POSIX]: Change condition to
28110         [__USE_XOPEN2K].
28111         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28112         not expect.
28113         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28114         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28115         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28116         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28117         [XPG4 || UNIX98] (AI_ALL): Likewise.
28118         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28119         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28120         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28121         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28122         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28123         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28124         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28125         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28126         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28127         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28128         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28129         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28130         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28131         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28132         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28133         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28134         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28135         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28136         [XPG4 || UNIX98] (gai_strerror): Likewise.
28137         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28138         [XPG4 || UNIX98] (getnameinfo): Likewise.
28140         [BZ #18528]
28141         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28142         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28143         __USE_XOPEN2K8].
28144         (getgrent): Likewise.
28145         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28146         expect.
28147         [XPG3 || POSIX2008] (endgrent): Likewise.
28148         [XPG3] (setgrent): Likewise.
28149         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28150         variable.
28151         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28153         [BZ #18527]
28154         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28155         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28156         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28157         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28158         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28159         * include/unistd.h (__getlogin_r): Declare.  Use
28160         libc_hidden_proto.
28161         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28162         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28163         variable.
28164         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28165         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28166         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28168 2015-06-12  Martin Sebor  <msebor@redhat.com>
28170         [BZ #18512]
28171         * Makerules (check-install-supported): New target.
28172         (install): Add check-install-supported as a dependency.
28173         * manual/install.texi (Installing the C Library): Document
28174         that overriding prefix and exec_prefix is not supported.
28175         Mention DESTDIR.
28176         * INSTALL: Regenerate from the above.
28178 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28180         [BZ #18519]
28181         * posix/Versions (libc): Export __libc_pread at version
28182         GLIBC_PRIVATE.
28183         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28184         instead of pread.
28185         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28186         variable.
28188         [BZ #18522]
28189         * misc/efgcvt_r.c
28190         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28191         (cvt_symbol): Use weak_alias instead of strong_alias.
28192         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28193         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28194         Remove variable.
28195         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28196         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28198         [BZ #18520]
28199         * inet/herrno.c (h_errno): Rename to __h_errno.
28200         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28201         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28202         to __h_errno instead of h_errno.
28203         * nptl/herrno.c (h_errno): Rename to __h_errno.
28204         (__h_errno_location): Refer to __h_errno not h_errno.
28205         * resolv/Versions (h_errno): Rename to __h_errno.
28206         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28207         Remove variable.
28208         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28210 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28212         * configure.ac: More strict check for AVX512 assembler support.
28213         * configure: Regenerated.
28215         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28216         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28217         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28218         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28219         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28220         * sysdeps/x86_64/fpu/Versions: New versions added.
28221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28222         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28223         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28224         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28225         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28226         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28227         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28228         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28229         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28230         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28231         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28232         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28233         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28234         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28235         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28236         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28237         test.
28238         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28241         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28242         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28243         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28244         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28245         * NEWS: Mention addition of x86_64 vector sin.
28247 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28249         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28250         comment.
28252 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28254         [BZ #18479]
28255         * nptl/pt-interp.c: New file.
28256         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28257         Add pt-interp.
28258         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28259         $(common-objpfx)runtime-linker.h.
28261 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28263         * Makeconfig (+interp): Remove unused variable.
28264         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28265         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28266         $(elf-objpfx)runtime-linker.h.
28267         ($(elf-objpfx)runtime-linker.h): Rename to
28268         $(common-objpfx)runtime-linker.h and move ...
28269         * Makerules [$(build-shared) = yes]: ... here.
28270         * elf/interp.c: Include <runtime-linker.h> instead of
28271         <elf/runtime-linker.h>.
28273 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28275         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28276         (__gettimeofday_syscall): Remove vsyscall fallback.
28277         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28278         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28279         Add syscall fallback function.
28280         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28281         if vDSO is not present.
28282         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28283         fallback function.
28284         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28285         present.
28286         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28287         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28289 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28291         [BZ #18497]
28292         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28293         of wcscmp.
28294         (wcscmp): Define as weak alias of WCSCMP.
28295         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28296         wcscoll.
28297         (USE_HIDDEN_DEF): Define.
28298         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28299         __wcscoll.  Don't use libc_hidden_weak.
28300         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28301         wcscmp.
28302         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28303         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28304         __GI_wcscmp.
28305         (weak_alias): Undefine and redefine.
28306         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28307         __wcscmp and define as weak alias of __wcscmp.
28308         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28309         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28310         (__wcscoll): Likewise.
28311         (wcscmp): Don't use libc_hidden_proto.
28312         (wcscoll): Likewise.
28313         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28314         wcscoll.
28315         * posix/regexec.c (check_node_accept_bytes): Likewise.
28316         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28317         variable.
28318         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28319         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28321         [BZ #18507]
28322         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28323         __fstatvfs and define as weak alias of __fstatvfs.  Use
28324         libc_hidden_weak.
28325         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28326         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28327         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28328         Define as alias of __fstatvfs, not fstatvfs.
28329         (fstatvfs64): Likewise.
28330         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28331         Define as alias of __statvfs, not statvfs.
28332         (statvfs64): Likewise.
28333         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28334         Remove variable.
28336 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28339         (HAVE_GETCPU_VSYSCALL): Define.
28340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28341         (HAVE_GETCPU_VSYSCALL): Likewise.
28342         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28343         * sysdeps/unix/sysv/linux/sched_getcpu.c
28344         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28345         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28346         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28347         prototype.
28348         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28349         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28350         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28352         Define.
28353         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28354         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28355         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28356         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28358 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28360         * sysdeps/x86_64/fpu/Makefile: New file.
28361         * sysdeps/x86_64/fpu/Versions: New file.
28362         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28363         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28364         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28365         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28366         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28367         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28368         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28369         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28370         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28371         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28372         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28373         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28374         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28375         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28376         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28377         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28378         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28379         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28380         * sysdeps/x86_64/configure: Regenerated.
28381         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28382         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28383         * manual/install.texi (Configuring and compiling): Document
28384         --disable-mathvec.
28385         * INSTALL: Regenerated.
28386         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28388         * math/Makefile: Added rules for vector tests.
28389         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28390         declaration under condition.
28391         * math/test-double-vlen2.h: New file.
28392         * math/test-double-vlen4.h: New file.
28393         * math/test-double-vlen8.h: New file.
28394         * math/test-vec-loop.h: Added initialization macro.
28395         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28396         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28397         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28398         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28399         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28400         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28401         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28402         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28403         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28404         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28405         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28407         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28408         * sysdeps/x86_64/fpu/Versions: New versions added.
28409         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28410         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28411         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28412         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28413         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28414         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28416         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28419         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28420         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28421         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28422         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28423         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28424         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28425         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28426         * NEWS: Mention addition of x86_64 vector cosf.
28428         * math/Makefile: Added CFLAGS for new tests.
28429         * math/test-float-vlen16.h: New file.
28430         * math/test-float-vlen4.h: New file.
28431         * math/test-float-vlen8.h: New file.
28432         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28433         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28435         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28436         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28437         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28438         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28439         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28440         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28441         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28442         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28444 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28446         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28447         * locale/programs/ld-ctype.c: Likewise.
28449 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28451         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28452         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28453         bit_ZMM16_31_state): New macro.
28454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28455         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28457 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28459         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28461 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28463         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28465 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28467         [BZ #18498]
28468         * libio/memstream.c (open_memstream): Rename to __open_memstream
28469         and define as weak alias of __open_memstream.
28470         * include/stdio.h (__open_memstream): Declare.  Use
28471         libc_hidden_proto.
28472         (open_memstream): Don't use libc_hidden_proto.
28473         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28474         open_memstream.
28475         * posix/getopt.c (_getopt_internal_r): Likewise.
28476         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28477         variable.
28478         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28479         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28480         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28482         [BZ #18496]
28483         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28484         instead of wcrtomb.
28486         [BZ #18483]
28487         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
28488         [__USE_XOPEN2K8].  Remove redundant #endif.
28489         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
28490         Remove redundant #if.
28491         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28492         Remove variable.
28493         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28494         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28496         [BZ #18495]
28497         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
28498         (__iswlower): Likewise.
28499         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
28500         (__iswlower): Likewise.
28501         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
28502         instead of towlower.
28503         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
28504         instead of iswlower.  Call __towupper instead of towupper.
28505         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
28506         instead of iswalnum.
28508 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28510         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
28511         errors to stderr.
28513 2015-06-05  Florian Weimer  <fweimer@redhat.com>
28515         [BZ #15661]
28516         [BZ #17322]
28517         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28518         Check for overflow properly.  Check for O_APPEND.  Ignore large
28519         file system block sizes.  Add comments about problems.
28520         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28521         * manual/filesys.texi (Storage Allocation): New node.
28523 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28525         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
28526         cancellable syscalls.
28527         (SYS_ify): Add guard to no redefine it.
28528         (INLINE_SYSCALL): Likewise.
28529         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
28530         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
28531         SYSCALL_CANCEL instead.
28532         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
28533         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28534         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28535         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28536         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28537         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
28538         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
28539         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
28540         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28541         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28542         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
28543         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
28544         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
28545         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
28546         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
28547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28548         Likewise.
28549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28550         (__libc_pread64): Likewise.
28551         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
28552         (__libc_preadv): Likewise.
28553         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
28554         (__libc_readv64): Likewise.
28555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28556         (__libc_pwrite): Likewise.
28557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28558         (__libc_pwrite64): Likewise.
28559         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
28560         (__libc_pwritev): Likewise.
28561         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
28562         (__libc_pwritev64): Likewise.
28563         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
28564         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
28565         (sync_file_range): Likewise.
28566         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
28567         Likewise.
28568         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
28569         Likewise.
28570         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28571         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28572         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28573         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28574         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28575         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28576         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28577         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28579         Likewise.
28580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28581         (__libc_read64): Likewise.
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
28583         Likewise.
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
28585         Likewise.
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
28587         Likewise.
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
28589         Likewise.
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28591         (__libc_pread64): Likewise.
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
28593         Likewise.
28594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28595         (__libc_pwrite64): Likewise.
28596         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
28597         (sync_file_range): Likewise.
28598         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
28599         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28600         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28601         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
28602         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
28603         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28604         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28605         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
28606         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
28607         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28608         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28609         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28610         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28611         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28612         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
28613         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28614         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28615         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28616         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28617         Likewise.
28618         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
28619         Likewise.
28620         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
28621         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
28622         Likewise.
28623         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
28624         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
28625         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
28626         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
28627         Likewise.
28628         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
28629         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
28630         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
28631         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
28632         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
28634 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
28636         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
28637         Include dl-vdso.
28638         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
28639         Use VDSO routines for gettimeofday, clock_gettime if
28640         available.
28641         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
28642         Declare VDSO symbols.
28643         * sysdeps/unix/sysv/linux/arm/sysdep.h:
28644         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
28645         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28646         * sysdeps/unix/sysv/linux/arm/Versions: Add
28647         __vdso_clock_gettime.
28649 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28651         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
28652         be an inline implementation regardless of library is built within.
28653         (open_not_cancel_2): Likewise.
28654         (__read_nocancel): Likewise.
28655         (__write_nocancel): Likewise.
28656         (openat_not_cancel): Likewise.
28657         (openat_not_cancel_3): Likewise.
28658         (openat64_not_cancel): Likewise.
28659         (openat64_not_cancel_3): Likewise.
28660         (__close_nocancel): Likewise.
28661         (pause_not_cancel): Likewise.
28662         (nanosleep_not_cancel): Likewise.
28663         (sigsuspend_not_cancel): Likewise.
28665 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28667         [BZ #14958]
28668         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28669         wake-up.
28670         (__pthread_rwlock_rdlock_slow): Likewise.
28671         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28672         Likewise.
28673         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28674         Likewise.
28675         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28676         * nptl/tst-rwlock16.c: New file.
28677         * nptl/Makefile (tests): Add new test.
28679 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28681         [BZ #18324]
28682         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28683         missing wake-up of readers.
28684         * nptl/tst-rwlock15.c: New file.
28685         * nptl/Makefile (tests): Add new test.
28687 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28689         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28690         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28691         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28692         and __nacl_supply_interface_rtld.
28693         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28694         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28695         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28696         Add __nacl_supply_interface_rtld.
28697         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28699 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28702         isfinite.
28703         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28704         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28706 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28708         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28709         __signbit* with standard C99 macros.
28710         * math/e_exp10l.c: Likewise.
28711         * math/e_exp2l.c: Likewise.
28712         * math/e_scalb.c: Likewise.
28713         * math/e_scalbf.c: Likewise.
28714         * math/e_scalbl.c: Likewise.
28715         * math/s_ldexp.c: Likewise.
28716         * math/s_ldexpf.c: Likewise.
28717         * math/s_ldexpl.c: Likewise.
28718         * math/w_atan2.c: Likewise.
28719         * math/w_atan2f.c: Likewise.
28720         * math/w_atan2l.c: Likewise.
28721         * math/w_cosh.c: Likewise.
28722         * math/w_coshf.c: Likewise.
28723         * math/w_coshl.c: Likewise.
28724         * math/w_exp10.c: Likewise.
28725         * math/w_exp10f.c: Likewise.
28726         * math/w_exp10l.c: Likewise.
28727         * math/w_exp2.c: Likewise.
28728         * math/w_exp2f.c: Likewise.
28729         * math/w_exp2l.c: Likewise.
28730         * math/w_fmod.c: Likewise.
28731         * math/w_fmodf.c: Likewise.
28732         * math/w_fmodl.c: Likewise.
28733         * math/w_hypot.c: Likewise.
28734         * math/w_hypotf.c: Likewise.
28735         * math/w_hypotl.c: Likewise.
28736         * math/w_jnl.c: Likewise.
28737         * math/w_lgamma.c: Likewise.
28738         * math/w_lgamma_r.c: Likewise.
28739         * math/w_lgammaf.c: Likewise.
28740         * math/w_lgammaf_r.c: Likewise.
28741         * math/w_lgammal.c: Likewise.
28742         * math/w_lgammal_r.c: Likewise.
28743         * math/w_pow.c: Likewise.
28744         * math/w_powf.c: Likewise.
28745         * math/w_powl.c: Likewise.
28746         * math/w_remainder.c: Likewise.
28747         * math/w_remainderf.c: Likewise.
28748         * math/w_remainderl.c: Likewise.
28749         * math/w_scalb.c: Likewise.
28750         * math/w_scalbf.c: Likewise.
28751         * math/w_scalbl.c: Likewise.
28752         * math/w_scalbln.c: Likewise.
28753         * math/w_scalblnf.c: Likewise.
28754         * math/w_scalblnl.c: Likewise.
28755         * math/w_sinh.c: Likewise.
28756         * math/w_sinhf.c: Likewise.
28757         * math/w_sinhl.c: Likewise.
28758         * math/w_tgamma.c: Likewise.
28759         * math/w_tgammaf.c: Likewise.
28760         * math/w_tgammal.c: Likewise.
28761         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28762         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28763         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28764         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28765         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28767         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28768         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28769         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28770         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28771         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28772         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28773         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28774         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28775         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28776         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28777         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28778         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28779         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28782         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28785         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28786         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28787         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28790         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28791         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28792         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28793         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28794         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28795         * stdio-common/printf_fp.c: Likewise.
28796         * stdio-common/printf_fphex.c: Likewise.
28797         * stdio-common/printf_size.c: Likewise.
28799 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28801         [BZ #18470]
28802         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28803         strnlen.
28804         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28805         Remove variable.
28806         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28807         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28808         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28809         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28810         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28811         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28812         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28813         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28814         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28815         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28817         [BZ #18468]
28818         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28819         weak alias of __wmemchr.  Use libc_hidden_weak.
28820         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28821         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28822         instead of wmemchr.
28824 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28826         [BZ #18383]
28827         * elf/tst-tlsalign-extern.c: New file.
28828         * elf/tst-tlsalign-extern-static.c: New file.
28829         * elf/tst-tlsalign-vars.c: New file.
28830         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28831         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28832         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28833         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28834         (test-xfail-tst-tlsalign-extern-static): New variable.
28836 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28838         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28839         Use variable name _sc_err instead of err.
28840         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28841         instead of ret.
28842         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28843         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28844         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28845         (INLINE_SYSCALL): Likewise.
28847         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28848         * include/string.h (__strnlen): Use libc_hidden_proto.
28849         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28850         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28851         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28852         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28853         (libc_hidden_def): Undefine and redefine.
28854         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28855         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28856         __GI_strnlen.
28857         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28858         libc_hidden_def.
28859         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28861         [BZ #18469]
28862         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28863         weak alias of __towlower.  Use libc_hidden_weak.
28864         (towupper): Rename to __towupper and define as weak alias of
28865         __towupper.  Use libc_hidden_weak.
28866         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28867         (__towupper): Likewise.
28868         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28869         __towlower instead of towlower.
28871 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28873         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28874         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28876 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28878         * sysdeps/aarch64/libm-test-ulps: Update.
28880 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28882         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28883         Define.
28884         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28886         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28887         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28888         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28889         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28890         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28892 2015-06-01  Martin Sebor  <msebor@redhat.com>
28894         [BZ #18116]
28895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28896         (__setcontext): Use extended four-operand version of mtsf whenever
28897         possible.
28898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28899         (__novec_swapcontext): Likewise.
28901 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28903         * benchtests/scripts/compare_bench.py: New file.
28904         * benchtests/scripts/import_bench.py (mean): New function.
28905         (split_list): Likewise.
28906         (do_for_all_timings): Likewise.
28907         (compress_timings): Likewise.
28909         * benchtests/scripts/import_bench.py: New file.
28910         * benchtests/scripts/validate_benchout.py: Import import_bench
28911         instead of jsonschema.
28912         (validate_bench): Remove function.
28913         (main): Use import_bench.
28915 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28917         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28918         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28920 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28924 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28926         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28927         set THREAD_SELF->tid to a magic value and futex-wake it.
28928         Pass its address to the thread_exit system call.
28929         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28930         bit is clear.
28931         * sysdeps/nacl/lowlevellock.h: New file.
28932         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28934         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28935         Add TIMEOUT to current time, don't subtract it.
28937 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28939         [BZ #2981]
28940         [BZ #18422]
28941         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28942         ($(objpfx)tst-audit2.out): Also depend on
28943         $(objpfx)tst-auditmod9b.so.
28944         * elf/tst-audit2.c: Include <dlfcn.h>.
28945         (calloc_called): New.
28946         (calloc): Allow to be called more than once.
28947         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28949 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28951         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28952         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28954 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28956         * stdlib/monetary.h: Fix comment.
28958 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28960         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28961         Avoid using variables in #defines that might cause shadowing.
28962         (INTERNAL_VSYSCALL_CALL): Likewise.
28964 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28966         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28968         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28969         * nptl/lll_timedlock_wait.c: ... to this new file.
28970         * nptl/Makefile (libpthread-routines): Add it.
28971         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28972         * nptl/lll_timedwait_tid.c: ... to this new file.
28973         * nptl/Makefile (libpthread-routines): Add it.
28974         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28975         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28976         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28977         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28978         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28979         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28980         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28981         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28982         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28983         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28985 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28987         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28988         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28989         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28991         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28993         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28995         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28996         * sysdeps/unix/sysv/linux/tile/sysdep.h
28997         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28998         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28999         using vDSO syscall macro.
29001 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29003         [BZ #17293]
29004         * uk_UA: Fix sorting order for Ukrainian locale
29006 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29008         * stdlib/monetary.h: Fix comment.
29010 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29012         [BZ #18234]
29013         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29014         st_mtim and st_ctim members.
29015         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29016         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29017         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29018         (struct stat64): Likewise.
29019         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29020         (struct stat64): Likewise.
29021         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29022         (struct stat64): Likewise.
29024 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29026         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29027         Define and include sysdep-vdso.h.
29028         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29029         Likewise.
29030         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29031         Likewise.
29032         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29033         Define with VDSO_SYMBOL and use PTR_MANGLE.
29034         (__vdso_clock_gettime): Likewise.
29035         (__vdso_clock_getres): Likewise.
29036         (_libc_vdso_platform_setup): Likewise.
29037         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29038         Likewise.
29039         (_libc_vdso_platform_setup): Likewise.
29040         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29041         Likewise.
29042         (__vdso_clock_gettime): Likewise.
29043         (__vdso_clock_getres): Likewise.
29044         (__vdso_get_tbfreq): Likewise.
29045         (__vdso_getcpu): Likewise.
29046         (__vdso_time): Likewise.
29047         (__vdso_sigtramp_rt64): Likewise.
29048         (__vdso_signtramp32): Likewise.
29049         (__vdso_sigtramp_rt32): Likewise.
29050         (_libc_vdso_platform_setup): Likewise.
29051         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29052         Likewise.
29053         (__vdso_clock_gettime): Likewise.
29054         (__vdso_clock_getres): Likewise.
29055         (_libc_vdso_platform_setup): Likewise.
29056         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29057         Likewise.
29058         (__vdso_clock_gettime): Likewise.
29059         (_libc_vdso_platform_setup): Likewise.
29060         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29061         Likewise.
29062         (__vdso_getcpu): Likewise.
29063         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29064         Use VDSO_SYMBOL macro to define.
29065         (__vdso_clock_gettime): Likewise.
29066         (__vdso_clock_getres): Likewise.
29067         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29068         Likewise.
29069         (__vdso_clock_gettime): Likewise.
29070         (__vdso_clock_getres): Likewise.
29071         (__vdso_get_tbfreq): Likewise.
29072         (__vdso_getcpu): Likewise.
29073         (__vdso_time): Likewise.
29074         (__vdso_sigtramp_rt64): Likewise.
29075         (__vdso_signtramp32): Likewise.
29076         (__vdso_sigtramp_rt32): Likewise.
29077         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29078         Likewise.
29079         (__vdso_clock_gettime): Likewise.
29080         (__vdso_clock_getres): Likewise.
29081         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29082         Likewise.
29083         (__vdso_clock_gettime): Likewise.
29084         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29085         Likewise.
29086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29087         macro.
29088         (INTERNAL_VSYSCALL): Likewise.
29089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29090         Remove macro.
29091         (INTERNAL_VSYSCALL): Likewise.
29092         (INTERNAL_VSYSCALL_NCS): Likewise.
29093         (INTERNAL_VSYSCALL_CALL): New macro.
29094         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29096         Likewise.
29097         (INTERNAL_VSYSCALL): Likewise.
29098         (INTERNAL_VSYSCALL_NCS): Likewise.
29099         (INTERNAL_VSYSCALL_CALL): New macro.
29100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29102         (INLINE_VSYSCALL): Remove macro.
29103         (INTERNAL_VSYSCALL): Remove macro.
29104         (INTERNAL_VSYSCALL_NCS): Remove macro.
29105         (INTERNAL_VSYSCALL_CALL): New macro.
29106         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29107         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29108         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29109         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29110         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29112         (INLINE_VSYSCALL): Remove macro.
29113         (INTERNAL_VSYSCALL): Likewise.
29114         (INTERNAL_VSYSCALL_NCS): Likewise.
29115         (INTERNAL_VSYSCALL_CALL): New macro.
29116         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29117         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29118         PTR_DEMANGLE on vDSO pointer.
29119         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29120         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29121         macro.
29122         (INTERNAL_SYSCALL): Likewise.
29123         (INTERNAL_VSYSCALL_NCS): Remove macro.
29124         (INTERNAL_VSYSCALL_CALL): New macro.
29125         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29126         Remove macro.
29127         (INTERNAL_VSYSCALL): Likewise.
29128         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29129         sysdep-vdso.h instead of libc-vdso.h.
29130         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29131         definition.
29132         (INLINE_VSYSCALL): Likewise.
29133         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29134         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29135         definition.
29136         (INLINE_VSYSCALL): Likewise.
29137         (INTERNAL_VSYSCALL): Likewise.
29138         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29139         * sysdeps/unix/sysv/linux/timespec_get.c
29140         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29141         (timespec_get): Use ANSI prototype.
29142         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29143         and definition for Linux.
29145 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29147         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29148         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29150 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29152         [BZ #2981]
29153         [BZ #18410]
29154         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29155         for missing DT_PLTRELSZ.
29157 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29159         Remove obsolete aliases that broke 'locale -a'
29160         [BZ #18412]
29161         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29162         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29163         breaking some applications that use 'locale -a' output.
29164         Change the encoding of this file from Latin-1 to ASCII to avoid
29165         other potential problems with people grepping this file.
29167 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29169         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29170         -fasynchronous-unwind-tables.
29171         (CFLAGS-sendto.c): Likewise.
29172         (CFLAGS-sendmsg.c): Likewise.
29173         (CFLAGS-connect.c): Likewise.
29174         (CFLAGS-recvmsg.c): Likewise.
29175         (CFLAGS-recvfrom.c): Likewise.
29176         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29177         (SOCKETCALL): New macro: non-cancellable socketcall.
29178         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29179         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29180         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29181         * sysdeps/unix/sysv/linux/accept.c: New file.
29182         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29183         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29184         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29185         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29186         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29187         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29188         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29189         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29190         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29191         * sysdeps/unix/sysv/linux/send.c: Likewise.
29192         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29193         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29194         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29195         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29196         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29197         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29198         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29199         prototype.
29200         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29201         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29202         instead of __internal_xxx function.
29203         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29204         prototype.
29205         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29206         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29207         instead of __internal_xxx function.
29208         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29209         prototype.
29210         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29211         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29212         instead of __internal_xxx function.
29213         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29214         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29215         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29216         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29217         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29218         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29219         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29220         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29221         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29222         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29223         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29224         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29225         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29226         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29227         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29228         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29229         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29230         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29231         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29232         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29235         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29236         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29237         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29238         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29239         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29240         * sysdeps/unix/sysv/linux/send.S: Likewise.
29241         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29242         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29243         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29244         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29245         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29246         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29247         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29248         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29249         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29250         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29251         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29252         socketcall is implemented in GLIBC.
29254 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29256         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29257         (__fma): Ignore uninitialized warnings around packing.
29258         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29259         (__fmaf): Ignore uninitialized warnings around packing.
29260         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29261         (__fmal): Ignore uninitialized warnings around packing.
29263         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29264         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29265         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29266         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29268         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29269         switch statement into default case.
29270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29272         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29273         a conditional in forcing "inexact".
29274         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29275         Likewise.
29277 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29279         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29280         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29281         for each INTERNAL_SYSCALL use.
29283 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29285         [BZ #438]
29286         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29287         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29288         variable.
29290         [BZ #18444]
29291         * string/basename.c (basename): Rename to __basename and define as
29292         weak alias of __basename.  Use libc_hidden_weak.
29293         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29294         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29295         __basename instead of basename.
29296         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29297         Remove variable.
29298         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29300 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29302         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29303         (_IO_JUMPS_FILE_plus): New.
29304         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29305         _IO_CAST_FIELD_ACCESS.
29306         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29307         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29308         * libio/freopen.c (freopen): Likewise.
29309         * libio/freopen64.c (freopen64): Likewise.
29310         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29311         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29312         * libio/iofwide.c (_IO_fwide): Likewise.
29313         * libio/memstream.c (open_memstream): Likewise.
29314         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29315         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29316         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29318 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29320         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29321         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29322         NADJ.
29323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29324         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29325         NADJ.
29326         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29327         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29328         NADJ.
29330         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29331         (p == 4) case.
29333         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29334         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29335         Remove variable.
29336         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29337         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29338         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29340 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29342         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29343         Adjust jump table label generation macros.
29345 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29347         * stdio-common/vfprintf.c (vfprintf): Move local variables
29348         args_malloced, specs, specs_malloced, and the code after
29349         do_positional to the printf_positional function.
29350         (printf_positional): New function.
29352 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29354         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29355         function.
29356         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29357         STEP4_TABLE, process_arg): Move macro definitions
29358         out of the vfprintf function.  (Cosmetic change only.)
29360 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29362         * benchtests/Makefile (stdio-common-bench): Define.
29363         (benchset): Add stdio-common-bench.
29364         * sprintf-inputs: New file.
29365         * sprintf-source.c: New file.
29367 2015-05-21  Andreas Schwab  <schwab@suse.de>
29369         [BZ #13028]
29370         [BZ #17053]
29371         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29372         of struct __res_state.
29373         * resolv/res_send.c (__libc_res_nsend): Likewise.
29374         (get_nsaddr): New function.
29375         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29376         statp directly.
29378 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29380         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29381         -D_POSIX_C_SOURCE=199506L.
29383         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29385         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29386         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29387         Do not mention otherwise.
29388         [POSIX] (_XOPEN_VERSION): Do not expect.
29389         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29390         [POSIX] (_POSIX2_C_BIND): Likewise.
29391         [POSIX] (_POSIX2_VERSION): Likewise.
29392         [POSIX] (_XOPEN_XPG2): Likewise.
29393         [POSIX] (_XOPEN_XPG3): Likewise.
29394         [POSIX] (_XOPEN_XPG4): Likewise.
29395         [POSIX] (_XOPEN_UNIX): Likewise.
29396         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29397         [POSIX] (_POSIX_BARRIERS): Likewise.
29398         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29399         [POSIX] (_POSIX_CPUTIME): Likewise.
29400         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29401         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29402         [POSIX] (_POSIX_SHELL): Likewise.
29403         [POSIX] (_POSIX_SPAWN): Likewise.
29404         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29405         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29406         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29407         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29408         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29409         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29410         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29411         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29412         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29413         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29414         [POSIX] (_POSIX2_PBS): Likewise.
29415         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29416         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29417         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29418         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29419         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29420         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29421         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29422         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29423         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29424         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29425         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29426         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29427         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29428         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29429         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29430         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29431         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29432         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29433         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29434         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29435         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29436         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29437         [POSIX] (_SC_2_C_BIND): Likewise.
29438         [POSIX] (_SC_2_C_VERSION): Likewise.
29439         [POSIX] (_SC_2_PBS): Likewise.
29440         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29441         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29442         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29443         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29444         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29445         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29446         [POSIX] (_SC_BARRIERS): Likewise.
29447         [POSIX] (_SC_BASE): Likewise.
29448         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29449         [POSIX] (_SC_DEVICE_IO): Likewise.
29450         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29451         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29452         [POSIX] (_SC_FD_MGMT): Likewise.
29453         [POSIX] (_SC_FIFO): Likewise.
29454         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29455         [POSIX] (_SC_FILE_LOCKING): Likewise.
29456         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29457         [POSIX] (_SC_IOV_MAX): Likewise.
29458         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29459         [POSIX] (_SC_NETWORKING): Likewise.
29460         [POSIX] (_SC_PAGE_SIZE): Likewise.
29461         [POSIX] (_SC_PASS_MAX): Likewise.
29462         [POSIX] (_SC_PIPE): Likewise.
29463         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29464         [POSIX] (_SC_REGEXP): Likewise.
29465         [POSIX] (_SC_SHELL): Likewise.
29466         [POSIX] (_SC_SIGNALS): Likewise.
29467         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29468         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29469         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29470         [POSIX] (_SC_USER_GROUPS): Likewise.
29471         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29472         [POSIX] (_SC_STREAMS): Likewise.
29473         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29474         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29475         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29476         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29477         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29478         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29479         [POSIX] (_PC_FILESIZEBITS): Likewise.
29480         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29481         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29482         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29483         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29484         [POSIX] (uid_t): Likewise.
29485         [POSIX] (gid_t): Likewise.
29486         [POSIX] (off_t): Likewise.
29487         [POSIX] (pid_t): Likewise.
29488         [POSIX] (cuserid): Allow.
29489         (_SC_2_CHAR_TERM): Require constant.
29490         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
29491         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
29492         variable.
29494 2015-05-20  Roland McGrath  <roland@hack.frob.com>
29496         * sysdeps/nacl/pthread-pids.h: New file.
29497         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
29498         (create_thread): Use __nacl_get_tid to initialize PD->tid.
29500         * nptl/pthread-pids.h: New file.
29501         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
29502         * nptl/nptl-init.c: Include <pthread-pids.h>.
29503         (__pthread_initialize_minimal_internal):
29504         Call __pthread_initialize_pids instead of set_tid_address syscall.
29506         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
29507         * sysdeps/posix/usleep.c: ... here.
29509 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29511         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
29512         call_pselect6 object.
29513         [$(subdir) = io]: Remove call_sync_file_range object.
29514         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
29515         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
29516         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
29517         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
29519 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
29521         * math/s_cproj.c: Add include "math_private.h".
29522         * math/s_cprojf.c: Likewise.
29523         * math/s_cprojl.c: Likewise.
29525 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
29527         [BZ #18244]
29528         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
29529         high mantissa bit when testing whether P is a NaN.
29530         * math/libm-test.inc (remainder_test_data): Add more tests.
29531         (remquo_test_data): Likewise.
29533         [BZ #18049]
29534         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
29535         below -32, return the argument, with underflow if subnormal.
29536         * math/auto-libm-test-in: Add more tests of atanh.
29537         * math/auto-libm-test-out: Regenerated.
29539 2015-05-19  Roland McGrath  <roland@hack.frob.com>
29541         [BZ #18434]
29542         * nptl/tst-sem15.c: New file.
29543         * nptl/Makefile (tests): Add it.
29544         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
29545         s/<</>>/ to fix typo in EOVERFLOW check.
29546         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
29548 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29550         * manual/strings.texi (envz_remove): Fix typo in safety
29551         annotations.
29553 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
29554             Steve Ellcey  <sellcey@imgtec.com>
29556         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
29557         in order to avoid strict alias warnings.
29558         (iruserok_af): Ditto for ra.
29560 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
29562         [BZ #17581]
29563         * malloc/hooks.c
29564         (magicbyte): Convert to a function and avoid returning 0x01.
29565         (mem2mem_check): Avoid using a length byte equal to the magic byte.
29566         (mem2chunk_check): Fix unsigned comparisons to zero.
29567         Hoist defs of sz and magic.
29569 2015-05-19  Richard Henderson  <rth@redhat.com>
29571         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
29573         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29575 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29577         [BZ #16159]
29578         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
29579         * malloc/arena.c (arena_lock): Check if arena is corrupt.
29580         (reused_arena): Find a non-corrupt arena.
29581         (heap_trim): Pass arena to unlink.
29582         * malloc/hooks.c (malloc_check_get_size): Pass arena to
29583         malloc_printerr.
29584         (top_check): Likewise.
29585         (free_check): Likewise.
29586         (realloc_check): Likewise.
29587         * malloc/malloc.c (malloc_printerr): Add arena argument.
29588         (unlink): Likewise.
29589         (munmap_chunk): Adjust.
29590         (ARENA_CORRUPTION_BIT): New macro.
29591         (arena_is_corrupt): Likewise.
29592         (set_arena_corrupt): Likewise.
29593         (sysmalloc): Use mmap if there are no usable arenas.
29594         (_int_malloc): Likewise.
29595         (__libc_malloc): Don't fail if arena_get returns NULL.
29596         (_mid_memalign): Likewise.
29597         (__libc_calloc): Likewise.
29598         (__libc_realloc): Adjust for additional argument to
29599         malloc_printerr.
29600         (_int_free): Likewise.
29601         (malloc_consolidate): Likewise.
29602         (_int_realloc): Likewise.
29603         (_int_memalign): Don't touch corrupt arenas.
29604         * malloc/tst-malloc-backtrace.c: New test case.
29606         * Makefile (summarize-tests): Fix return value on success.
29608         * manual/string.texi (Envz Functions): Add envz_remove.
29610 2015-05-18  Roland McGrath  <roland@hack.frob.com>
29612         * sysdeps/posix/opendir.c: Include <stdbool.h>.
29613         (invalid_name): New function, broken out of ...
29614         (__opendirat): ... here.  Call it.
29615         (need_isdir_precheck): New function, broken out of ...
29616         (__opendirat): ... here.  Call it.
29617         Use __fxstatat64, not __xstatat64.
29618         (opendir_oflags): New function, broken out of ...
29619         (__opendirat): ... here.  Call it.
29620         (opendir_tail): New function, broken out of ...
29621         (__opendirat): ... here.  Call it.
29622         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
29623         opendir_tail, rather than punting to __opendirat.
29624         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
29626 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29628         * .gitignore: Ignore generated *.pyc.
29630 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
29632         * include/stdio.h: Define __need_wint_t.
29633         * test-skeleton.c: Avoid `for' loop initial declaration.
29634         * nptl/tst-initializers1.c: Use test-skeleton.c.
29636 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29638         [BZ #18418]
29639         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
29641 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29643         [BZ #16352]
29644         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
29645         (__ieee754_atanh): Force underflow exception for results with
29646         small absolute value.
29647         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
29648         (__ieee754_atanhf): Force underflow exception for results with
29649         small absolute value.
29650         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
29651         (__ieee754_atanh): Force underflow exception for results with
29652         small absolute value.
29653         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29654         (__ieee754_atanhf): Force underflow exception for results with
29655         small absolute value.
29656         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29657         (__ieee754_atanhl): Force underflow exception for results with
29658         small absolute value.
29659         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29660         (__ieee754_atanhl): Force underflow exception for results with
29661         small absolute value.
29662         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29663         (__ieee754_atanhl): Force underflow exception for results with
29664         small absolute value.
29665         * math/auto-libm-test-in: Do not allow missing underflow
29666         exceptions from atanh.
29667         * math/auto-libm-test-out: Regenerated.
29669         [BZ #18221]
29670         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29671         2**-28 as threshold for returning x or +/- 1/x.
29672         * math/auto-libm-test-in: Add more tests of tan.
29673         * math/auto-libm-test-out: Regenerated.
29675         [BZ #18220]
29676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29677         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29678         * math/auto-libm-test-in: Add another test of lgamma.
29679         * math/auto-libm-test-out: Regenerated.
29681 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29683         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29684         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29685         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29686         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29687         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29688         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29689         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29691         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29692         (log1): Use fabs.  (my_log2): Use fabs.
29693         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29694         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29695         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29696         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29698         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29699         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29700         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29701         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29702         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29703         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29705 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29707         [BZ #18217]
29708         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29709         as threshold for returning 1 - x.
29710         * math/auto-libm-test-in: Add more tests of erfc.
29711         * math/auto-libm-test-out: Regenerated.
29713 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29715         [BZ #18196]
29716         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29717         threshold for large arguments.
29718         * math/auto-libm-test-in: Add another test of atan.
29719         * math/auto-libm-test-out: Regenerated.
29721         [BZ #16339]
29722         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29723         (__log1p): Force underflow exception for results with small
29724         absolute value.
29725         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29726         (__log1pf): Force underflow exception for results with small
29727         absolute value.
29728         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29729         (__log1p): Force underflow exception for results with small
29730         absolute value.
29731         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29732         (__log1pf): Force underflow exception for results with small
29733         absolute value.
29734         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29735         (__log1pl): Force underflow exception for results with small
29736         absolute value.
29737         * math/auto-libm-test-in: Do not allow missing underflow
29738         exceptions from log1p.
29739         * math/auto-libm-test-out: Regenerated.
29741 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29742             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29744         [BZ #16704]
29745         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29747 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29749         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29750         (libmvec): New variable.
29751         * configure.ac: Added option for mathvec build.
29752         * configure: Regenerated.
29753         * mathvec/Depend: New file.
29754         * mathvec/Makefile: New file.
29755         * shlib-versions: Added libmvec.
29756         * math/Makefile: Added rule for libm.so installation.
29758         * bits/math-vector.h: New file.
29759         * bits/libm-simd-decl-stubs.h: New header.
29760         * math/Makefile (headers): Added new header
29761         libm-simd-decl-stubs.h.
29762         * math/math.h (__MATHCALL_VEC): New macro.
29764         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29765         for conditions in testing functions.
29766         * math/Makefile: Added call of libm-have-vector-test.sh.
29767         * math/libm-test.inc (HAVE_VECTOR): New macros.
29769         * math/libm-test.inc: START refactored.
29770         * math/test-double.c (TEST_MATHVEC): Add define.
29771         * math/test-float.c: Likewise.
29772         * math/test-idouble.c: Likewise.
29773         * math/test-ifloat.c: Likewise.
29774         * math/test-ildoubl.c: Likewise.
29775         * math/test-ldouble.c: Likewise.
29776         * sysdeps/generic/math-tests-arch.h
29777         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29778         architecture check.
29780         * math/test-double.c (FUNC_TEST): New macro.
29781         * math/test-float.c: Likewise.
29782         * math/test-idouble.c: Likewise.
29783         * math/test-ifloat.c: Likewise.
29784         * math/test-ildoubl.c: Likewise.
29785         * math/test-ldouble.c: Likewise.
29786         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29788 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29790         * sysdeps/nacl/fdopendir.c: New file.
29792         * dirent/scandir-tail.c: New file.
29793         * dirent/scandir64-tail.c: New file.
29794         * dirent/Makefile (routines): Add them.
29795         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29796         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29797         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29798         [!SCANDIR] (SCANDIR_TAIL): New macro.
29799         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29800         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29801         (SCANDIRAT): Macro removed.
29802         (SCANDIR_TAIL): New macro.
29803         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29804         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29805         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29806         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29807         (READDIR): Macro removed.
29808         (SCANDIR_TAIL): New macro.
29809         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29810         (SCANDIR_TAIL): New macro.
29812         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29813         * dirent/scandir-cancel.c: ... to this new file.
29814         * dirent/Makefile (routines): Add it.
29815         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29816         * sysdeps/unix/sysv/linux/i386/scandir64.c
29817         (SKIP_SCANDIR_CANCEL): Macro removed.
29818         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29820         * dirent/tst-scandir.c: New file.
29821         * dirent/tst-scandir64.c: New file.
29822         * dirent/Makefile (tests): Add them.
29824 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29826         [BZ #18409]
29827         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29829 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29831         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29832         list.
29834 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29836         * benchtests/bench-strcoll.c: New benchmark.
29837         * benchtests/Makefile: Generate locales and run benchmark.
29838         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29839         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29840         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29841         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29842         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29843         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29844         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29845         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29846         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29847         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29848         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29849         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29850         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29851         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29852         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29853         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29854         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29855         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29856         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29857         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29858         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29859         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29860         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29861         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29863 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29865         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29866         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29868 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29870         * posix/uname-values.h: New file.
29871         * posix/uname.c: Include that instead of <config-name.h>.
29872         * sysdeps/nacl/uname-values.h: New file.
29873         * sysdeps/arm/nacl/uname-values.h: New file.
29875 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29877         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29878         splitting into fields.
29880 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29882         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29883         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29884         * locale/localeinfo.h: Add enum collation_encoding_type.
29885         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29886         * programs/ld-collate.c (collate_output): Add encoding type info.
29887         * string/strcoll_l.c (STRDIFF): New function.
29888         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29889         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29891 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29893         [BZ #18397]
29894         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29895         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29896         <fpu_control.h> instead of <math/fpu_control.c>.
29897         * sysdeps/mips/mips32/fpu/Makefile: New file.
29899 2015-05-11  Andreas Schwab  <schwab@suse.de>
29901         [BZ #18007]
29902         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29903         nss_endgrent.
29904         (_nss_compat_endgrent): Call nss_endgrent.
29905         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29906         nss_endpwent.
29907         (_nss_compat_endpwent): Call nss_endpwent.
29908         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29909         needent, call nss_setspent only if non-zero.
29910         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29911         (internal_endspent): Don't call nss_endspent.
29912         (_nss_compat_endspent): Call nss_endspent.
29913         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29914         Remove.  All uses removed.
29915         (internal_setent): Remove parameter stayopen, add parameter
29916         stream.  Use it instead of global variable.
29917         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29918         (internal_endent, internal_getent): Add parameter stream.  Use it
29919         instead of global variable.
29920         (CONCAT(_nss_files_end,ENTNAME))
29921         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29922         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29923         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29924         uses removed.
29925         (internal_setent, internal_endent): Add parameter stream.  Use it
29926         instead of global variable.
29927         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29928         stream.
29929         (get_next_alias): Add parameter stream.
29930         (_nss_files_getaliasent_r): Pass global stream.
29931         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29932         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29933         (_nss_files_gethostbyname4_r): Pass local stream to
29934         internal_setent, internal_getent and internal_endent.  Remove
29935         locking.
29937 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29939         * tst-strfmon1.c (tests): Update expected currency symbol.
29941 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29943         * sysdeps/nacl/gethostname.c: New file.
29945 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29947         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29948         and sinh.
29949         * math/auto-libm-test-out: Regenerated.
29950         * sysdeps/i386/fpu/libm-test-ulps: Update.
29951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29953 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29955         [BZ #18125]
29956         * stdlib/tst-setcontext3.c: New file.
29957         * stdlib/tst-setcontext3.sh: New file.
29958         * stdlib/Makefile (tests): Add tst-setcontext3.
29959         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29960         to verify test program created output file.
29961         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29962         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29963         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29964         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29966 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29968         [BZ #18383]
29969         * elf/tst-tlsalign.c: New file.
29970         * elf/tst-tlsalign-static.c: New file.
29971         * elf/tst-tlsalign-lib.c: New file.
29972         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29973         (tests-static): Add tst-tlsalign-static.
29974         (modules-names): Add tst-tlsalign-lib.
29975         (test-xfail-tst-tlsalign): New variable.
29976         (test-xfail-tst-tlsalign-static): New variable.
29978         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29979         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29981 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29983         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29984         csqrt, erfc, sin and sincos.
29985         * math/auto-libm-test-out: Regenerated.
29986         * sysdeps/i386/fpu/libm-test-ulps: Update.
29987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29989 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29991         * sysdeps/aarch64/libm-test-ulps: Update.
29993 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29995         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29996         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29997         * math/auto-libm-test-out: Regenerated.
29998         * sysdeps/i386/fpu/libm-test-ulps: Update.
29999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30001 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30003         [BZ #18265]
30004         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30005         (wcsncpy): Likewise.
30007 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30009         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30010         Assume __ASSUME_FALLOCATE is always true.
30011         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30012         (__posix_fallocate64_l64): Likewise.
30013         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30014         (posix_fallocate): Likewise.
30015         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30016         (__posix_fallocate64_l64): Likewise.
30017         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30018         [!__ASSUME_FALLOCATE]: Add comment.
30020 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30022         * sysdeps/unix/sysv/linux/i386/Makefile
30023         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30024         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30025         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30026         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30027         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30028         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30029         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30031 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30033         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30034         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30035         tgamma.
30036         * math/auto-libm-test-out: Regenerated.
30037         * sysdeps/i386/fpu/libm-test-ulps: Update.
30038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30040 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30042         * math/auto-libm-test-in: Add more tests of tgamma.
30043         * math/auto-libm-test-out: Regenerated.
30044         * sysdeps/i386/fpu/libm-test-ulps: Update.
30045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30047         * math/auto-libm-test-in: Add more tests of tanh.
30048         * math/auto-libm-test-out: Regenerated.
30049         * sysdeps/i386/fpu/libm-test-ulps: Update.
30050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30052         * math/auto-libm-test-in: Add more tests of tan.
30053         * math/auto-libm-test-out: Regenerated.
30054         * sysdeps/i386/fpu/libm-test-ulps: Update.
30055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30057         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30058         * math/auto-libm-test-out: Regenerated.
30059         * sysdeps/i386/fpu/libm-test-ulps: Update.
30060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30062         * math/auto-libm-test-in: Add another test of pow.
30063         * math/auto-libm-test-out: Regenerated.
30064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30066         * math/auto-libm-test-in: Add more tests of lgamma.
30067         * math/auto-libm-test-out: Regenerated.
30068         * sysdeps/i386/fpu/libm-test-ulps: Update.
30069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30071         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30072         log1p.
30073         * math/auto-libm-test-out: Regenerated.
30074         * sysdeps/i386/fpu/libm-test-ulps: Update.
30075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30077 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30079         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30080         Elf64_Chdr structs and ELFCOMPRESS constants.
30082 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30084         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30085         expm1.
30086         * math/auto-libm-test-out: Regenerated.
30087         * sysdeps/i386/fpu/libm-test-ulps: Update.
30088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30090         * math/auto-libm-test-in: Add more tests of erf and erfc.
30091         * math/auto-libm-test-out: Regenerated.
30092         * sysdeps/i386/fpu/libm-test-ulps: Update.
30093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30095 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30097         * config.h.in (HAVE_AARCH64_BE): Add.
30099 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30101         * math/auto-libm-test-in: Add more tests of csqrt.
30102         * math/auto-libm-test-out: Regenerated.
30103         * sysdeps/i386/fpu/libm-test-ulps: Update.
30104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30106         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30107         * math/auto-libm-test-out: Regenerated.
30108         * sysdeps/i386/fpu/libm-test-ulps: Update.
30109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30111         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30113 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30115         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30116         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30118         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30119         (euidaccess, eaccess): Define as weak aliases.
30121         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30122         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30123         but __suseconds_t is often 'long int' so some sources assume that
30124         type is being used (e.g. they use %ld to print tv_usec).
30126 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30128         [BZ #18007]
30129         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30130         (CVE-2014-8121)
30131         * nss/tst-nss-getpwent.c: New file.
30132         * nss/Makefile (tests): Add new test.
30134 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30136         [BZ #18346]
30137         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30138         exponents less than 48 as cases where high part of mantissa needs
30139         examining to determine whether argument is integral.
30140         * math/libm-test.inc (round_test_data): Add more tests.
30142 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30144         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30146 2015-04-27  David S. Miller  <davem@davemloft.net>
30148         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30149         __tls_get_addr.
30150         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30152 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30154         [BZ#18333]
30155         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30157 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30159         [BZ#18333]
30160         * time/tzset.c (parse_tzname): Return error on memory allocation
30161         failure.
30162         * test-skeleton.c (struct temp_name_list): Change type of name
30163         member to non-const.
30164         (add_temp_file): Create a copy of the file name.
30165         (delete_temp_files): Deallocate memory.
30166         (create_temp_file): Add comment.
30168 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30170         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30171         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30173 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30175         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30176         * sysdeps/arm/configure: Regenerated.
30178 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30180         [BZ #17715]
30181         * time/tzfile.c (__tzfile_read): Check for large values of
30182         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30183         * time/tzset.c (__tzstring_len): New function, based on the old
30184         __tzstring function.
30185         (__tzstring): Call __tzstring_len.
30186         (parse_tzname): New helper function extracted from
30187         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30188         the input string.
30189         (parse_offset): New helper function extracted from
30190         __tzset_parse_tz.  Replace switch with fallthrough with
30191         initialization before sscanf.
30192         (parse_rule): Likewise.
30193         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30194         new-style function definition.
30195         * timezone/Makefile (tests): Add tst-tzset.
30196         (tst-tzset.out): Dependencies on time zone files.
30197         (tst-tzset-ENV): Set TZDIR.
30198         (testdata/XT%): Copy crafted time zone files.
30199         * timezone/README: Mention crafted time zone files.
30200         * timezone/testdata/XT1, timezone/testdata/XT2,
30201         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30202         files.
30203         * timezone/tst-tzset.c: New test.
30205 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30207         * Makeconfig (+gccwarn): Remove -Winline.
30209 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30211         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30213 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30215         * NEWS: Mention sysconf() cache information support for s390.
30216         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30218 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30220         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30221         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30222         (__nearbyint): Likewise.
30223         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30224         (copysignl): Likewise.
30226 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30228         [BZ #18287]
30229         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30230         based on padding.  (CVE-2015-1781)
30232 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30234         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30235         libc-vdso.h.
30236         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30237         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30238         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30239         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30240         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30241         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30242         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30243         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30244         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30245         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30246         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30247         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30248         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30249         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30250         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30251         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30252         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30253         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30254         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30255         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30256         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30257         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30258         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30260 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30262         * stdlib/setenv.c (__add_to_environ):
30263         Dump core quickly if setenv (..., NULL, ...) is called.
30264         This time, do it the right way, and pacify GCC with a pragma.
30266 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30268         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30269         IMAP->l_prev cannot be null, and #if out the code for the contrary
30270         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30271         believe that NS (&_dl_ns[NSID]) could point outside the array.
30273         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30274         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30275         before using NSID as an index.
30277 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30279         [BZ #17825]
30280         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30281         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30282         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30284 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30286         Add preliminary port to Google Native Client on ARM.
30287         * abi-tags (.*-.*-nacl.*): New entry.
30288         * sysdeps/arm/nacl: New directory.
30289         * sysdeps/nacl: New directory.
30291 2015-04-16  David S. Miller  <davem@davemloft.net>
30293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30294         lowlevellock-futex.h
30296 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30298         * sysdeps/tile/configure.ac: New file.
30299         * sysdeps/tile/configure: Regenerated.
30301 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30303         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30304         conditionals for weak_alias and libc_hidden_weak.
30305         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30306         libc_hidden_weak and weak_alias.
30307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30308         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30309         and weak_alias for static one.
30311 2015-04-15  David S. Miller  <davem@davemloft.net>
30313         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30315 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30317         [BZ #18206]
30318         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30319           Use signed comparision instead of substraction to avoid
30320           overflow bug.
30321         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30322           Take the sign of ret.
30323         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30324           Do not expect precise return values. Only the sign matters.
30325         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30326         * wcsmbs/test-wcsncmp.c: New File.
30327         * string/test-strncmp.c: Add wcsncmp support.
30329 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30331         [BZ #6792]
30332         * math/w_log1p.c: New file.
30333         * math/w_log1pf.c: Likewise.
30334         * math/w_log1pl.c: Likewise.
30335         * math/Makefile (libm-calls): Add w_log1p.
30336         * math/s_log1pl.c (log1pl): Remove weak_alias.
30337         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30338         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30339         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30340         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30341         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30342         [NO_LONG_DOUBLE] (log1pl): Likewise.
30343         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30344         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30345         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30346         (log1p): Remove long_double_symbol.
30347         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30348         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30349         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30350         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30351         remove weak_alias for corresponding log1p function.
30352         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30353         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30354         * sysdeps/ia64/fpu/w_log1p.c: New file.
30355         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30356         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30357         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30359 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30361         [BZ #18247]
30362         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30363         decimal exponent by 1.
30364         * stdlib/tst-strtod-round-data: Add more tests.
30365         * stdlib/tst-strtod-round.c (tests): Regenerated.
30367 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30369         * math/auto-libm-test-in: Add more tests of clog and clog10.
30370         * math/auto-libm-test-out: Regenerated.
30371         * sysdeps/i386/fpu/libm-test-ulps: Update.
30372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30374 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30376         * Makeconfig (module-cppflags): Exclude all .v.i files.
30377         (skip-module-cppflags): Variable removed.
30379         * configure.ac (libc_config_ok): Initialize before reading
30380         preconfigure scripts, not after.
30381         * configure: Regenerated.
30383         * test-skeleton.c (TIMEOUT): Move #define to top level.
30384         (main): Grok environment variable TEST_DIRECT.  If set, print
30385         test expectation details into that file and then behave as if
30386         given --direct.
30388 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30390         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30391         warning on 32-bit.
30393 2015-04-08  David S. Miller  <davem@davemloft.net>
30395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30397 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30399         * math/auto-libm-test-in: Add more tests of atanh.
30400         * math/auto-libm-test-out: Regenerated.
30401         * sysdeps/i386/fpu/libm-test-ulps: Update.
30402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30404         * math/auto-libm-test-in: Add more tests of atan.
30405         * math/auto-libm-test-out: Regenerated.
30406         * sysdeps/i386/fpu/libm-test-ulps: Update.
30407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30409 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30411         * elf/pldd.c (main): Rewrite to use struct
30412         scratch_buffer instead of extend_alloca.
30413         * elf/pldd-xx.c (find_maps): Likewise.
30414         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30415         <alloca.h>.
30416         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30417         scratch_buffer instead of extend_alloca.
30418         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30419         grp/compat-initgroups.c.
30420         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30421         Rewrite to use struct scratch_buffer instead of extend_alloca.
30422         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30423         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30425 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30427         * math/auto-libm-test-in: Add more tests of cbrt.
30428         * math/auto-libm-test-out: Regenerated.
30429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30431         * math/auto-libm-test-in: Add more tests of cabs.
30432         * math/auto-libm-test-out: Regenerated.
30433         * sysdeps/i386/fpu/libm-test-ulps: Update.
30434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30436         [BZ #18210]
30437         [BZ #18211]
30438         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30439         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30440         computations.
30441         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30442         clog10.
30443         * math/auto-libm-test-out: Regenerated.
30444         * sysdeps/i386/fpu/libm-test-ulps: Update.
30445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30447         [BZ #18197]
30448         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30449         (atan): Set FE_TONEAREST mode for internal computations.
30450         * math/auto-libm-test-in: Add more tests of atan.
30451         * math/auto-libm-test-out: Regenerated.
30453 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30455         [BZ #17930]
30456         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30458 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30460         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30462 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30464         * include/scratch_buffer.h: New file.
30465         * malloc/scratch_buffer_grow.c: Likewise.
30466         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30467         * malloc/scratch_buffer_set_array_size.c: Likewise.
30468         * malloc/tst-scratch_buffer.c: Likewise.
30469         * malloc/Makefile (routines): Add scratch_buffer_grow.
30470         (tests): Add test case.
30471         * malloc/Versions (GLIBC_PRIVATE): Export
30472         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30473         __libc_scratch_buffer_set_array_size.
30475 2015-04-06  Richard Henderson  <rth@redhat.com>
30477         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30478         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30480         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30481         unsigned int before printing.
30483 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30485         [BZ #17596]
30486         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30487         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30489 2015-04-02  Florian Weimer  <fweimer@redhat.com>
30491         * include/libc-internal.h (libc_max_align_t): Define.
30493 2015-04-02  Andreas Schwab  <schwab@suse.de>
30495         [BZ #16850]
30496         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
30498 2015-04-02  Mel Gorman  <mgorman@suse.de>
30500         [BZ #17195]
30501         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
30502         as well as the main arena.
30504 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30506         [BZ #18185]
30507         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
30508         sharing L2 cache to 2 for Silvermont/Knights Landing.
30510 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30512         [BZ #17711]
30513         * config.make.in (have-protected-data): New.
30514         * configure.ac: Check linker support for protected data symbol.
30515         * configure: Regenerated.
30516         * elf/Makefile (modules-names): Add tst-protected1moda and
30517         tst-protected1modb if $(have-protected-data) is yes.
30518         (tests): Add tst-protected1a and tst-protected1b if
30519         $(have-protected-data) is yes.
30520         ($(objpfx)tst-protected1a): New.
30521         ($(objpfx)tst-protected1b): Likewise.
30522         (tst-protected1modb.so-no-z-defs): Likewise.
30523         * elf/tst-protected1a.c: New file.
30524         * elf/tst-protected1b.c: Likewise.
30525         * elf/tst-protected1mod.h: Likewise.
30526         * elf/tst-protected1moda.c: Likewise.
30527         * elf/tst-protected1modb.c: Likewise.
30529 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30531         [BZ #17711]
30532         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
30533         indicates it is called from do_lookup_x on relocation against
30534         protected data, skip the data definion in the executable from
30535         copy reloc.
30536         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
30537         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
30538         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30539         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
30540         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
30541         otherwise to 0.
30542         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30543         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
30544         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
30545         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30546         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
30547         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
30549 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
30551         * sysdeps/nptl/pthread.h: Remove duplicate definition of
30552         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
30554 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
30556         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
30557         THREAD_SETMEM_NC.
30558         * sysdeps/x86_64/nptl/tls.h: Ditto.
30560 2015-03-27  Roland McGrath  <roland@hack.frob.com>
30562         * dlfcn/tststatic.c (main): Converted to ...
30563         (do_test): ... this.
30564         (TEST_FUNCTION): New macro.
30565         Include test-skeleton.c.
30567 2015-03-26  Alan Modra  <amodra@gmail.com>
30569         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
30570         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
30571         zero for undefined weak.
30572         (elf_machine_plt_conflict): Similarly.
30574 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30576         * math/auto-libm-test-in: Add more tests of acosh, asinh and
30577         atanh.
30578         * math/auto-libm-test-out: Regenerated.
30579         * sysdeps/i386/fpu/libm-test-ulps: Update.
30580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30582         * math/auto-libm-test-in: Add another test of asin.
30583         * math/auto-libm-test-out: Regenerated.
30584         * sysdeps/i386/fpu/libm-test-ulps: Update.
30585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30587         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
30588         Remove macro.
30589         (LLL_EBX_REG): Likewise.
30590         (LLL_ENTER_KERNEL): Likewise.
30592         * math/auto-libm-test-in: Add more tests of asin.
30593         * math/auto-libm-test-out: Regenerated.
30594         * sysdeps/i386/fpu/libm-test-ulps: Update.
30595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30597         [BZ #18138]
30598         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
30599         libc_do_syscall_args): New structure.
30600         (INTERNAL_SYSCALL_MAIN_0): New macro.
30601         (INTERNAL_SYSCALL_MAIN_1): Likewise.
30602         (INTERNAL_SYSCALL_MAIN_2): Likewise.
30603         (INTERNAL_SYSCALL_MAIN_3): Likewise.
30604         (INTERNAL_SYSCALL_MAIN_4): Likewise.
30605         (INTERNAL_SYSCALL_MAIN_5): Likewise.
30606         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
30607         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
30608         Replace conditional definitions by conditional definitions of ....
30609         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
30610         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
30611         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
30612         (libpthread-sysdep_routines): Add libc-do-syscall.
30613         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
30614         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
30615         to __NR_futex not 240.
30617 2015-03-25  Alan Modra  <amodra@gmail.com>
30619         * NEWS: Advertise TLS optimization.
30620         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
30621         (DT_PPC_NUM): Increment.
30622         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
30623         (CHECK_STATIC_TLS): Use here.
30624         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
30625         TLS descriptors.
30626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30627         * sysdeps/powerpc/dl-tls.c: New file.
30628         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
30629         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
30630         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
30631         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
30632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
30633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
30634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
30636 2015-03-25  Alan Modra  <amodra@gmail.com>
30638         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
30639         for overlapping .opd entries" to "support...".
30640         * sysdeps/powerpc/powerpc64/configure: Regenerate
30642 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30644         * math/auto-libm-test-in: Add more tests of acos.
30645         * math/auto-libm-test-out: Regenerated.
30646         * sysdeps/i386/fpu/libm-test-ulps: Update.
30647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30649         * math/auto-libm-test-in: Add more tests of expm1.
30650         * math/auto-libm-test-out: Regenerated.
30651         * sysdeps/i386/fpu/libm-test-ulps: Update.
30652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30654 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30656         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30657         * math/auto-libm-test-out: Regenerated.
30658         * sysdeps/i386/fpu/libm-test-ulps: Update.
30659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30661         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30664         * math/auto-libm-test-in: Add more tests of log2.
30665         * math/auto-libm-test-out: Regenerated.
30666         * sysdeps/i386/fpu/libm-test-ulps: Update.
30667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30669 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30671         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30672         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30673         _IO_IS_APPENDING bit in READ_WRITE instead.
30675 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30677         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30678         (__determine_cpumask_size): Replace extend_alloca with a
30679         variable-length array.  Do not treat res == 0 as an error.
30681 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30683         [BZ #18100]
30684         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30685         and integer overflow.
30686         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30687         (main): Add integer overflow tests.
30688         * manual/pattern.texi (Calling Wordexp): Document additional use
30689         for WRDE_SYNTAX.
30691 2015-03-23  Alan Modra  <amodra@gmail.com>
30693         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30694         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30695         and false branch of conditional.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30697         Likewise.
30699 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30701         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30702         libc-modules.h
30703         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30704         unused declaration of _hurd_intr_rpc_msg_in_trap.
30705         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30706         defined instead of whether it is non-zero.
30707         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30708         input constraint instead of both input and output constraint.  Use ecx
30709         clobber instead of %ecx.
30710         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30711         mutex_unlock): Use a statement expression instead of an expression list.
30712         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30713         type to vm_size_t instead of vm_address_t.
30714         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30715         defined instead of whether it is non-zero.
30716         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30717         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30718         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30719         comparisons with mapaddr.
30720         * nscd/nscd-client.h: Include <time.h>.
30721         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30722         9th parameter to __vm_region instead of int.
30723         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30724         * scripts/check-local-headers.sh (exclude): Add device/,
30725         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30726         cthreads.h.
30728 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30730         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30731         to account for alignment padding.
30732         * sysdeps/arm/memmove.S: Likewise.
30734 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30736         * sysdeps/unix/sysv/linux/generic/README: New file.
30738 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30740         [BZ #18138]
30741         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30742         (futex_abstimed_wait)
30743         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30744         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30745         of lll_futex_timed_wait.
30747 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30749         [BZ #17542]
30750         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30752 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30754         [BZ #17090]
30755         [BZ #17620]
30756         [BZ #17621]
30757         [BZ #17628]
30758         * NEWS: Update.
30759         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30760         entries with Static TLS too.  Skip entries past the end of the
30761         allocated DTV, from Alan Modra.
30762         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30763         Static TLS DTV entry set up from...
30764         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30765         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30766         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30767         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30768         for Static TLS.
30769         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30770         that the slot we find is associated with the given map before
30771         using its generation count.
30772         * nptl_db/db_info.c: Include ldsodefs.h.
30773         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30774         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30775         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30776         (link_map::l_tls_offset): New struct field.
30777         (dtv_t::counter): Likewise.
30778         (rtld_global): New struct.
30779         (_rtld_global): New rtld variable.
30780         (dl_tls_dtv_slotinfo_list): New rtld global field.
30781         (dtv_slotinfo_list): New struct.
30782         (dtv_slotinfo): Likewise.
30783         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30784         (td_lookup): Rename to...
30785         (td_mod_lookup): ... this.  Use new mod parameter instead of
30786         LIBPTHREAD_SO.
30787         * nptl_db/td_thr_tlsbase.c: Include link.h.
30788         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30789         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30790         addresses even if the DTV is out of date or missing them.
30791         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30792         index zero-length arrays.
30793         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30794         (td_lookup): Make it a macro implemented in terms of...
30795         (td_mod_lookup): ... this declaration.
30796         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30797         (DB_MAIN_VARIABLE): Likewise.
30799 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30801         [BZ #18134]
30802         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30804 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30806         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30808 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30810         [BZ #18128]
30811         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30812         (atomic_add, atomic_increment_and_test)
30813         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30815 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30817         * stdlib/setenv.c (__add_to_environ):
30818         Dump core quickly if setenv (..., NULL, ...) is called.
30820 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30822         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30823         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30824         all the necessary asm magic in one place.
30825         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30826         using those.
30828 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30830         [BZ #14906]
30831         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30832         traced file mtime. Use consistent log message.
30833         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30834         (register_traced_file): Call install_watches. Always set mtime.
30835         (invalidate_cache): Iterate over all trace files. Call install_watches.
30836         (inotify_check_files): Don't inline. Handle watching parent
30837         directories and configuration file movement in and out.
30838         (handle_inotify_events): New function.
30839         (main_loop_poll): Call handle_inotify_events.
30840         (main_loop_epoll): Likewise.
30841         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30842         (struct traced_file): Use array of inotify fds. Add parent directory,
30843         and basename.
30844         (struct database_dyn): Remove unused file_mtime.
30845         (init_traced_file): New inline function.
30846         (define_traced_file): New macro.
30847         * nss/nss_db/db-init.c: Use define_traced_file.
30848         (_nss_db_init): Use init_traced_file.
30849         * nss/nss_files/files-init.c: Use define_traced_file.
30850         (_nss_files_init): Use init_traced_file.
30852 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30854         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30855         [_LIBC]: Do not include <stdlib.h>.
30856         [!_LIBC] (abort): Remove declaration.
30857         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30858         _FP_STATIC_ASSERT instead of conditionally calling abort.
30859         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30860         (_FP_EXTEND_CNAN): Likewise.
30861         (FP_TRUNC): Likewise.
30862         (__FP_CLZ): Likewise.
30863         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30865 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30867         * manual/string.texi (XPG basename): Fix prototype.
30869 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30871         [BZ #18080]
30872         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30873         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30874         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30875         (__setcontext): Likewise.
30876         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30877         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30878         Call rt_sigprocmask syscall one time to set new signal mask
30879         and retrieve the current signal mask instead of two calls.
30880         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30881         (__swapcontext): Likewise.
30882         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30883         * stdlib/tst-setcontext2.c: New file.
30885 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30887         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30889 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30891         [BZ #18093]
30892         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30893         the wrong size.
30895 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30897         [BZ #18043]
30898         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30900 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30902         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30903         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30904         Remove define.
30905         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30906         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30907         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30908         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30909         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30910         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30911         define.
30912         * nptl_db/td_symbol_list.c (td_lookup): Remove
30913         HAVE_ASM_GLOBAL_DOT_NAME code.
30914         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30915         HAVE_ASM_GLOBAL_DOT_NAME check.
30916         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30917         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30918         (DOT_LABEL): Remove define.
30919         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30920         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30921         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30922         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30923         (__TLS_GET_ADDR): Likewise.
30924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30925         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30927 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30929         [BZ #18111]
30930         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30931         (_FPU_SETCW): Initialize cw from fpsr before storing.
30932         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30933         (fesetexceptflag): Rewrite using fpu_control.h.
30934         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30936 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30938         [BZ #18110]
30939         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30940         asms.
30941         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30943 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30945         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30946         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30947         abort.
30948         (_FP_FMA): Likewise.
30949         (_FP_DIV): Likewise.
30951 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30953         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30954         with 0 in that case.
30955         * Makefile (summarize-tests): New canned sequence, factored out of
30956         commands for targets tests and xtests.  Display summary lines that
30957         don't start with PASS: or XFAIL: rather than ones that do start with
30958         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30959         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30960         do start with ERROR: or FAIL:.
30961         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30962         (except for [$(build-shared) = yes]).
30963         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30964         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30965         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30966         * nptl/Makefile: Revert 2015-03-04 changes.
30967         [$(CXX) empty] (tests-unsupported): New variable.
30968         * debug/Makefile: Likewise.
30970         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30971         gnulib file.  Replace __attribute with __attribute__ throughout.
30973 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30975         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30977 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30979         [BZ #18104]
30980         * math/auto-libm-test-in: Add another test of pow.
30981         * math/auto-libm-test-out: Regenerated.
30983 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30985         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30986         $(config-cflags-nofma).
30988 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30990         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30991         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30992         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30993         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30994         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30995         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30996         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30997         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30998         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30999         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31000         Add comment on closing #endif.
31002 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31004         * posix/wordexp.c (CHAR_IN_SET): New macro.
31005         (parse_param): Use it.
31007 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31009         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31011 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31013         [BZ #18043]
31014         * posix/wordexp.c (parse_param): Fix buffer overflow.
31015         * posix/wordexp-test.c (test_case): Add test case.
31017 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31019         [BZ #18042]
31020         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31021         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31023 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31025         [BZ #18043]
31026         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31027         (do_bz18043): Delete.
31028         (at_page_end): New.
31029         (testit): Refactor to have words at the edge of unreadable page.
31031 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31033         [BZ #16734]
31034         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31035         Cleanup read-only streams as well.
31036         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31038 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31040         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31041         <bits/libc-lockP.h>
31043 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31045         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31046         on [__KERNEL__].
31047         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31048         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31049         * soft-fp/op-common.h (_FP_DECL): Likewise.
31051 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31053         * elf/ifuncdep2.c (global): Replace
31054         __attribute__((visibility("protected"))) with
31055         asm (".protected global").
31056         * elf/ifuncmod1.c (global): Likewise.
31057         * elf/ifuncmod5.c (global): Likewise.
31059 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31061         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31062         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31064 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31066         * manual/install.texi (Configuring and compiling):
31067         Document test-wrapper-env-only.
31068         * INSTALL: Regenerated.
31070 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31072         [BZ #18043]
31073         * posix/wordexp.c (parse_param): Fix buffer overflow.
31074         * posix/wordexp-test.c (do_bz18043): Add test case.
31076 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31078         * time/tst-strptime2.c (do_test): Ensure failing tests are
31079         reported correctly.
31080         * time/tst-strptime3.c (do_test): Likewise.
31082 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31084         Fix aio_error thread-safety.
31085         * sysdeps/pthread/aio_error.c: New file
31086         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31087         synchronization.
31089 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31091         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31092         (group_number, vfprintf): Use it.
31093         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31094         (JUMP, REF): Use it.
31095         (WORK_BUFFER_SIZE): New enum constant.
31096         (process_arg, vfprintf): Use it.
31098 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31100         * manual/errno.texi (Error Messages): Complete example function
31101         by adding missing #define.
31102         (program_invocation_name): Add statement indicating GNU
31103         extension and reference which header file declares the variable.
31104         (program_invocation_short_name): Likewise.
31106 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31108         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31109         compatibility note.
31111 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31113         * Makeconfig (test-wrapper-env-only): New variable.
31114         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31115         then use that with $(test-wrapper-env-only) rather than using
31116         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31118 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31120         [BZ #18082]
31121         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31122         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31123         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31124         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31125         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31126         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31127         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31128         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31129         Likewise.
31130         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31131         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31132         Likewise.
31133         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31134         Likewise.
31135         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31136         Likewise.
31137         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31138         Likewise.
31139         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31140         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31141         Likewise.
31142         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31143         Likewise.
31144         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31145         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31147 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31149         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31150         (ETH_ALEN): New macro.
31151         (struct ether_addr): Use it for length of ether_addr_octet.
31153         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31154         (setdb): Don't call __nss_configure_lookup for "rpc".
31155         (do_test): Don't call test_rpc.
31156         (output_rpcent, test_rpc): Functions moved ...
31157         * sunrpc/test-rpcent.c: ... to this new file.
31158         * sunrpc/Makefile (tests): Add it.
31160         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31161         __xpg_sigpause.
31162         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31163         * nptl/tst-signal6.c: Likewise.
31164         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31165         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31167         * configure.ac (libc_cv_cxx_link_ok): New check.
31168         Reset CXX to empty if it fails to link.
31169         * configure: Regenerated.
31170         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31171         bug-atexit3-lib only if $(CXX) is nonempty.
31172         * nptl/Makefile (tests): Likewise for tst-cancel24.
31173         (tests, tests-static): Likewise for tst-cancel24-static.
31174         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31175         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31176         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31177         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31179 2015-03-04  Andreas Schwab  <schwab@suse.de>
31181         [BZ #17631]
31182         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31183         for non-GCC compilers.
31184         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31185         Likewise.
31187 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31189         [BZ #17776]
31190         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31191         integer before bitwise and assembly operations.
31192         (feclearexcept): Likewise.
31193         * math/test-fenvinline.c: New file.
31194         * math/Makefile: Add test-fenvinline test.
31196 2015-03-03  Alan Modra  <amodra@gmail.com>
31198         [BZ #16512]
31199         * scripts/localplt.awk: Strip off symbol version.
31200         * NEWS: Mention bug fix.
31202 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31204         * sysdeps/pthread/timer_routines.c
31205         (timer_free_list, thread_free_list, thread_active_list): Make static.
31207 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31209         [BZ #17779]
31210         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31211         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31212         Undefine.
31213         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31214         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31215         Likewise.
31216         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31217         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31218         Likewise.
31220 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31222         [BZ #18036]
31223         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31224         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31226 2015-03-02  Andreas Schwab  <schwab@suse.de>
31228         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31229         variable name.
31231 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31233         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31234         Return error status.
31236 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31238         [BZ #15969]
31239         * locale/findlocale.c (_nl_find_locale): Introduce const
31240         version of loc_name and drop unsafe type casts.
31242 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31244         * dlfcn/tststatic2.c (main): Converted to ...
31245         (do_test): ... this.
31246         (TEST_FUNCTION): New macro.
31247         Include test-skeleton.c.
31249 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31251         [BZ #17711]
31252         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31253         (tests-pie): Add vismain.
31254         (CFLAGS-vismain.c): New.
31255         * elf/vismain.c: Add comments for PIE requirement.
31257 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31259         [BZ #18046]
31260         [BZ #18047]
31261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31262         0x1p-56L as threshold for just returning the argument.
31263         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31264         0x1p-32L as threshold for just returning the argument.
31265         * math/auto-libm-test-in: Add more tests of atanh.
31266         * math/auto-libm-test-out: Regenerated.
31267         * sysdeps/i386/fpu/libm-test-ulps: Update.
31268         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31270 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31272         * string/bcopy.c (bcopy): Call memmove for performance.
31274 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31276         * string/bzero.c (__bzero): Call memset for performance.
31278 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31280         [BZ #18068]
31281         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31282         to 00100000.
31284 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31286         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31288 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31290         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31291         (__kernel_standard): Use CSTR macro when setting exc.name.
31292         * sysdeps/ieee754/Makefile [$(subdir) = math]
31293         (CFLAGS-k_standard.c): Remove variable.
31295         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31296         setting p and q from "else if" to "else".
31297         (qzero): Likewise.
31298         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31299         (qone): Likewise.
31300         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31301         (qzerof): Likewise.
31302         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31303         (qonef): Likewise.
31304         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31305         (qzero): Likewise.
31306         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31307         (qone): Likewise.
31309         [BZ #18038]
31310         [BZ #18039]
31311         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31312         return pi/2 for arguments below 0x1p-113L.
31313         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31314         return pi/2 for arguments below 0x1p-106L.
31315         * math/auto-libm-test-in: Add more tests of acos.
31316         * math/auto-libm-test-out: Regenerated.
31318         [BZ #16351]
31319         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31320         (MO): New macro.
31321         (__ieee754_asin): Force underflow exception for results with small
31322         absolute value.
31323         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31324         (MO): New macro.
31325         (__ieee754_asinf): Force underflow exception for results with
31326         small absolute value.
31327         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31328         (__ieee754_asin): Force underflow exception for results with small
31329         absolute value.
31330         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31331         (__ieee754_asinf): Force underflow exception for results with
31332         small absolute value.
31333         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31334         (__ieee754_asinl): Force underflow exception for results with
31335         small absolute value.
31336         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31337         (__ieee754_asinl): Force underflow exception for results with
31338         small absolute value.
31339         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31340         (__ieee754_asinl): Force underflow exception for results with
31341         small absolute value.
31342         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31343         Include <math.h>.
31344         * math/auto-libm-test-in: Do not mark underflow exceptions as
31345         possibly missing for bug 16351.
31346         * math/auto-libm-test-out: Regenerated.
31348         [BZ #18030]
31349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31350         of power of 2 down when low part has opposite sign.
31351         * math/libm-test.inc (logb_test_data): Add more tests.
31353 2015-02-26  Andreas Schwab  <schwab@suse.de>
31355         [BZ #18032]
31356         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31357         over collating symbol inside a bracket expression.  Minor cleanup.
31358         * posix/tst-fnmatch3.c (do_test): Add test case.
31360 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31362         [BZ #18029]
31363         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31364         Adjust exponent of power of 2 down when low part has opposite
31365         sign.
31366         * math/libm-test.inc (ilogb_test_data): Add more tests.
31368 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31370         [BZ #15969]
31371         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31372         the previous change.
31374         [BZ #15969]
31375         * locale/findlocale.c (_nl_find_locale): Retry archive search
31376         after alias expansion.
31378 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31380         * iconv/tst-iconv3.c (main): Converted to ...
31381         (do_test): ... this.
31382         (TEST_FUNCTION): New macro.
31383         Include test-skeleton.c.
31385         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31386         (convert): Make function static.
31387         (test_unalign): Likewise.  Add const to argument pointee types.
31388         (main): Replace with static function do_test.
31389         Print "Succeeded." only if RET is zero.
31390         (TEST_FUNCTION): New macro.
31391         Include test-skeleton.c.
31393         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31394         returns a null pointer.
31396 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31398         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31399         to __memcpy_ppc only for static builds.
31401 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31403         [BZ #18020]
31404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31405         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31406         * math/auto-libm-test-in: Add more tests of asinh.
31407         * math/auto-libm-test-out: Regenerated.
31408         * sysdeps/i386/fpu/libm-test-ulps: Update.
31409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31411 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31413         [BZ #15850]
31414         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31415         and ip6_mtuinfo definitions here.
31416         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31417         in this define too.  Update comment.
31419 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31421         * elf/sprof.c (load_shobj): Tweak error message to match others.
31423 2015-02-24  Kevin Easton  <kevin@guarana.org>
31425         [BZ #16145] (partial fix)
31426         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31427         to reduce lock contention.
31429 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31431         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31432         (struct timex): Update time comment.
31433         (ADJ_SETOFFSET): Define.
31435 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31437         [BZ #18019]
31438         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31439         2**56 not 2**28 as threshold for log (2x) formula.
31440         * math/auto-libm-test-in: Add more tests of acosh.
31441         * math/auto-libm-test-out: Regenerated.
31442         * sysdeps/i386/fpu/libm-test-ulps: Update.
31443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31445 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31447         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31448         parenthesis around the buf assignment.
31449         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31451 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31453         [BZ #16783]
31454         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31455         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31456         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31457         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31458         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31459         * math/libm-test.inc (scalb_test_data): Add more tests.
31461 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31463         [BZ #17916]
31464         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31465         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31467 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31469         [BZ #17523]
31470         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31471         * io/bits/fcntl2.h (open): Use it.
31472         (openat): Likewise.
31473         * io/open.c (__libc_open): Likewise.
31474         * io/open64.c (__libc_open64): Likewise.
31475         * io/open64_2.c (__open64_2): Likewise.
31476         * io/open_2.c (__open_2): Likewise.
31477         * io/openat.c (__openat): Likewise.
31478         * io/openat64.c (__openat64): Likewise.
31479         * io/openat64_2.c (__openat64_2): Likewise.
31480         * io/openat_2.c (__openat_2): Likewise.
31481         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31482         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31483         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31484         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31485         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31486         (__open_nocancel): Likewise.
31487         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31488         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31489         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
31491 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31493         [BZ #14841]
31494         * resolv/gethnamaddr.c (getanswer): Skip logging if
31495         RES_USE_DNSSEC is set.
31496         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31498 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31500         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
31502 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
31504         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31505         201304L, for Unicode 7.
31507 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
31509         [BZ #17836]
31510         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
31511         shared library.  Add gmon-start.os otherwise.
31512         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
31513         $(objpfx)gmon-start.os if builing shared library.
31514         ($(objpfx)g$(static-start-installed-name)): Likewise.
31516 2015-02-23  Andreas Schwab  <schwab@suse.de>
31518         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
31520 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31522         [BZ #17269]
31523         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
31524         (enlarge_userbuf): Likewise.
31526 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
31528         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
31529         * math/atest-exp.c (TIMEOUT): Adjust to 200.
31530         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
31531         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
31533 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
31535         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
31536         expression inside statement expression.
31538 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31540         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
31541         <sysdeps/nptl/lowlevellock.h> and remove macros and
31542         functions that are now defined there.
31543         (SYS_futex): Remove.
31544         (lll_compare_and_swap): Remove.
31545         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
31547 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
31549         [BZ #17999]
31550         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
31551         instead of scandirat.
31552         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
31553         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
31554         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
31555         __scandirat.
31556         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
31557         (__scandirat): Declare.  Use libc_hidden_proto.
31558         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
31559         Remove variable.
31560         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31562 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31564         [BZ #15319]
31565         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
31566         (MO): New macro.
31567         (__ieee754_atan2): For results with small absolute value, force
31568         underflow exception and remove excess range and precision from
31569         return value.
31570         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
31571         (MO): New macro.
31572         (__ieee754_atan2f): For results with small absolute value, force
31573         underflow exception and remove excess range and precision from
31574         return value.
31575         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
31576         (MO): New macro.
31577         (__atan): For results with small absolute value, force underflow
31578         exception and remove excess range and precision from return value.
31579         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
31580         (MO): New macro.
31581         (__atanf): For results with small absolute value, force underflow
31582         exception and remove excess range and precision from return value.
31583         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
31584         <math.h>.
31585         (__ieee754_atan2): Force underflow exception for results with
31586         small absolute value.
31587         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
31588         <math_private.h>.
31589         (atan): Force underflow exception for results with small absolute
31590         value.
31591         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
31592         (__atanf): Force underflow exception for results with small
31593         absolute value.
31594         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
31595         <math.h>.
31596         (__atanl): Force underflow exception for results with small
31597         absolute value.
31598         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
31599         (__atanl): Force underflow exception for results with small
31600         absolute value.
31601         * sysdeps/x86/fpu/bits/mathinline.h
31602         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
31603         (__ieee754_atan2): Only define inline for long double.
31604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
31605         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
31606         * math/auto-libm-test-in: Do not mark underflow exceptions as
31607         possibly missing for bug 15319.  Add more tests of atan2.
31608         * math/auto-libm-test-out: Regenerated.
31609         * math/libm-test.inc (casin_test_data): Do not mark underflow
31610         exceptions as possibly missing for bug 15319.
31611         (casinh_test_data): Likewise.
31612         * sysdeps/i386/fpu/libm-test-ulps: Update.
31614 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
31616         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
31617         * sysdeps/mips/bits/endian.h: Fix comments.
31619 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31621         [BZ #17996]
31622         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
31623         (hdestroy_r): Likewise.
31624         (hsearch_r): Likewise.
31625         (__hcreate_r): Declare and use libc_hidden_proto.
31626         (__hdestroy_r): Likewise.
31627         (__hsearch_r): Likewise.
31628         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
31629         (hcreate): Call __hcreate_r instead of hcreate_r.
31630         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
31631         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
31632         as weak alias of __hcreate_r.
31633         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
31634         __hdestroy_r.
31635         (hsearch_r): Rename to __hsearch_r and define as weak alias of
31636         __hsearch_r.
31637         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
31638         Remove variable.
31639         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31640         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31641         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31642         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31644 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31646         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
31647         arena_lock into a single arena_get.
31649 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
31651         * dl-reloc.c: Inlucde libc-internal.h.
31652         (_dl_try_allocate_static_tls): Call ALIGN_UP.
31653         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
31654         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31655         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31656         (grow_heap): Likewise.
31657         * malloc/malloc.c: Include libc-internal.h.
31658         (do_check_malloc): Call powerof2.
31659         (sysmalloc): Use pagesize. Call ALIGN_UP.
31660         (systrim): Use pagesize.
31661         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31662         (__libc_valloc): Use pagesize.
31663         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31665 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31667         [BZ #17991]
31668         * include/sys/resource.h (__getrlimit64): Declare.  Use
31669         libc_hidden_proto.
31670         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31671         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31672         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31673         getrlimit64.
31674         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31675         __getrlimit64.
31676         [!getrlimit64] (getrlimit64): Define as weak alias of
31677         __getrlimit64.  Use libc_hidden_weak.
31678         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31679         using __getrlimit64 not __new_getrlimit64.
31680         (__GI_getrlimit64): Likewise.
31681         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31682         Likewise.
31683         (__GI_getrlimit64): Likewise.
31684         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31686         (getrlimit): Add __getrlimit64 alias.
31687         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31688         Likewise.
31689         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31690         Remove variable.
31691         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31692         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31694 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31696         * libio/fileops.c: Add missing sys/mman.h
31697         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31699 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31701         * manual/math.texi (Errors in Math Functions): Clarify goals
31702         regarding inexact and underflow exceptions.
31704 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31706         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31707         * sysdeps/mips/memset.S: Ditto.
31709 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31711         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31713 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31715         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31716         (__v1longjmp): Remove versioned symbol.
31717         (__v1siglongjmp): Remove alias and versioned symbol.
31718         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31719         (__v2siglongjmp): Likewise.
31721 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31723         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31725 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31727         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31729 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31731         [BZ #17987]
31732         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31733         zero result does not depend on the sign resulting from
31734         subtraction.
31735         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31736         Likewise.
31737         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31738         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31739         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31740         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31741         * math/libm-test.inc (remquo_test_data): Add more tests.
31743 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31745         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31746         Problem reported by J William Piggott.
31748 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31750         [BZ #17978]
31751         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31752         products 4 * y and 2 * y where those would overflow.
31753         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31754         Likewise.
31755         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31756         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31757         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31758         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31759         * math/libm-test.inc (remquo_test_data): Add more tests.
31761         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31763         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31764         [defined _COMPILING_NEWLIB].
31765         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31766         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31768         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31769         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31771 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31773         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31774         acquired.
31776 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31778         [BZ #17792]
31779         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31780         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31781         HOST_STACK_END_ADDR): Likewise.
31783 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31785         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31786         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31787         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31789 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31791         * sysdeps/generic/c++-types.data: New file.
31792         * sysdeps/generic/ld.abilist: New file.
31793         * sysdeps/generic/libBrokenLocale.abilist: New file.
31794         * sysdeps/generic/libanl.abilist: New file.
31795         * sysdeps/generic/libc.abilist: New file.
31796         * sysdeps/generic/libcrypt.abilist: New file.
31797         * sysdeps/generic/libdl.abilist: New file.
31798         * sysdeps/generic/libm.abilist: New file.
31799         * sysdeps/generic/libpthread.abilist: New file.
31800         * sysdeps/generic/libresolv.abilist: New file.
31801         * sysdeps/generic/librt.abilist: New file.
31803 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31805         [BZ #17569]
31806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31807         Compute absolute value of x as modified by fmod, not original
31808         value of x.
31809         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31810         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31811         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31812         RUN_TEST_ffI_f1_mod8.
31813         (remquo_test_data): Add more tests.
31815 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31817         * sysdeps/init_array/pt-crti.S: New file.
31819 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31821         [BZ #17967]
31822         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31823         __builtin_fmaf instead of relying on contraction of a * b + c.
31825 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31827         [BZ #17969]
31828         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31829         node.
31831 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31833         [BZ #17964]
31834         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31835         __builtin_fma instead of relying on contraction of a * b + c.
31837 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31839         * Makeconfig (ASFLAGS): Add -Werror=undef.
31840         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31841         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31842         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31844         * Makeconfig (after-link): New variable.
31845         (+link-pie, +link-pie-tests): Use it.
31846         (+link-static, +link-static-tests): Likewise.
31847         (+link, +link-tests): Likewise.
31848         * Makerules (build-module, build-module-asneeded): Likewise.
31849         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31850         Likewise.
31851         * elf/Makefile ($(objpfx)ld.so): Likewise.
31853 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31855         [BZ #17965]
31856         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31857         both struct timeval and struct timespec.
31859 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31861         [BZ #16560]
31862         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31863         and redefine.
31864         (__ieee754_exp2l): Do not multiply small fractional parts by
31865         M_LN2l.
31866         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31867         small argument.
31868         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31869         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31870         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31871         * math/auto-libm-test-in: Add more tests of exp2.
31872         * math/auto-libm-test-out: Regenerated.
31874 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31876         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31877         unaligned path.
31879 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31881         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31882         little endian.
31884 2015-02-12  Andreas Schwab  <schwab@suse.de>
31886         [BZ #15790]
31887         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31888         Filter out elision flags from value returned in kind.
31889         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31890         * nptl/tst-pthread-mutexattr.c: New file.
31892 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31894         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31895         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31896         into gnu-gnu, and update comment to refer to abi-tags.
31898 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31900         [BZ #15467]
31901         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31902         (__sincos): Set errno to EDOM for infinite argument.
31903         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31904         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31905         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31906         (__sincosl): Set errno to EDOM for infinite argument.
31907         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31908         (__sincosl): Set errno to EDOM for infinite argument.
31909         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31910         (__sincosl): Set errno to EDOM for infinite argument.
31911         * math/libm-test.inc (sincos_test_data): Test errno setting.
31913 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31915         * string/strxfrm_l.c: Remove #define STRCMP.
31916         * string/strcoll_l.c: Remove #define STRLEN.
31917         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31918         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31920 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31922         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31923         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31924         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31925         * sysdeps/mips/mips64/Makefile: ... here.
31926         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31927         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31928         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31929         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31930         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31931         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31932         * sysdeps/mips/mips64/n64/Implies: Likewise.
31934 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31936         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31937         <sys/time.h>, <string.h>, and <errno.h>.
31938         (dest_offset, dest_address, value, zero): Remove unused variables.
31939         (ldouble): Remove typedef.
31940         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31941         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31942         1).  Fix code style.
31943         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31944         (check): Function removed.
31945         (CHECK): New macro.
31946         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31947         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31948         Don't call set_sigaction_FP and remove_sigaction_FP here.
31949         (ldouble_test): Just use 'long double' as macro argument, no need for
31950         the 'ldouble' typedef.
31951         (do_test): Set up SIGFPE handler at start, using plain signal rather
31952         than sigaction.  Fix code style.
31954 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31956         [BZ #17949]
31957         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31958         jump label.
31960 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31962         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31963         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31965         * sysdeps/powerpc/configure.ac: Remove file.
31966         * sysdeps/powerpc/configure: Likewise.
31968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31969         [sysdep_routines]: Remove wordcopy-power6 object.
31970         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31971         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31972         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31973         (__memmove_ppc32): Likewise.
31974         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31975         file.
31976         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31978         Remove preprocessor.
31980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31981         [sysdep_routines]: Remove wide chars objects.
31982         [wcsmbs]: New rule for wide char objects.
31984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31985         Remove wordcopy-power6 obejct.
31986         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31987         Use local call for wordcopy and memcpy symbols.
31988         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31990         implementation for loader.
31991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31993         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31994         Remove wordcopy-power7 object.
31995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31997         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31998         (_wordcopy_fwd_dest_aligned): Likewise.
31999         (_wordcopy_bwd_aligned): Likewise.
32000         (_wordcopy_bwd_dest_aligned): Likewise.
32002         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32003         Rewrite to call __memmove_ppc instead of include default
32004         implementation.
32006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32007         Remove wide chars objects.
32008         [wcsmbs]: New rule for wide char objects.
32010 2015-02-09  Andreas Schwab  <schwab@suse.de>
32012         [BZ #17912]
32013         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32014         in terms of __O_DIRECTORY.
32016 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32018         * time/getdate.c: Include <stdbool.h>.
32019         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32020         call PTR_MANGLE.
32021         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32022         PTR_DEMANGLE.
32024 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32026         Add ersatz _Static_assert on older C hosts
32027         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32028         pre-C11 C platform that is not known to support _Static_assert.
32030 2015-02-07  Richard Braun  <rbraun@sceen.net>
32032         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32033         sigstate.
32034         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32036 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32038         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32039         priority against unexistent AIO_PRIO_DELTA_MAX.
32040         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32041         instead of int.
32042         * misc/fchflags.c (fchflags): Likewise.
32043         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32044         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32045         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32046         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32047         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32048         Declare macros.
32049         [__USE_MISC] (chflags, fchflags): Declare functions.
32050         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32051         EINVAL when nfds is greater than FD_SETSIZE.
32052         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32053         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32054         45.
32055         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32056         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32057         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32058         MACH_RCV_TIMED_OUT.
32059         * hurd/hurd/signal.h (_hurd_self_sigstate,
32060         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32061         Explicit casts from void *.
32062         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32063         * abi-tags: Rename gnu-gnu os into gnu.
32065         [BZ #4719]
32066         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32067         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32068         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32069         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32070         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32071         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32073         [BZ #17944]
32074         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32075         duplicates ADDR->sun_path with sockaddr LEN limitation.
32076         * sysdeps/mach/hurd/connect.c: Include <string.h>
32077         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32078         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32079         * sysdeps/mach/hurd/sendto.c: Likewise.
32080         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32081         implementing it by hand.
32083 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32085         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32086         Use sfi_breg on ldr.
32087         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32088         Likewise.
32090         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32091         it's defined.
32092         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32093         Test SIGSETXID only if it's defined.
32095         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32097         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32098         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32100         * nptl/tst-align2.c: Moved ...
32101         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32102         * nptl/Makefile (tests): Remove tst-align2.
32103         * sysdeps/unix/sysv/linux/Makefile
32104         [$(subdir) = nptl] (tests): Add tst-align-clone.
32105         * nptl/tst-getpid1.c: Moved ...
32106         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32107         * nptl/tst-getpid2.c: Moved ...
32108         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32109         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32110         * sysdeps/unix/sysv/linux/Makefile
32111         [$(subdir) = nptl] (tests): ... here.
32112         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32113         * sysdeps/unix/sysv/linux/Makefile
32114         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32116         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32117         Drop trailing \n from perror argument.  Use return rather than exit.
32119         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32120         on [SA_SIGINFO].
32121         * nptl/tst-cancel21.c (do_test): Likewise.
32122         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32123         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32124         [!SA_SIGINFO]: Make it a stub test.
32126         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32127         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32129         * posix/tst-getlogin.c: Move to ...
32130         * login/tst-getlogin.c: ... here.
32131         * posix/Makefile (tests): Move tst-getlogin to ...
32132         * login/Makefile (tests): ... here.
32134         * libio/tst-atime.c (do_test): Move local variables SV and E
32135         inside [ST_NOATIME] conditional.
32137         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32139         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32141         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32142         (wait_code): New function replaces macro.
32143         Call nanosleep rather than syscall.
32145         * nptl/pt-system.c: Rewritten.  Put everything under
32146         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32147         Use IFUNC to redirect when possible.
32149         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32150         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32151         Use IFUNC to redirect when possible.
32153         * nptl/pt-fork.c: Rewritten.  Put everything under
32154         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32155         Use IFUNC to redirect when possible.
32156         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32159         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32160         unconditionally nowadays.  This included the only reference to
32161         __vdso_clock_gettime that appears outside libc proper.
32162         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32163         Remove version set (containing only __vdso_clock_gettime).
32164         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32165         Add attribute_hidden.
32166         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32167         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32168         libc_hidden_data_def.
32169         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32170         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32172         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32173         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32174         setrpcent, and getrpcport to ...
32175         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32176         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32177         getrpcbynumber_r, and getrpcent_r to ...
32178         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32179         * inet/getrpcbyname.c: Moved ...
32180         * sunrpc/getrpcbyname.c: ... here.
32181         * inet/getrpcbyname_r.c: Moved ...
32182         * sunrpc/getrpcbyname_r.c: ... here.
32183         * inet/getrpcbynumber.c: Moved ...
32184         * sunrpc/getrpcbynumber.c: ... here.
32185         * inet/getrpcbynumber_r.c: Moved ...
32186         * sunrpc/getrpcbynumber_r.c: ... here.
32187         * inet/getrpcent.c: Moved ...
32188         * sunrpc/getrpcent.c: ... here.
32189         * inet/getrpcent_r.c: Moved ...
32190         * sunrpc/getrpcent_r.c: ... here.
32191         * inet/Makefile (routines): Move those to ...
32192         * sunrpc/Makefile (routines): ... here.
32193         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32194         the $(subdirs) list.
32195         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32196         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32197         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32198         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32200         * elf/Makefile (routines): Include $(all-dl-routines), not just
32201         $(dl-routines).
32202         (rtld-routines): Likewise.  Use = rather than :=.
32203         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32204         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32205         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32206         * sysdeps/arm/Makefile: Likewise.
32207         * sysdeps/i386/Makefile: Likewise.
32208         * sysdeps/x86_64/Makefile: Likewise.
32209         * sysdeps/hppa/Makefile [$(subdir) = elf]
32210         (sysdep_routines, sysdep-rtld-routines): Don't add
32211         $(sysdep-dl-routines) to these.
32212         * sysdeps/ia64/Makefile: Likewise.
32213         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32214         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32215         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32216         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32217         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32218         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32219         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32220         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32221         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32222         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32223         these; sysdep-dl-routines alone is enough.
32225 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32227         [BZ #17932]
32228         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32229         where multiplication results in zero and third argument is finite
32230         and nonzero.
32231         * math/auto-libm-test-in: Add more tests of fma.
32232         * math/auto-libm-test-out: Regenerated.
32234         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32235         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32236         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32237         (_FP_CMP_EQ): Likewise.
32238         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32240         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32241         extra argument CHECK_NAN.  Redefine as wrapper around
32242         _FP_EXTEND_CNAN.
32244 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32246         * version.h (RELEASE): Set to "stable".
32247         (VERSION): Set to "2.21"
32248         * include/features.h (__GLIBC_MINOR__): Set to 21.
32250         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32252 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32253             Paul Eggert  <eggert@cs.ucla.edu>
32255         [BZ #16618]
32256         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32257         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32258         size in bytes. Store needed elements in wpmax. Use needed size
32259         in bytes for extend_alloca.
32261 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32263         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32264         binutls 2.25, and texinfo 5.2.
32265         * INSTALL: Regenerate.
32266         * sysdeps/nios2/configure: Regenerate.
32267         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32268         * manual/contrib.texi: Update.
32269         * po/be.po: Update.
32270         * po/bg.po: Update.
32271         * po/ca.po: Update.
32272         * po/cs.po: Update.
32273         * po/da.po: Update.
32274         * po/de.po: Update.
32275         * po/el.po: Update.
32276         * po/eo.po: Update.
32277         * po/es.po: Update.
32278         * po/fi.po: Update.
32279         * po/fr.po: Update.
32280         * po/gl.po: Update.
32281         * po/hr.po: Update.
32282         * po/hu.po: Update.
32283         * po/ia.po: Update.
32284         * po/id.po: Update.
32285         * po/it.po: Update.
32286         * po/ja.po: Update.
32287         * po/ko.po: Update.
32288         * po/lt.po: Update.
32289         * po/nb.po: Update.
32290         * po/nl.po: Update.
32291         * po/pl.po: Update.
32292         * po/pt_BR.po: Update.
32293         * po/ru.po: Update.
32294         * po/rw.po: Update.
32295         * po/sk.po: Update.
32296         * po/sl.po: Update.
32297         * po/sv.po: Update.
32298         * po/tr.po: Update.
32299         * po/uk.po: Update.
32300         * po/vi.po: Update.
32301         * po/zh_CN.po: Update.
32302         * po/zh_TW.po: Update.
32304         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32305         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32306         * sysdeps/hppa/dl-irel.h: Remove #warning.
32307         * sysdeps/hppa/entry.h: Provide prototype for
32308         __canonicalize_funcptr_for_compare and cast argument.
32309         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32310         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32311         * sysdeps/hppa/sotruss-lib.c: New file.
32312         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32313         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32314         (atomic_compare_and_exchange_bool_acq): Likewise.
32315         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32316         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32318         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32319         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32320         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32322 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32324         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32325         called function in non-PIC case.
32327 2015-01-31  David S. Miller  <davem@davemloft.net>
32329         * sysdeps/sparc/sparc32/bits/atomic.h
32330         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32331         unlock not after it.
32332         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32333         volatile register usage warnings from the compiler.
32335         * sysdeps/sparc/nptl/sem_init.c: Delete.
32336         * sysdeps/sparc/nptl/sem_post.c: Delete.
32337         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32338         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32339         * sysdeps/sparc/sparc32/sem_init.c: New file.
32340         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32341         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32342         padding explicitly initialized.
32343         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32344         padding for in-semaphore spinlock.
32345         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32346         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32347         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32348         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32349         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32350         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32351         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32352         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32353         version.
32354         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32355         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32357 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32359         [BZ #17801]
32360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32361         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32362         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32363         New.
32364         (index_AVX_Fast_Unaligned_Load): Likewise.
32365         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32366         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32367         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32368         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32369         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32370         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32371         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32372         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32373         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32375 2015-01-29  Andreas Schwab  <schwab@suse.de>
32377         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32379 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32381         [BZ #17892]
32382         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32384 2015-01-28  Martin Sebor  <msebor@redhat.com>
32386         * math/README.libm-test: Clarify. Add "How to read the test output."
32388 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32390         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32391         Define to 0.
32393 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32395         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32396         (__HAVE_64B_ATOMICS): Define to 0.
32398 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32400         [BZ #17885]
32401         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32402         value to set as new flag.
32404         [BZ #16576]
32405         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32406         and use _ARCH_PPCSQ instead.
32407         (__ieee754_sqrt): Likewise.
32408         (__ieee754_sqrtf): Likewise.
32409         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32410         _ARCH_PPCSQ is defined.
32411         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32412         fsqrt instruction.
32413         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32414         _ARCH_PPCSQ is defined.
32415         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32416         fsqrts instruction.
32417         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32419 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32421         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32422         bug (GCC BZ #64739).
32424 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32426         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32427         Mark _retval as used.
32428         (lll_futex_wake_unlock): Likewise.
32429         (lll_futex_timed_wait_requeue_pi): Likewise.
32431         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32432         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32433         register variables.
32435         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32436         libm_hidden_def.
32438         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32439         (__bswap_64): Mark as __always_inline.
32441 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32443         [BZ #15378]
32444         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32445         when none of the search directories exist.
32447 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32449         [BZ #17869]
32450         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32451         power8 in .machine directive.
32453         [BZ #17868]
32454         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32455         set dependency from opd value.
32457 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32460         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32461         architecture.
32463 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32465         [BZ #17870]
32466         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32467         with uint64_t.
32468         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32469         (uint64_t) 1.
32470         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32471         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32472         Replace 1UL with (uint64_t) 1.
32473         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32474         int with uint64_t.
32476 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32478         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32479         (if_freenameindex): Likewise.
32481         * resource/getrlimit64.c: Add missing libc_hidden_def.
32483 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32485         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32486         __label__.
32487         (_FP_FMA): Likewise.
32488         (_FP_TO_INT_ROUND): Likewise.
32489         (_FP_FROM_INT): Likewise.
32491 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32493         [BZ #16418]
32494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32495         Make code racy and cancel safe.
32497 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
32499         * sysdeps/arm/unwind-resume.h: Fix copyright year.
32500         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
32501         attribution.
32503         * pwd/tst-getpw.c: Rewrite.
32505         [BZ #17702]
32506         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
32507         (modules-names): Add moddummy1 and moddummy2.
32508         ($(objpfx)tst-rec-dlopen): Define.
32509         * dlfcn/moddummy1.c: New file.
32510         * dlfcn/moddummy2.c: New file.
32511         * dlfcn/tst-rec-dlopen.c: New file.
32512         * elf/dl-cache.c (_dl_load_cache_lookup):
32513         Return char*. Copy result with alloca/strcpy/strdup.
32514         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
32515         returns char*. Free cached. If not saving realname
32516         free cached.
32517         * elf/dl-open.c (dl_open_worker): Do not assert that
32518         _r_debug->r_state is RT_CONSISTENT.
32519         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
32520         returns char*.
32522 2015-01-21  Torvald Riegel  <triegel@redhat.com>
32523             Carlos O'Donell  <carlos@redhat.com>
32525         [BZ #12674]
32526         * nptl/sem_waitcommon.c: New file.
32527         * nptl/sem_wait.c: Include sem_waitcommon.c.
32528         (__sem_wait_cleanup, do_futex_wait): Remove.
32529         (__new_sem_wait): Adapt.
32530         (__new_sem_trywait): New function.
32531         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
32532         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
32533         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
32534         (sem_timedwait): Adapt.
32535         * nptl/sem_post.c (__new_sem_post): Adapt.
32536         (futex_wake): New function.
32537         (__old_sem_post): Add release MO fence.
32538         * nptl/sem_open.c (sem_open): Adapt.
32539         * nptl/sem_init.c (__new_sem_init): Adapt.
32540         (futex_private_if_supported): New function.
32541         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
32542         (__old_sem_getvalue): Add using previous code.
32543         * sysdeps/nptl/internaltypes.h: Adapt.
32544         * nptl/tst-sem13.c (do_test): Adapt.
32545         * nptl/tst-sem11.c (main): Adapt.
32546         * nptl/sem_trywait.c: Remove.
32547         * nptl/DESIGN-sem.txt: Remove.
32548         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
32549         (gen-as-const-headers): Remove structsem.sym.
32550         * nptl/structsem.sym: Remove.
32551         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
32552         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
32553         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
32554         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
32555         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
32556         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
32557         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
32558         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
32559         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
32560         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
32561         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
32562         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
32563         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
32564         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
32565         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
32566         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
32567         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
32568         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
32569         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
32570         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
32571         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
32572         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
32574 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
32576         * INSTALL: Regenerated.
32578         * po/libc.pot: Regenerated.
32580 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
32581             Sandra Loosemore  <sandra@codesourcery.com>
32582             Andrew Jenner  <andrew@codesourcery.com>
32583             Joseph Myers  <joseph@codesourcery.com>
32584             Nathan Sidwell  <nathan@codesourcery.com>
32586         * NEWS: Mention new Nios II port.
32587         * sysdeps/nios2/Implies: New file.
32588         * sysdeps/nios2/Makefile: New file.
32589         * sysdeps/nios2/Subdirs: New file.
32590         * sysdeps/nios2/Versions: New file.
32591         * sysdeps/nios2/__longjmp.S: New file.
32592         * sysdeps/nios2/abort-instr.h: New file.
32593         * sysdeps/nios2/backtrace.c: New file.
32594         * sysdeps/nios2/bits/endian.h: New file.
32595         * sysdeps/nios2/bits/fenv.h: New file.
32596         * sysdeps/nios2/bits/link.h: New file.
32597         * sysdeps/nios2/bits/setjmp.h: New file.
32598         * sysdeps/nios2/bsd-_setjmp.S: New file.
32599         * sysdeps/nios2/bsd-setjmp.S: New file.
32600         * sysdeps/nios2/configure: New generated file.
32601         * sysdeps/nios2/configure.ac: New file.
32602         * sysdeps/nios2/crti.S: New file.
32603         * sysdeps/nios2/crtn.S: New file.
32604         * sysdeps/nios2/dl-init.c: New file.
32605         * sysdeps/nios2/dl-machine.h: New file.
32606         * sysdeps/nios2/dl-sysdep.h: New file.
32607         * sysdeps/nios2/dl-tls.h: New file.
32608         * sysdeps/nios2/dl-trampoline.S: New file.
32609         * sysdeps/nios2/gccframe.h: New file.
32610         * sysdeps/nios2/gmp-mparam.h: New file.
32611         * sysdeps/nios2/jmpbuf-offsets.h: New file.
32612         * sysdeps/nios2/jmpbuf-unwind.h: New file.
32613         * sysdeps/nios2/ldsodefs.h: New file.
32614         * sysdeps/nios2/libc-tls.c: New file.
32615         * sysdeps/nios2/libm-test-ulps: New file.
32616         * sysdeps/nios2/machine-gmon.h: New file.
32617         * sysdeps/nios2/math-tests.h: New file.
32618         * sysdeps/nios2/math_private.h: New file.
32619         * sysdeps/nios2/memusage.h: New file.
32620         * sysdeps/nios2/nptl/Makefile: New file.
32621         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
32622         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
32623         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
32624         * sysdeps/nios2/nptl/pthreaddef.h: New file.
32625         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
32626         * sysdeps/nios2/nptl/tls.h: New file.
32627         * sysdeps/nios2/preconfigure: New file.
32628         * sysdeps/nios2/s_fma.c: New file.
32629         * sysdeps/nios2/s_fmaf.c: New file.
32630         * sysdeps/nios2/setjmp.S: New file.
32631         * sysdeps/nios2/sfp-machine.h: New file.
32632         * sysdeps/nios2/sotruss-lib.c: New file.
32633         * sysdeps/nios2/stackguard-macros.h: New file.
32634         * sysdeps/nios2/stackinfo.h: New file.
32635         * sysdeps/nios2/start.S: New file.
32636         * sysdeps/nios2/sysdep.h: New file.
32637         * sysdeps/nios2/tls-macros.h: New file.
32638         * sysdeps/nios2/tst-audit.h: New file.
32639         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
32640         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
32641         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
32642         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
32643         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
32644         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
32645         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
32646         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
32647         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
32648         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
32649         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
32650         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
32651         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
32652         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
32653         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
32654         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32655         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32656         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32657         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32658         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32659         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32660         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32661         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32662         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32663         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32664         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32665         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32666         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32667         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32668         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32669         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32670         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32671         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32672         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32673         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32674         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32675         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32676         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32677         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32678         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32679         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32680         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32681         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32682         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32684 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32686         [BZ #17844]
32687         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32688         (getutent): Use weak_alias in non SHARED case
32689         and default_symbol_version in SHARED case.
32690         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32691         (getutent_r, pututline): Likewise.
32692         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32693         (getutid): Likewise.
32694         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32695         (getutid_r): Likewise.
32696         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32697         (getutline): Likewise.
32698         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32699         (getutline_r): Likewise.
32700         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32701         (updwtmp): Likewise.
32703 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32705         [BZ #17848]
32706         * sysdeps/s390/s390-32/memcmp.S
32707         (memcmp_g5): Rename to __memcmp_g5.
32708         * sysdeps/s390/s390-32/memcpy.S
32709         (memcpy_g5): Rename to __memcpy_g5.
32710         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32711         (memcpy_mvcle) Rename to __memcpy_mvcle.
32712         * sysdeps/s390/s390-32/memset.S
32713         (memset_g5): Rename to __memset_g5.
32714         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32715         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32716         and use prefixed functions.
32717         * sysdeps/s390/s390-32/multiarch/memcmp.S
32718         (memcmp_z196): Rename to __memcmp_z196.
32719         (memcmp_z10): Rename to __memcmp_z10.
32720         (memcmp): Set alias to __memcmp_g5.
32721         (bcmp): Set alias to __memcmp_g5.
32722         * sysdeps/s390/s390-32/multiarch/memcpy.S
32723         (memcpy_z196): Rename to __memcpy_z196.
32724         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32725         (memcpy_z10): Rename to __memcpy_z10.
32726         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32727         (memcpy): Set alias to __memcpy_g5.
32728         * sysdeps/s390/s390-32/multiarch/memset.S
32729         (memset_z196): Rename to __memset_z196.
32730         Jump to __memset_mvcle instead of memset_mvcle.
32731         (memset_z10): Rename to __memset_z10.
32732         Jump to __memset_mvcle instead of memset_mvcle.
32733         (memset_mvcle) Rename to __memset_mvcle.
32734         (memset): Set alias to __memset_g5.
32735         * sysdeps/s390/s390-64/memcmp.S
32736         (memcmp_z900): Rename to __memcmp_z900.
32737         * sysdeps/s390/s390-64/memcpy.S
32738         (memcpy_z900): Rename to __memcpy_z900.
32739         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32740         (memcpy_mvcle) Rename to __memcpy_mvcle.
32741         * sysdeps/s390/s390-64/memset.S
32742         (memset_z900): Rename to __memset_z900.
32743         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32744         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32745         and use prefixed functions.
32746         * sysdeps/s390/s390-64/multiarch/memcmp.S
32747         (memcmp_z196): Rename to __memcmp_z196.
32748         (memcmp_z10): Rename to __memcmp_z10.
32749         (memcmp): Set alias to __memcmp_z900.
32750         (bcmp): Set alias to __memcmp_z900.
32751         * sysdeps/s390/s390-64/multiarch/memcpy.S
32752         (memcpy_z196): Rename to __memcpy_z196.
32753         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32754         (memcpy_z10): Rename to __memcpy_z10.
32755         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32756         (memcpy): Set alias to __memcpy_z900.
32757         * sysdeps/s390/s390-64/multiarch/memset.S
32758         (memset_z196): Rename to __memset_z196.
32759         Jump to __memset_mvcle instead of memset_mvcle.
32760         (memset_z10): Rename to __memset_z10.
32761         Jump to __memset_mvcle instead of memset_mvcle.
32762         (memset_mvcle) Rename to __memset_mvcle.
32763         (memset): Set alias to __memset_z900.
32765 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32767         [BZ #17748]
32768         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32769         __fesetenv instead of fesetenv.
32771 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32773         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32774         macro.
32776 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32778         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32779         regression on LE.
32781         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32782         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32783         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32784         strncmp-power8 object.
32785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32786         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32787         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32788         * NEWS: Update.
32790 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32791             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32793         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32794         trailing byte check.
32796 2015-01-13  David S. Miller  <davem@davemloft.net>
32798         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32800 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32802         * login/logout.c (logout): Use memset rather than bzero.
32803         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32804         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32805         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32806         (_gethtbyaddr): Likewise.
32807         * locale/programs/simple-hash.c (bcopy): Macro removed.
32809 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32811         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32812         Add strcmp-power8 object.
32813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32814         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32815         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32816         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32817         __strcmp_power8 implementation.
32818         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32819         * NEWS: Update.
32821         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32822         Add strncpy-power8 and stpncpy-power8 objects.
32823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32824         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32825         implementations.
32826         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32827         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32828         __stpncpy_power8 implementation.
32829         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32830         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32831         __strncpy_power8 implementation.
32832         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32833         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32834         * NEWS: Update.
32836         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32837         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32838         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32840         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32841         strncat-power8 object.
32842         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32843         __strcat_power8 implementation.
32844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32845         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32846         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32847         optimized strcat for power8.
32849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32850         strcpy-power8 and stpcpy-power8 objects.
32851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32852         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32853         implementations.
32854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32855         multiarch stpcpy implementation for POWER8.
32856         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32857         multiarch strcpy implementation for POWER8.
32858         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32859         __strcpy_power8 function.
32860         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32861         stpcpy for POWER8.
32862         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32863         strcpy for POWER8.
32864         * NEWS: Update.
32866 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32868         [BZ #16009]
32869         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32870         weights and rules. Use do_xfrm_cached if data fits in cache,
32871         do_xfrm otherwise.  Moved former main loop to...
32872         * (do_xfrm_cached): New function.
32873         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32874         find_idx, find_position and stack_push.
32875         * (find_idx): New function.
32876         * (find_position): Likewise.
32877         * localedata/sort-test.sh: Added test run for do_xfrm.
32878         * localedata/xfrm-test.c (main): Added command line option
32879         -nocache to run the test with strings that are too large for
32880         the STRXFRM cache.
32882 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32884         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32885         variable to lll_futex_wake call, not the value itself.
32887 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32889         [BZ #17803]
32890         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32891         twom64.  Adjust value to 0x1p-64L.
32892         (__scalblnl): Only return standard underflowing result for K <=
32893         -64 not K <= -63; adjust exponent for underflowing result by 64
32894         not 63.
32895         * math/libm-test.inc (scalbn_test_data): Add more tests.
32896         (scalbln_test_data): Likewise.
32898         [BZ #17834]
32899         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32900         0x1p63L.
32901         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32902         not HX.
32903         * math/libm-test.inc (scalbn_test_data): Add more tests.
32904         (scalbln_test_data): Likewise.
32906 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32907             Stefani Seibold  <stefani@seibold.net>
32909         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32910         (sysdep_routines): Add dl-vdso here, ...
32911         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32912         (sysdep_routines): ... not here.
32913         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32914         fallback when vDSO is not presented.
32915         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32916         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32917         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32918         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32919         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32920         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32922         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32923         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32925         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32926         fallback configurable symbol when vDSO is not available.
32927         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32928         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32929         be able to redefine fallback symbol when vDSO is not available.
32930         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32931         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32933 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32935         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32936         (TLS_INIT_TP): Add tm_capable initialization.
32937         (TLS_DEFINE_INIT_TP): Likewise.
32938         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32939         TCB.
32940         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32941         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32942         calculation.
32943         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32944         transactoion is lock elision is built and TCB tm_capable is set.
32945         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32947         (INTERNAL_SYSCALL_NCS): Likewise.
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32949         (INTERNAL_SYSCALL_NCS): Likewise.
32950         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32952         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32953         for powerpc.
32954         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32955         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32956         and remove it for 32 bits case.
32957         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32959         initialization.
32960         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32961         Disable lock elision with rdlocks if elision is not available.
32963         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32964         (sysdep_routines): Add lock elision objects.
32965         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32966         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32967         [pthread_mutex_t] (__elision): Add field.
32968         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32969         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32970         elision definitions for powerpc.
32971         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32972         implementation of lock elision for powerpc.
32973         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32974         implementation of timed lock elision for powerpc.
32975         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32976         implementation of trylock with lock elision for powerpc.
32977         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32978         implementaion of unlock for lock elision for powerpc.
32979         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32980         automatic enable lock elision for mutexes.
32981         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32982         transaction execution definitions for powerpc.
32983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32984         definitions.
32985         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32986         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32987         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32988         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32989         * NEWS: Update.
32991 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32993         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32994         for #include of <shm-directory.h>.
32996 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32998         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32999         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33001 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33003         [BZ #17791]
33004         * NEWS: Mention bug fix.
33005         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33006         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33007         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33009 2015-01-09  Torvald Riegel <triegel@redhat.com>
33011         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33013 2015-01-09  Torvald Riegel <triegel@redhat.com>
33015         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33017 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33019         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33020         pointer and cast to uintptr_t.
33022 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33024         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33025         removed.
33026         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33028 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33030         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33031         of 0.
33033 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33035         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33036         <nptl/pthreadP.h> instead.
33037         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33039         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33040         already defined.
33041         [__SIGRTMIN] (init): Function removed.
33042         [__SIGRTMIN] (initialized): Variable removed.
33043         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33044         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33045         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33046         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33047         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33048         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33049         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33050         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33051         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33052         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33053         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33054         * sysdeps/nptl/allocrtsig.c: New file.
33055         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33056         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33057         * sysdeps/generic/testrtsig.h: File removed.
33059         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33060         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33062         * nptl/nptl-init.c (pthread_functions): Conditionalize
33063         .ptr__nptl_setxid initialization on [SIGSETXID].
33065         * sysdeps/nptl/sys/procfs.h: New file.
33066         * nptl_db/Makefile (headers): Add it.
33067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33069         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33070         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33071         * nptl/pthread_attr_setaffinity.c: Include it.
33072         * nptl/pthread_setattr_default_np.c: Likewise.
33073         * nptl/check-cpuset.h: New file.
33075 2015-01-08  Richard Henderson  <rth@redhat.com>
33077         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33078         (CFLAGS-tst-execstack-prog.c): Likewise.
33079         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33081 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33082             Sandra Loosemore  <sandra@codesourcery.com>
33083             Andrew Jenner  <andrew@codesourcery.com>
33084             Joseph Myers  <joseph@codesourcery.com>
33085             Nathan Sidwell  <nathan@codesourcery.com>
33087         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33088         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33089         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33090         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33091         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33092         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33093         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33094         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33095         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33096         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33097         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33098         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33099         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33100         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33101         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33102         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33103         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33105 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33107         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33108         timespec struct member in syscall macro.
33109         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33110         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33111         first timeval struct member in syscall macro.
33112         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33114 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33116         [BZ #17748]
33117         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33118         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33119         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33120         __feupdateenv and define as weak alias of __feupdateenv.  Use
33121         libm_hidden_weak.
33122         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33123         libm_hidden_def.
33124         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33125         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33126         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33127         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33128         libm_hidden_def.
33129         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33130         __feupdateenv and define as weak alias of __feupdateenv.  Use
33131         libm_hidden_weak.
33132         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33133         libm_hidden_def.
33134         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33135         __feupdateenv and define as weak alias of __feupdateenv.  Use
33136         libm_hidden_weak.
33137         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33138         libm_hidden_def.
33139         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33140         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33141         (__feupdateenv): Likewise.
33142         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33143         __feupdateenv and define as weak alias of __feupdateenv.  Use
33144         libm_hidden_weak.
33145         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33146         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33147         libm_hidden_def.
33148         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33149         function.
33150         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33151         libm_hidden_def.
33152         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33153         __feupdateenv instead of feupdateenv.
33154         (default_libc_feupdateenv_test): Likewise.
33155         (libc_feresetround_ctx): Likewise.
33157 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33159         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33160         prototype.
33162 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33164         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33165         COLL_SYM in a couple of places to avoid uninitialized variable
33166         wanings on tilegx gcc 4.8.2.
33168 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33170         * sysdeps/aarch64/strcpy.S: New file.
33171         * sysdeps/aarch64/stpcpy.S: New file.
33172         * NEWS: Updated.
33174 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33176         * sysdeps/aarch64/strrchr.S: New file.
33177         * NEWS: Updated.
33179 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33181         [BZ #17658]
33182         * stdlib/setenv.c: Fix memory leak when setting large,
33183         duplicate string.
33185 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33187         [BZ #17273]
33188         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33189         and tabs from buffer before parsing fstab entry.
33190         * misc/tst-mntent.c (main): Add test for mount entry with
33191         trailing spaces and tabs.
33193 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33195         [BZ #17748]
33196         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33197         * math/fesetround.c (fesetround): Rename to __fesetround and
33198         define as weak alias of __fesetround.  Use libm_hidden_weak.
33199         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33200         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33201         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33202         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33203         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33204         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33205         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33206         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33207         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33208         __fesetround_inline.
33209         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33210         __fesetround_inline instead of __fesetround.
33211         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33212         __fesetround and define as weak alias of __fesetround.  Use
33213         libm_hidden_weak.  Call __fesetround_inline instead of
33214         __fesetround.
33215         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33216         __fesetround and define as weak alias of __fesetround.  Use
33217         libm_hidden_weak.
33218         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33219         Likewise.
33220         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33221         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33222         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33223         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33224         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33225         __fesetround and define as weak alias of __fesetround.  Use
33226         libm_hidden_weak.
33227         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33228         __fesetround instead of fesetround.
33229         (default_libc_feholdexcept_setround): Likewise.
33230         (libc_feholdsetround_ctx): Likewise.
33231         (libc_feholdsetround_noex_ctx): Likewise.
33233         [BZ #17748]
33234         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33235         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33236         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33237         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33238         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33239         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33240         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33241         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33242         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33243         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33244         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33245         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33246         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33247         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33248         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33249         libm_hidden_def.
33250         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33251         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33252         Likewise.
33253         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33254         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33255         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33256         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33257         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33258         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33259         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33260         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33261         __fesetenv instead of fesetenv.
33262         (libc_feresetround_noex_ctx): Likewise.
33263         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33264         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33265         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33266         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33267         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33268         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33269         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33270         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33271         (__feupdateenv): Likewise.
33272         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33273         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33274         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33275         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33277 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33279         [BZ #17806]
33280         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33281         addresses have been freed.
33283 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33285         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33286         and nservall.
33288 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33290         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33291         Clean up check_pf allocation pattern. addresses
33293 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33295         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33296         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33297         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33298         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33299         * nptl/pthread_join.c (pthread_join): Likewise.
33300         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33301         * sysdeps/posix/waitid.c (__waitid): Likewise.
33302         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33303         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33304         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33305         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33307         Likewise.
33308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33309         (__libc_pread64): Likewise.
33310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33311         (__libc_pwrite): Likewise.
33312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33313         (__libc_pwrite64): Likewsie.
33314         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33315         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33316         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33317         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33318         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33319         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33320         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33322         Likewise.
33323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33324         (__libc_pread64): Likewise.
33325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33326         Likewise.
33327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33328         (__libc_pwrite64): Likewise.
33329         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33330         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33331         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33332         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33333         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33334         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33335         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33336         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33337         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33338         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33339         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33340         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33341         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33342         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33343         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33344         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33345         Likewise.
33347 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33349         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33350         (CFLAGS-test-double.c): Likewise.
33351         (CFLAGS-test-ldouble.c): Likewise.
33352         (CPPFLAGS-test-ifloat.c): Likewise.
33353         (CPPFLAGS-test-idouble.c): Likewise.
33354         (CPPFLAGS-test-ildoubl.c): Likewise.
33355         (CFLAGS-test-test-fenv.c): Remove variable.
33356         (CFLAGS-test-misc.c): Likewise.
33358 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33360         [BZ #17797]
33361         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33362         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33363         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33364         CLOCKS_PER_SEC == 1000000.
33365         * time/clocktest.c (main): Replace %ld with %jd and cast to
33366         intmax_t.
33368 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33370         * sysdeps/generic/unwind-resume.h: New file.
33371         * sysdeps/gnu/unwind-resume.c: Include it.
33372         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33373         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33374         argument list.
33375         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33376         global rather than static.
33377         (_Unwind_Resume): Update user.
33378         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33379         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33380         rather than static.  Add __attribute__ ((cold)).
33381         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33382         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33383         * sysdeps/arm/arm-unwind-resume.S: New file.
33384         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33385         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33386         * sysdeps/arm/Makefile [$(subdir) = csu]
33387         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33388         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33389         Add rt-arm-unwind-resume.
33390         [$(subdir) = nptl]
33391         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33392         Add pt-arm-unwind-resume.
33393         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33394         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33396 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33398         [BZ #17748]
33399         * include/fenv.h (__feholdexcept): Declare.  Use
33400         libm_hidden_proto.
33401         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33402         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33403         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33404         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33405         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33406         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33407         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33408         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33409         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33410         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33411         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33412         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33413         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33414         (feholdexcept): Likewise.
33415         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33416         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33417         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33418         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33419         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33420         __feholdexcept instead of feholdexcept.
33421         (default_libc_feholdexcept_setround): Likewise.
33423 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33425         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33426         to avoid using stl/str to align destination.
33428 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33430         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33432 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33434         [BZ #17796]
33435         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33436         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33437         Define as weak alias not strong alias.
33439 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33441         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33442         bltzal with addiupc.
33443         (RTLD_START): Ditto.
33445 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33447         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33448         for __vdso_* functions in declarations.
33449         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33450         definitions.
33451         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33452         INTERNAL_VSYSCALL): Use struct return types to check for error.
33454         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33455         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33456         function with cast from llround().
33457         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33458         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33459         Define.
33461 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33463         [BZ #17793]
33464         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33465         Define as weak alias not strong alias.
33467         [BZ #17635]
33468         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33469         ...
33470         * ctype/ctype-extn.c: ... here.
33471         (__isblank_l): Move to ...
33472         * ctype/ctype-c99_l.c: ... here.  New file.
33473         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33474         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33475         Remove variable.
33476         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33477         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33478         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33479         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33480         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33482         [BZ #17777]
33483         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33484         (posix_fadvise64): Define as weak alias not strong alias.
33485         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33486         (posix_fallocate64): Likewise.
33487         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
33488         Remove variable.
33489         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33490         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33491         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33492         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33493         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33495 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33497         [BZ #16191]
33498         * NEWS: Mention bug fix.
33499         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
33500         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
33501         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
33502         (HOST_STACK_END_ADDR): Likewise.
33504 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33506         [BZ #17748]
33507         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
33508         * math/fegetround.c (fegetround): Rename to __fegetround and
33509         define as weak alias of __fegetround.  Use libm_hidden_weak.
33510         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
33511         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
33512         * sysdeps/arm/fegetround.c (fegetround): Likewise.
33513         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
33514         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33515         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
33516         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
33517         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
33518         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33519         Undefine after rather than before function definition; use
33520         parentheses around function name in definition.
33521         (__fegetround): Also undefine macro after function definition.
33522         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
33523         __fegetround and define as weak alias of __fegetround.  Use
33524         libm_hidden_weak.  Do not undefine as macro.
33525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33526         Likewise.
33527         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
33528         __fegetround and define as weak alias of __fegetround.  Use
33529         libm_hidden_weak.
33530         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33531         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33532         * sysdeps/tile/math_private.h (__fegetround): New inline function.
33533         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
33534         __fegetround and define as weak alias of __fegetround.  Use
33535         libm_hidden_weak.
33536         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
33537         __fegetround instead of fegetround.
33539         [BZ #17782]
33540         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
33541         Condition macro definition on [__USE_MISC].
33543         [BZ #17781]
33544         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33545         (struct sigaction): Change type of sa_flags field to int.
33547         [BZ #17780]
33548         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
33549         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
33550         __glibc_reserved0.
33552         * nptl/version.c (banner): Use single year in copyright notice.
33554         * NEWS: Update copyright dates.
33555         * catgets/gencat.c (print_version): Likewise.
33556         * csu/version.c (banner): Likewise.
33557         * debug/catchsegv.sh: Likewise.
33558         * debug/pcprofiledump.c (print_version): Likewise.
33559         * debug/xtrace.sh (do_version): Likewise.
33560         * elf/ldconfig.c (print_version): Likewise.
33561         * elf/ldd.bash.in: Likewise.
33562         * elf/pldd.c (print_version): Likewise.
33563         * elf/sotruss.sh: Likewise.
33564         * elf/sprof.c (print_version): Likewise.
33565         * iconv/iconv_prog.c (print_version): Likewise.
33566         * iconv/iconvconfig.c (print_version): Likewise.
33567         * locale/programs/locale.c (print_version): Likewise.
33568         * locale/programs/localedef.c (print_version): Likewise.
33569         * login/programs/pt_chown.c (print_version): Likewise.
33570         * malloc/memusage.sh (do_version): Likewise.
33571         * malloc/memusagestat.c (print_version): Likewise.
33572         * malloc/mtrace.pl: Likewise.
33573         * manual/libc.texinfo: Likewise.
33574         * nptl/version.c (banner): Likewise.
33575         * nscd/nscd.c (print_version): Likewise.
33576         * nss/getent.c (print_version): Likewise.
33577         * nss/makedb.c (print_version): Likewise.
33578         * posix/getconf.c (main): Likewise.
33579         * scripts/test-installation.pl: Likewise.
33580         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
33582 2015-01-02  Will Newton  <will.newton@linaro.org>
33584         * sysdeps/arm/armv7/configure: Removed.
33585         * sysdeps/arm/armv7/configure.ac: Likewise.
33587 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33589         * All files with FSF copyright notices: Update copyright dates
33590         using scripts/update-copyrights.
33591         * intl/plural.c: Regenerated.
33592         * locale/programs/charmap-kw.h: Likewise.
33593         * locale/programs/locfile-kw.h: Likewise.
33595 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33597         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
33599 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33601         [BZ #17748]
33602         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
33603         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
33604         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33605         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33606         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33607         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
33608         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33609         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
33610         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33611         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33612         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33613         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33614         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33615         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33616         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
33617         libm_hidden_def.
33618         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
33620         Likewise.
33621         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33622         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33623         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33624         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33625         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
33626         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33627         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33628         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
33629         __fegetenv instead of fegetenv.
33630         (libc_feholdsetround_noex_ctx): Likewise.
33632 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33634         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
33635         (Elf_MIPS_ABIFlags_v0): New structure.
33636         (EF_MIPS_FP64): Define.
33637         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
33638         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
33639         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
33640         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
33641         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
33642         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
33643         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
33644         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
33645         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
33646         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
33647         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
33648         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
33649         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
33650         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
33651         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
33652         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
33653         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
33654         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33655         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33656         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33657         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33658         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33659         field.
33660         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33661         EF_MIPS_FP64.
33662         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33663         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33664         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33665         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33666         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33667         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33668         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33669         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33670         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33671         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33672         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33673         record the current FP ABI extension.
33674         (mips-mode-switch): Define to show if kernel headers support mode
33675         switching.
33676         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33677         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33678         supported SYSV ABI version to 3.
33679         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33680         feature.
33682 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33685         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33686         path.
33687         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33689 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33691         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33692         __fegetround and redefine to call __fegetround.  Remove condition
33693         on [!__NO_MATH_INLINES].
33694         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33695         function.
33696         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33697         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33698         Remove macro.
33699         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33700         instead of <fenv_libc.h>.
33701         (__llrintl): Call fegetround instead of __fegetround.
33702         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33703         instead of <fenv_libc.h>.
33704         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33705         (__lrintl): Call fegetround instead of __fegetround.
33706         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33707         instead of <fenv_libc.h>.
33708         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33709         (__rintl): Call fegetround instead of __fegetround.
33711 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33713         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33714         arrays.
33716 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33718         [BZ #17775]
33719         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33720         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33721         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33723 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33725         * sysdeps/i386/tls-macros.h: Include <features.h>.
33726         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33727         (TLS_IE): Likewise.
33728         (TLS_LD): Likewise.
33729         (TLS_GD): Likewise.
33730         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33731         define for GCC >= 5.0.
33733 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33735         * math/test-fenv.c (test_single_exception, set_single_exc,
33736         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33737         feexcp_mask_test, feenable_test, fe_single_test): Add
33738         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33739         case where they are not used.
33740         * math/libm-test.inc: Likewise.
33741         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33742         unused in the absence of FP rounding/exception support.
33743         * stdio-common/tst-printf-round.c: Likewise.
33744         * stdlib/tst-strtod-round.c: Likewise.
33745         * stdlib/tst-strtod-underflow.c: Likewise.
33747 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33749         [BZ #17723]
33750         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33751         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33752         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33753         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33754         libm_hidden_weak.
33755         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33756         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33757         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33758         libm_hidden_def.
33759         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33760         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33761         libm_hidden_weak.
33762         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33763         Likewise.
33764         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33765         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33766         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33767         libm_hidden_weak.
33768         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33769         libm_hidden_def.
33770         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33771         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33772         (__feraiseexcept): Likewise.
33773         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33774         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33775         libm_hidden_weak.
33776         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33777         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33778         libm_hidden_def.
33779         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33780         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33781         Use libm_hidden_def.
33782         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33783         libm_hidden_def.
33784         (feraiseexcept): Define as weak not strong alias.  Use
33785         libm_hidden_weak.
33786         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33787         New inline function.  Factored out of ...
33788         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33789         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33790         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33791         feraiseexcept.
33792         * math/w_acos.c (__acos): Likewise.
33793         * math/w_asin.c (__asin): Likewise.
33794         * math/w_ilogb.c (__ilogb): Likewise.
33795         * math/w_j0.c (y0): Likewise.
33796         * math/w_j1.c (y1): Likewise.
33797         * math/w_jn.c (yn): Likewise.
33798         * math/w_log.c (__log): Likewise.
33799         * math/w_log10.c (__log10): Likewise.
33800         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33801         * sysdeps/aarch64/fpu/math_private.h
33802         (libc_feupdateenv_test_aarch64): Likewise.
33803         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33804         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33805         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33806         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33807         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33808         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33809         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33810         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33811         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33812         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33814 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33816         [BZ #17732]
33817         * io/test-utime.c (main): Replace %ld with %jd and cast to
33818         intmax_t.
33819         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33820         * nptl/tst-mutex5.c: Include <stdint.h>.
33821         (do_test): Replace %ld with %jd and cast to intmax_t.
33822         * posix/tst-regex.c (run_test): Likewise.
33823         (run_test_backwards): Likewise.
33824         * rt/tst-clock.c: Include <stdint.h>.
33825         (clock_test): Replace %ld with %jd and cast to intmax_t.
33826         * rt/tst-cpuclock1.c: Include <stdint.h>.
33827         (do_test): Replace %lu with %ju and cast to uintmax_t.
33828         * rt/tst-cpuclock2.c: Include <stdint.h>.
33829         (do_test): Replace %lu with %ju and cast to uintmax_t.
33830         * rt/tst-mqueue1.c: Include <stdint.h>.
33831         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33832         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33833         intmax_t.
33834         * rt/tst-mqueue4.c (do_test): Likewise.
33835         * rt/tst-timer4.c: Include <stdint.h>.
33836         (check_ts): Replace %ld with %jd and cast to intmax_t.
33837         (do_test): Likewise.
33838         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33839         and cast to intmax_t.
33840         * sysdeps/pthread/tst-timer.c (main): Likewise.
33841         * time/clocktest.c (main): Likewise.
33842         * time/tst-posixtz.c (do_test): Likewise.
33843         * timezone/tst-timezone.c (main): Likewise.
33845 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33846             H.J. Lu  <hongjiu.lu@intel.com>
33848         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33849         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33850         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33851         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33852         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33853         version if bit_Fast_Unaligned_Load is set.
33854         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33855         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33856         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33857         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33858         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33859         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33861         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33862         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33863         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33864         to 4.
33865         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33866         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33867         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33868         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33870 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33872         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33873         instead of #if to avoid a Wundef warning.
33874         * stdlib/tst-limits.c (do_test): Likewise.
33876         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33877         parallel other exception macros.
33878         (fegetenv): Convert from macro to extern inline so that it applies
33879         retroactively to inline functions already seen by the compiler.
33880         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33882         * posix/Makefile (before-compile): Use $(objpfx) for
33883         posix-conf-vars-def.h.
33885 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33887         * posix/getconf.c (main): Use size_t for type of I.
33888         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33889         NSPEC.
33891         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33892         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33893         * posix/posix-envs.def: Likewise.
33894         * sysdeps/posix/sysconf.c: Likewise.
33895         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33896         (specs): Remove array.
33897         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33898         array.
33900         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33901         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33902         (__sysconf): Use CONF_IS_* macros.
33904         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33905         ($(objpfx)posix-conf-vars-def.h): New target.
33906         * posix/posix-conf-vars.list: New file.
33907         * posix/posix-conf-vars.h: New file.
33908         * posix/confstr.c: Include posix-conf-vars.h.
33909         (confstr): Use CONF_IS_* macros.
33910         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33911         CONF_IS_* macros.
33912         * scripts/gen-posix-conf-vars.awk: New file.
33914 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33916         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33917         fegetround): Add no-op macros to avoid linknamespace issues.
33919         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33920         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33922         * sysdeps/unix/sysv/linux/tile/sysdep.h
33923         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33924         assembly-specific section to avoid a redefinition warning.
33926         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33927         long before casting to pointer to avoid a cast warning.
33929 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33931         * sysdeps/tile/tilegx/Implies: New file.
33933 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33935         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33937 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33939         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33941 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33943         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33944         not define.
33945         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33946         <kernel-features.h>.
33947         (__utimes) [__NR_utimes]: Make code unconditional.
33948         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33949         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33950         (__ASSUME_UTIMES): Do not undefine.
33951         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33952         (__ASSUME_UTIMES): Likewise.
33953         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33954         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33955         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33956         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33958 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33960         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33962 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33964         [BZ #17747]
33965         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33966         alias to weak alias for j0l, y0l.
33967         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33968         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33970         [BZ #17746]
33971         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33972         conversion.
33974 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33976         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33977         to zero if not already defined.
33979 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33981         [BZ #17724]
33982         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33983         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33984         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33985         (char *) casts added.
33986         * sysdeps/ieee754/k_standardf.c: New file.
33987         * sysdeps/ieee754/k_standardl.c: Likewise.
33988         * math/Makefile (libm-support): Remove k_standard.
33989         (libm-calls): Add k_standard.
33991 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33993         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33994         Optimize to avoid an unnecessary FPCR read.
33996 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33998         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33999         Optimize to reduce FPCR/FPSR accesses.
34001 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34003         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34004         Call libc_fetestexcept_aarch64.
34006 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34008         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34009         Call libc_fesetround_aarch64.
34011 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34013         [BZ #17733]
34014         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34015         (__bind): Do not define as weak alias.
34016         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34017         define.
34018         (__getsockname): Do not define as weak alias.
34020 2014-12-22  Will Newton  <will.newton@linaro.org>
34022         * manual/install.texi: Document that we require bison 2.7
34023         or above.
34024         * INSTALL: Regenerate.
34025         * configure.ac: Use AC_CHECK_PROG_VER instead of
34026         AC_PATH_PROG when checking for bison and check for
34027         version 2.7 or above.
34028         * configure: Regenerate.
34030 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34032         [BZ #17745]
34033         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34034         * sysdeps/tile/ffsll.c (ffsll): To here.
34036         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34038 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34040         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34041         if not defined.
34042         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34043         definition.
34044         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34045         hidden ___tls_get_addr.
34046         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34047         hidden __tls_get_addr.
34048         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34049         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34050         Likewise.
34052 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34054         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34055         _dl_init call.
34057 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34059         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34060         from "call _dl_init@PLT".
34061         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34063 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34065         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34066         guarantees.
34068 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34070         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34072 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34074         [BZ #17744]
34075         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34076         strnlen.
34078 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34080         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34081         of multu on MIPSr6.
34082         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34083         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34084         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34085         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34086         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34088 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34090         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34091         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34092         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34093         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34094         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34095         mips32r6/mips64r6.
34096         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34098 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34100         * string/strncat.c (STRNCAT): Simplify implementation.
34102 2014-12-19  David S. Miller  <davem@davemloft.net>
34104         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34105         access the quad as both a long double and as a series of 4 words.
34107         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34108         link_map->l_info array access.
34110 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34112         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34114         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34115         * math/atest-exp2.c (TIMEOUT): Likewise.
34116         * math/atest-sincos.c (TIMEOUT): Likewise.
34118 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34120         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34121         -Wno-error with -fno-builtin-lround.
34123 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34125         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34126         Contains futex constants and functions moved over from ...
34127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34128         <lowlevellock-futex.h>.
34129         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34130         (lll_timedwait_tid): Add comments and parentheses around macro
34131         arguments.
34133 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34135         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34136         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34137         (__lll_private_flag): Remove.
34138         (lll_futex_wait): Likewise.
34139         (lll_futex_timed_wait): Likewise.
34140         (lll_futex_wake): Likewise.
34141         (lll_futex_requeue): Likewise.
34142         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34143         (__lll_timedwait_tid): Spell out argument names.
34144         (lll_timedwait_tid): Add comments and parentheses around macro
34145         arguments.
34146         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34147         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34149 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34151         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34152         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34153         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34154         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34155         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34156         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34157         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34158         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34159         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34160         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34161         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34162         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34163         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34164         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34165         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34166         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34167         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34168         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34169         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34171 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34173         * sysdeps/x86_64/x32/Makefile: New file.
34175 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34177         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34178         1L with (mp_limb_t) 1.
34180 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34182         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34183         * nptl/libc_pthread_init.c: ... here.
34184         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34185         * nptl/register-atfork.c: ... here.
34187         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34188         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34189         Use assert_perror to check its return value.
34190         (__gai_create_helper_thread): Likewise.
34192         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34194         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34196 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34198         [BZ #17725]
34199         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34200         __profil_counter.
34201         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34202         Likewise.
34203         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34204         Likewise.
34205         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34206         Likewise.
34207         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34208         (profil_counter): Likewise.
34209         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34210         (profil_counter): Likewise.
34211         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34212         Likewise.
34213         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34214         Likewise.
34215         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34216         (profil_counter): Likewise.
34217         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34218         Likewise.
34219         [!__profil_counter] (profil_counter): Define as weak alias of
34220         __profil_counter.
34221         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34222         (profil_counter): Rename to __profil_counter.
34223         [!__profil_counter] (profil_counter): Define as weak alias of
34224         __profil_counter.
34225         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34226         (profil_counter): Rename to __profil_counter.
34227         [!__profil_counter] (profil_counter): Define as weak alias of
34228         __profil_counter.
34229         * sysdeps/posix/profil.c: Update comment referring to
34230         profil_counter.
34231         (__profil): Use __profil_counter instead of profil_counter.
34232         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34233         __profil_counter.  Use __profil_counter_ushort and
34234         __profil_counter_uint in definitions.
34235         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34236         instead of profil_counter_uint and profil_counter_ushort.
34238         [BZ #17722]
34239         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34240         define as weak alias of __inet_makeaddr.
34241         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34242         as weak alias of __inet_addr.
34243         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34244         as weak alias of __inet_pton.  Use libc_hidden_weak.
34245         * include/arpa/inet.h (__inet_pton): Declare.  Use
34246         libc_hidden_proto.
34247         (inet_makeaddr): Don't use libc_hidden_proto.
34248         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34249         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34250         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34251         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34252         Remove variable.
34253         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34254         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34256 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34258         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34260 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34262         * stdio-common/bug-vfprintf-nargs.c (do_test):
34263         Cast value to intptr_t to avoid format warning
34264         for usage with PRIdPTR printing macro.
34266 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34268         * libio/tst-widetext.c (do_test):
34269         Use format type %td instead of %Zd for ptrdiff_t
34270         in order to avoid format warning.
34272 2014-12-17  Andreas Schwab  <schwab@suse.de>
34274         * nscd/mem.c (gc): Add size_t cast to match printf format.
34276 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34278         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34279         (init): Apply PTR_MANGLE to pointers before storing them.
34280         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34281         before using them.
34283 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34285         [BZ #17719]
34286         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34287         define as weak alias of __memrchr.
34288         (__memrchr): Do not define as strong alias of memrchr.
34289         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34290         Remove variable.
34291         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34292         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34293         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34295         [BZ #17717]
34296         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34297         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34298         (if_indextoname): Rename to __if_indextoname and define as weak
34299         alias of __if_indextoname.  Use libc_hidden_weak.
34300         (if_freenameindex): Rename to __if_freenameindex and define as
34301         weak alias of __if_freenameindex.
34302         (if_nameindex): Rename to __if_nameindex and define as weak alias
34303         of __if_nameindex.
34304         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34305         __if_nametoindex and define as weak alias of __if_nametoindex.
34306         Use libc_hidden_weak.
34307         (if_freenameindex): Rename to __if_freenameindex and define as
34308         weak alias of __if_freenameindex.
34309         (if_nameindex): Rename to __if_nameindex and define as weak alias
34310         of __if_nameindex.
34311         (if_indextoname): Rename to __if_indextoname and define as weak
34312         alias of __if_indextoname.  Use libc_hidden_weak.
34313         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34314         __if_nametoindex and define as weak alias of __if_nametoindex.
34315         Use libc_hidden_weak.
34316         (if_freenameindex): Rename to __if_freenameindex and define as
34317         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34318         (if_nameindex_netlink): Use __if_freenameindex instead of
34319         if_freenameindex.
34320         (if_nameindex): Rename to __if_nameindex and define as weak alias
34321         of __if_nameindex.  Use libc_hidden_weak.
34322         (if_indextoname): Rename to __if_indextoname and define as weak
34323         alias of __if_indextoname.  Use libc_hidden_weak.
34324         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34325         libc_hidden_proto.
34326         [!_ISOMAC] (__if_freenameindex): Likewise.
34327         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34328         if_nametoindex.
34329         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34330         variable.
34331         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34332         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34333         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34334         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34335         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34336         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34337         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34339         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34340         Remove variable.
34341         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34342         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34344 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34346         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34347         subscript above bounds'
34349         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34350         bounds.
34352 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34354         * libio/tst-fopenloc.c: Use test-skeleton.c.
34356         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34357         (entry): Rename to ITEM.
34358         (do_test, comp): Adjust.
34360         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34362 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34364         * string/tester.c: Include <libc-internal.h>.
34365         (test_memset): Ignore -Wmemset-transposed-args.
34367 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34369         * misc/tst-mntent2.c (do_test): Fix warning.
34371 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34373         * elf/tst-unique4lib.cc(a): Mark as used.
34375 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34377         [BZ #17630]
34378         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34379         names.
34381 2014-12-16  Allan McRae  <allan@archlinux.org>
34383         * stdio-common/Makefile (tests): Re-add bug26.
34385 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34387         [BZ #17657]
34388         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34389         static array.
34391 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34393         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34394         (__lll_lock_wait): Likewise.
34395         (__lll_timedlock_wait): Likewise.
34396         (__lll_timedwait_tid): Likewise.
34397         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34398         (__lll_robust_timedlock_wait): Likewise.
34399         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34400         (lll_cond_trylock): Likewise.
34401         (__lll_lock): Likewise.
34402         (__lll_robust_lock): Likewise.
34403         (__lll_cond_lock): Likewise.
34404         (lll_robust_cond_lock): Likewise.
34405         (__lll_timedlock): Likewise.
34406         (__lll_robust_timedlock): Likewise.
34407         (__lll_unlock): Likewise.
34408         (__lll_robust_unlock): Likewise.
34409         (lll_wait_tid): Likewise.
34410         (lll_timedwait_tid): Likewise.
34412 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34414         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34416 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34418         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34420 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34422         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34423         * stdio-common/tst-sprintf.c: Likewise.
34425 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34427         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34429 2014-12-15  Jeff Law  <law@redhat.com>
34431         [BZ #16617]
34432         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34433         on the heap.  (CVE-2012-3406)
34434         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34435         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34436         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34438 2014-12-15  Will Newton  <will.newton@linaro.org>
34440         * manual/install.texi: Bump required version of texinfo
34441         to 4.7 from 4.5.
34442         * INSTALL: Regenerated.
34443         * configure.ac: Check for makeinfo version 4.7 and above.
34444         * configure: Regenerated.
34446 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34448         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34449         PREFIX, string constant to insert between directory and name.
34450         * sysdeps/posix/shm_open.c: Update caller.
34451         * sysdeps/posix/shm_unlink.c: Likewise.
34452         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34453         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34454         (SEM_SHM_PREFIX): New macro.
34455         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34456         [$(have-thread-library) = no].
34457         * nptl/Makefile (libpthread-routines): Add shm-directory.
34458         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34459         * sysdeps/nptl/shm-directory.h: New file.
34460         * sysdeps/posix/shm-directory.c
34461         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34462         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34463         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34464         INTERNAL_SYSCALL.
34465         (__where_is_shmfs): Function removed.
34466         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34467         Variables removed.
34468         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34469         Use SHM_GET_NAME.
34470         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34472         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34473         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34474         unconditional for use inside libpthread.
34475         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34477 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34479         * nptl/pthread_getaffinity.c: New file.
34480         * nptl/pthread_setaffinity.c: New file.
34481         * nptl/pthread_getname.c: New file.
34482         * nptl/pthread_setname.c: New file.
34484         * nptl/pthread_create.c (START_THREAD_DEFN)
34485         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34487 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34488             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34490         * resolv/res_send.c (send_vc): Disable warning resplen may
34491         be used uninitialized.
34493 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34495         * nptl/tst-mutex6.c
34496         (ATTR_NULL): New define checks ATTR against NULL.
34497         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
34498         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
34500 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
34502         [BZ #17581]
34503         * malloc/hooks.c
34504         (mem2mem_check): Revert my previous change.
34505         (malloc_check_get_size): Revert my previous change.
34506         (mem2chunk_check): Revert my previous change.
34508 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34510         * sysdeps/posix/shm-directory.c: New file.
34511         * sysdeps/posix/shm-directory.h: New file.
34512         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
34513         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
34514         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
34515         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
34516         Transmute EPERM to EACCES.
34517         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
34518         from ...
34519         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
34520         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
34522 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34524         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
34525         pointer and cast to uintptr_t.
34526         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
34527         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
34528         Add cast to avoid warning.
34529         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
34531 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34533         * nptl/semaphore.h: Move to ...
34534         * sysdeps/pthread/semaphore.h: ... here.
34535         * Makefile (installed-headers): Change nptl/semaphore.h to
34536         sysdeps/pthread/semaphore.h.
34538 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34540         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
34541         generated error format strings.
34543         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
34544         -Wformat-extra-args warnings for scanf formats.
34545         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
34546         test of zero-length format (duh).
34547         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
34548         corner-case scanf format test.
34549         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
34550         generated fprintf format string.
34551         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
34552         corner-case sprintf format tests.
34553         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
34554         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
34555         -Wformat-extra-args warnings throughout.
34556         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
34557         (CFLAGS-scanf4.c): Likewise.
34558         (CFLAGS-scanf7.c): Likewise.
34559         (CFLAGS-tst-sprintf.c): Likewise.
34560         (CFLAGS-tst-printf.c): Likewise.
34561         (CFLAGS-tst-printfsz.c): Likewise.
34563 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34565         * include/cpio.h: New file.
34566         * include/fmtmsg.h: Likewise.
34568         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
34569         corresponding format argument to size_t.
34570         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
34571         arguments.
34572         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
34573         corresponding format argument to size_t.
34574         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
34575         arguments.
34576         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
34577         corresponding format argument to size_t.
34578         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
34579         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
34580         (CFLAGS-tst-mbswcs2.c): Likewise.
34581         (CFLAGS-tst-mbswcs3.c): Likewise.
34582         (CFLAGS-tst-mbswcs4.c): Likewise.
34583         (CFLAGS-tst-mbswcs5.c): Likewise.
34584         (CFLAGS-tst-trans.c): Likewise.
34586 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34588         * posix/regexbug1.c (main): Use "%s" format with regerror results,
34589         rather than assuming they won't contain any '%'s.
34591 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
34593         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
34594         inhibit_loop_to_libcall to avoid recursive calls.
34595         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
34596         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
34598 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34600         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
34601         prototype.
34603 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34605         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
34606         integer value instead of boolean.
34608 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34610         * malloc/malloc.c: Fix powerof2 check.
34612 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34614         * locale/programs/locfile.h (maybe_swap_uint32):
34615         Remove inline and add unused attribute.
34617 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34619         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34620         Truncating assembler expression to a .long expression.
34622 2014-12-11  Andreas Schwab  <schwab@suse.de>
34624         * elf/rtld.c (struct map_args): Constify str member.
34625         (do_preload): Constify fname argument.
34627 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
34630         constants definition.
34632 2014-12-11  Andreas Schwab  <schwab@suse.de>
34634         [BZ #16657]
34635         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
34636         FORCE_ELISION instead of DO_ELISION.
34637         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
34638         Remove.
34639         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
34640         Likewise.
34642         * iconvdata/gconv-modules: Remove duplicate entry.
34644 2014-12-11  Will Newton  <will.newton@linaro.org>
34646         Merge gettext 0.19.3 into intl/.
34648         This involves a number of cosmetic changes to comments
34649         and ANSI function definitions and prototypes throughout
34650         all the files. The gettext copyright header is used but
34651         with the date ranges taken from the glibc copy.
34653         * NEWS: Add gettext merge to 2.21.
34654         * intl/bindtextdom.c: Switch to gettext copyright.
34655         Use ANSI definitions and prototypes.
34656         Use gl_* locking primitives rather than __libc_* ones.
34657         Use __builtin_expect rather than __glibc_likely/unlikely.
34658         * intl/dcgettext.c: Switch to gettext copyright.
34659         Use ANSI definitions and prototypes.
34660         * intl/dcigettext.c: Switch to gettext copyright.
34661         Use ANSI definitions and prototypes.
34662         (INTDIV0_RAISES_SIGFPE): New define.
34663         Use gl_* locking primitives rather than __libc_* ones.
34664         Include eval-plural.h instead of plural-eval.c.
34665         Use __builtin_expect rather than __glibc_likely/unlikely.
34666         * intl/dcngettext.c: Switch to gettext copyright.
34667         Use ANSI definitions and prototypes.
34668         * intl/dgettext.c: Likewise.
34669         * intl/dngettext.c: Likewise.
34670         * intl/plural-eval.c: Renamed to...
34671         * intl/eval-plural.h: ...this.
34672         * intl/explodename.c: Switch to gettext copyright.
34673         Use ANSI definitions and prototypes.
34674         (_nl_explode_name): Use strchr instead of __rawmemchr.
34675         * intl/finddomain.c: Switch to gettext copyright.
34676         Use ANSI definitions and prototypes.
34677         Use gl_* locking primitives rather than __libc_* ones.
34678         (_nl_find_domain): Use malloc rather than alloca for
34679         allocation of temporary locale name.
34680         * intl/gettext.c: Switch to gettext copyright.
34681         Use ANSI definitions and prototypes.
34682         * intl/gettextP.h: Switch to gettext copyright.
34683         Use ANSI definitions and prototypes.
34684         Use gl_* locking primitives rather than __libc_* ones.
34685         * intl/gmo.h: Switch to gettext copyright.
34686         (struct sysdep_string): Move struct segment_pair outside of
34687         struct definition.
34688         * intl/hash-string.c: Use ANSI definitions and prototypes.
34689         * intl/hash-string.h: Switch to gettext copyright.
34690         Use ANSI definitions and prototypes.
34691         * intl/l10nflist.c: Switch to gettext copyright.
34692         Use ANSI definitions and prototypes.
34693         (_nl_normalize_codeset): Avoid integer overflow.
34694         * intl/loadinfo.h: Switch to gettext copyright.
34695         Use ANSI definitions and prototypes.
34696         (LIBINTL_DLL_EXPORTED): New define.
34697         (PATH_SEPARATOR): New define.
34698         * intl/loadmsgcat.c: Switch to gettext copyright.
34699         * intl/localealias.c: Switch to gettext copyright.
34700         Use ANSI definitions and prototypes.
34701         (_nl_expand_alias): Use PATH_SEPARATOR.
34702         * intl/ngettext.c: Switch to gettext copyright.
34703         Use ANSI definitions and prototypes.
34704         * intl/plural-exp.c: Likewise.
34705         * intl/plural-exp.h: Switch to gettext copyright.
34706         Use ANSI definitions and prototypes.
34707         (struct expression): Move definition of enum operator outside
34708         of struct definition.
34709         * intl/plural.c: Regenerate.
34710         * intl/plural.y: Switch to gettext copyright.
34711         Use ANSI definitions and prototypes.
34712         Port to bison 3.0.
34713         * intl/textdomain.c: Switch to gettext copyright.
34714         Use ANSI definitions and prototypes.
34715         Use gl_* locking primitives rather than __libc_* ones.
34717 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34719         * debug/warning-nop.c: Add used atrribute.
34721 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34723         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34725         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34726         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34727         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34729 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34732         [BZ #17634]
34733         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34734         Undefine after defining function.  Define as weak alias of
34735         __wcschr.  Use libc_hidden_weak.
34736         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34737         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34738         (libc_hidden_def): Also define __GI___wcschr alias.
34739         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34740         __wcschr and define as weak alias of __wcschr.
34741         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34742         __wcschr.
34743         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34744         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34745         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34746         libc_hidden_weak.  Do not use libc_hidden_def.
34747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34748         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34749         __GI___wcschr alias.
34750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34751         [IS_IN (libc)] (wcschr): Define as macro expanding to
34752         __redirect_wcschr.
34753         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34754         [IS_IN (libc)] (__wcschr_power6): Likewise.
34755         [IS_IN (libc)] (__wcschr_power7): Likewise.
34756         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34757         instead of wcschr.
34758         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34759         __libc_wcschr.
34760         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34761         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34762         __wcschr and define as weak alias of __wcschr.  Use
34763         libc_hidden_builtin_def.
34764         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34765         as weak alias of __wcschr.  Use libc_hidden_weak.
34766         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34767         wcschr.
34768         * time/era.c (_nl_init_era_entries): Likewise.
34769         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34770         variable.
34771         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34772         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34774 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34776         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34777         format for long int variable.
34779 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34781         [BZ #10672]
34782         * manual/search.texi: (Array Sort Function): Remove claim how to make
34783         qsort stable.
34785 2014-12-10  Andreas Schwab  <schwab@suse.de>
34787         [BZ #12847]
34788         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34789         user-controlled locks.
34791 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34793         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34794         register.
34796 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34798         * configure.ac (--disable-werror): New configure option.
34799         (enable_werror): New AC_SUBST.
34800         * configure: Regenerated.
34801         * config.make.in (enable-werror): New variable.
34802         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34803         -Wno-error=undef.
34804         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34805         * manual/install.texi (Configuring and compiling): Document
34806         --disable-werror.
34807         * INSTALL: Regenerated.
34808         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34809         (CFLAGS-tst-chk2.c): Likewise.
34810         (CFLAGS-tst-chk3.c): Likewise.
34811         (CFLAGS-tst-chk4.cc): Likewise.
34812         (CFLAGS-tst-chk5.cc): Likewise.
34813         (CFLAGS-tst-chk6.cc): Likewise.
34814         (CFLAGS-tst-lfschk1.c): Likewise.
34815         (CFLAGS-tst-lfschk2.c): Likewise.
34816         (CFLAGS-tst-lfschk3.c): Likewise.
34817         (CFLAGS-tst-lfschk4.cc): Likewise.
34818         (CFLAGS-tst-lfschk5.cc): Likewise.
34819         (CFLAGS-tst-lfschk6.cc): Likewise.
34821         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34822         (main): Disable -Wdeprecated-declarations around calls to
34823         register_printf_function.
34825         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34826         (do_test): Disable -Wdiv-by-zero around some calls to
34827         fwrite_unlocked and fread_unlocked.
34829         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34830         (DIAG_POP_NEEDS_COMMENT): Likewise.
34831         (_DIAG_STR1): Likewise.
34832         (_DIAG_STR): Likewise.
34833         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34834         * stdio-common/bug21.c: Include <libc-internal.h>.
34835         (do_test): Disable -Wformat around call to sscanf.
34836         * stdio-common/scanf14.c: Include <libc-internal.h>.
34837         (main): Disable -Wformat around some calls to scanf functions.
34839 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34841         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34843 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34845         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34846         stack variable alignment.
34848 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34850         [BZ #17682]
34851         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34852         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34853         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34854         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34855         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34856         __getrlimit instead of getrlimit.
34857         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34858         __gettimeofday instead of gettimeofday.
34859         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34860         Likewise.
34861         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34862         Likewise.
34863         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34864         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34865         Remove variable.
34866         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34867         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34869 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34871         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34872         for wide-character tests.
34874 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34876         * io/openat64.c: #include <libc-internal.h>
34877         (__openat64): Prototypify.  Use ignore_value on MODE.
34878         * io/openat.c: Likewise.
34879         * misc/reboot.c: #include <libc-internal.h>
34880         (reboot): Prototypify.  Use ignore_value on HOWTO.
34881         * misc/ptrace.c: #include <libc-internal.h>
34882         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34884 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34886         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34887         XPG4, UNIX98 and XOPEN2K.
34888         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34889         Remove variable.
34890         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34892 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34894         * libio/fileops.c: Use ISO C style for function definitions.
34895         * libio/iofopen.c: Likewise.
34896         * libio/wfileops.c: Likewise.
34898         [BZ #17653]
34899         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34900         offset on EOF.
34901         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34902         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34903         (fgets_func): Function pointer to fgets and fgetws.
34904         (do_ftell_test): Add test to verify ftell value after read
34905         EOF.
34906         (do_test): Set fgets_func.
34908         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34909         O_TRUNC flag for w and w+ modes.
34910         (do_rewind_test): Likewise.
34911         (do_ftell_test): Likewise.
34912         (do_write_test): Likewise.
34914         [BZ #17647]
34915         * libio/fileops.c (do_ftell): Seek only when there are
34916         unflushed writes.
34917         * libio/wfileops.c (do_ftell_wide): Likewise.
34918         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34919         test case.
34920         (do_one_test): Call it.
34922 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34924         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34925         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34926         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34927         Remove variable.
34928         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34929         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34930         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34932 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34934         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34935         Remove variable.
34936         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34938         [BZ #17668]
34939         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34940         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34941         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34942         __freeifaddrs.  Use libc_hidden_weak.
34943         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34944         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34945         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34946         __freeifaddrs.  Use libc_hidden_weak.
34947         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34948         __getifaddrs and define as weak alias of __getifaddrs.  Use
34949         libc_hidden_weak.
34950         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34951         __freeifaddrs.  Use libc_hidden_weak.
34952         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34953         Remove variable.
34954         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34955         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34957 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34959         [BZ #17601]
34960         * sysdeps/mips/start.S (__start): Use indirect jump to call
34961         __libc_start_main.
34963 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34965         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34967         * nptl/tst-mutex1.c: Include <stdbool.h>.
34968         [!ATTR] (ATTR_NULL): New macro.
34969         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34970         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34971         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34973         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34974         to char *.
34976         [BZ #17665]
34977         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34978         Change conditional to [__USE_MISC].
34980         [BZ #17664]
34981         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34982         fgets_unlocked.
34983         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34984         __fgets_unlocked.
34985         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34986         fgets_unlocked.
34987         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34988         Remove variable.
34989         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34990         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34991         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34992         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34993         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34994         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34995         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34996         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34997         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34999         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35001 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35004         Remove strpbrk objects.
35005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35006         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35007         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35008         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35009         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35010         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35013         Remove strcspn objects.
35014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35015         (__libc_ifunc_impl_list): Remove strcspn implementation.
35016         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35017         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35018         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35019         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35021         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35022         Remove strspn objetcs.
35023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35024         (__libc_ifunc_impl_list): Remove strspn implementation.
35025         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35026         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35027         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35028         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35030 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35032         [BZ #17581]
35033         * malloc/hooks.c
35034         (mem2mem_check): Add a terminator to the chain of checking blocks.
35035         (malloc_check_get_size): Use it here.
35036         (mem2chunk_check): Ditto.
35038 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35040         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35041         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35043 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35045         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35047         * nptl/nptl-init.c: Include libc-internal.h.
35048         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35050         * elf/ldconfig.c (search_dir): Expand comment.
35052 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35054         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35055         variable.
35056         (linknamespace-symlist-stdlibs-tests): Likewise.
35057         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35058         instead of $(objpfx)symlist-stdlibs.
35059         (linknamespace-libs-isoc): New variable.
35060         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35061         (linknamespace-libs-ISO): New variable.
35062         (linknamespace-libs-ISO99): Likewise.
35063         (linknamespace-libs-ISO11): Likewise.
35064         (linknamespace-libs-XPG3): Likewise.
35065         (linknamespace-libs-XPG4): Likewise.
35066         (linknamespace-libs-POSIX): Likewise.
35067         (linknamespace-libs-UNIX98): Likewise.
35068         (linknamespace-libs-XOPEN2K): Likewise.
35069         (linknamespace-libs-POSIX2008): Likewise.
35070         (linknamespace-libs-XOPEN2K8): Likewise.
35071         ($(objpfx)symlist-stdlibs): Replace by
35072         $(linknamespace-symlist-stdlibs-tests).  Use
35073         $(linknamespace-libs-$*) as set of libraries.
35074         ($(linknamespace-header-tests)): Update dependencies.  Use
35075         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35076         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35077         * conform/linknamespace.pl: Remove comment about considering
35078         definitions of symbols from irrelevant libraries.
35080 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35082         [BZ #13862]
35083         * elf/dl-tls.c: Include <atomic.h>.
35084         (oom): Remove #ifdef SHARED/#endif.
35085         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35086         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35087         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35088         big enough.
35089         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35090         * nptl/Makefile (tests): Add tst-stack4.
35091         (modules-names): Add tst-stack4mod.
35092         ($(objpfx)tst-stack4): New.
35093         (tst-stack4mod.sos): Likewise.
35094         ($(objpfx)tst-stack4.out): Likewise.
35095         ($(tst-stack4mod.sos)): Likewise.
35096         (clean): Likewise.
35097         * nptl/tst-stack4.c: New file.
35098         * nptl/tst-stack4mod.c: Likewise.
35100 2014-11-27  J. Brown  <jb999@gmx.de>
35102         * sysdeps/x86/bits/string.h: Add recent CPUs.
35104 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35106         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35107         sigblock.
35109         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35110         feof.
35112         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35113         variable.
35115 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35117         * nscd/connections.c: Include libc-internal.h because of macro
35118         usage ignore_value.
35120 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35122         * string/bits/string3.h (__warn_memset_zero_len): Don't
35123         declare for gcc newer than 5.0.
35124         (memset): Don't test for zero-length __LEN for gcc newer than
35125         5.0.
35127 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35129         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35130         size_t for %zu format.
35132         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35133         difference, not %ju.
35135 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35137         * include/libc-internal.h (ignore_value): New macro.
35138         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35139         with ignore_value.
35141         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35142         definition.
35144         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35145         pthread_cleanup_push to void *.
35147         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35148         Undefine.
35150         [BZ #16619]
35151         [BZ #16740]
35152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35153         instead of 1L << 52.
35155         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35156         * libio/bug-rewind2.c (do_test): Likewise.
35158         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35159         * debug/test-strcpy_chk-ifunc.c: Likewise.
35160         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35161         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35162         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35163         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35164         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35165         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35166         * Rules [$(multi-arch) = no] (tests): Do not filter out
35167         $(tests-ifunc).
35168         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35169         * debug/Makefile (tests-ifunc): Remove variable.
35170         (tests): Do not add $(tests-ifunc).
35171         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35172         (tests): Do not add $(tests-ifunc).
35173         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35174         [TEST_IFUNC]: Remove conditionals.
35175         * string/test-string.h (TEST_IFUNC): Remove macro.
35176         [TEST_IFUNC]: Remove conditionals.
35178         * string/test-strchr.c [!WIDE] (L): New macro.
35179         [WIDE] (L): Likewise.
35180         (check1): Use CHAR instead of char.  Use L on string and character
35181         constants.
35183 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35185         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35186         tests.
35187         * sysdeps/powerpc/bits/atomic.h
35188         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35189         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35190         (atomic_exchange_and_add_acq): Likewise.
35191         (atomic_exchange_and_add_rel): Likewise.
35192         * sysdeps/powerpc/powerpc32/bits/atomic.h
35193         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35194         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35195         * sysdeps/powerpc/powerpc64/bits/atomic.h
35196         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35197         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35199 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35201         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35202         Change synchronization of __sched_fifo_min_prio and
35203         __sched_fifo_max_prio.
35204         * nptl/pthread_mutexattr_getprioceiling.c
35205         (pthread_mutexattr_getprioceiling): Likewise.
35206         * nptl/pthread_mutexattr_setprioceiling.c
35207         (pthread_mutexattr_setprioceiling): Likewise.
35208         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35209         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35210         Likewise.
35212 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35214         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35215         void.
35217 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35219         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35220         third argument const.
35222 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35224         fnmatch: work around GCC compiler warning bug with uninit var
35225         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35226         This works around a bug with x86-64 GCC 4.9.2 and earlier
35227         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35228         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35229         used uninitialized in this function [-Wmaybe-uninitialized]".
35231 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35233         * posix/bug-regex31.c (main): Return RES not 0.
35235 2014-11-25  Anton Blanchard <anton@samba.org>
35237         * sysdeps/powerpc/bits/atomic.h
35238         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35240 2014-11-24  Sterling Augustine  <saugustine@google.com>
35242         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35244 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35246         [BZ #17608]
35247         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35249 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35251         [BZ #17633]
35252         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35253         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35254         variable.
35255         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35256         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35258 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35260         * string/strncpy.c (strncpy): Improve performance by using memset.
35262 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35264         * string/strcpy.c (strcpy):
35265         Improve performance by using strlen and memcpy.
35267 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35269         * string/strcoll_l.c (get_next_seq): __always_inline.
35270         * string/strcoll_l.c (do_compare): __always_inline.
35272 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35274         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35275         defined.
35276         * include/mqueue.h: Likewise.
35277         * include/stdlib.h: Likewise.
35279         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35280         (get_null_defines): Adjust.
35281         * sunrpc/Makefile: Adjust comment.
35282         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35283         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35284         (CFLAGS-interp.c): Likewise.
35285         (CFLAGS-ldconfig.c): Likewise.
35286         (CPPFLAGS-.os): Likewise.
35287         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35288         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35289         * extra-modules.mk (extra-modules.mk): Likewise.
35290         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35291         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35292         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35293         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35294         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35295         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35296         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35297         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35298         * iconvdata/Makefile (CPPFLAGS): Likewise.
35299         (cpp-srcs-left): Add libof for all iconvdata routines.
35300         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35301         * include/assert.h: Likewise.
35302         * include/ctype.h: Likewise.
35303         * include/errno.h: Likewise.
35304         * include/libc-symbols.h: Likewise.
35305         * include/math.h: Likewise.
35306         * include/netdb.h: Likewise.
35307         * include/resolv.h: Likewise.
35308         * include/stdio.h: Likewise.
35309         * include/stdlib.h: Likewise.
35310         * include/string.h: Likewise.
35311         * include/sys/stat.h: Likewise.
35312         * include/wctype.h: Likewise.
35313         * intl/l10nflist.c: Likewise.
35314         * libidn/idn-stub.c: Likewise.
35315         * libio/libioP.h: Likewise.
35316         * nptl/libc_multiple_threads.c: Likewise.
35317         * nptl/pthreadP.h: Likewise.
35318         * posix/regex_internal.h: Likewise.
35319         * resolv/res_hconf.c: Likewise.
35320         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35321         * sysdeps/arm/memmove.S: Likewise.
35322         * sysdeps/arm/sysdep.h: Likewise.
35323         * sysdeps/generic/_itoa.h: Likewise.
35324         * sysdeps/generic/symbol-hacks.h: Likewise.
35325         * sysdeps/gnu/errlist.awk: Likewise.
35326         * sysdeps/gnu/errlist.c: Likewise.
35327         * sysdeps/i386/i586/memcpy.S: Likewise.
35328         * sysdeps/i386/i586/memset.S: Likewise.
35329         * sysdeps/i386/i686/memcpy.S: Likewise.
35330         * sysdeps/i386/i686/memmove.S: Likewise.
35331         * sysdeps/i386/i686/mempcpy.S: Likewise.
35332         * sysdeps/i386/i686/memset.S: Likewise.
35333         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35334         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35335         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35336         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35337         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35338         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35339         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35340         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35341         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35342         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35343         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35344         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35345         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35346         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35347         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35348         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35349         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35350         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35351         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35352         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35353         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35354         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35355         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35356         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35357         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35358         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35359         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35360         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35362         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35363         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35364         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35365         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35366         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35367         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35368         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35369         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35370         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35371         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35373         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35374         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35375         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35376         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35377         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35378         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35379         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35380         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35381         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35382         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35383         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35384         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35385         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35386         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35387         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35388         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35389         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35390         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35391         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35392         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35393         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35394         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35395         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35396         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35397         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35398         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35399         * sysdeps/posix/closedir.c: Likewise.
35400         * sysdeps/posix/opendir.c: Likewise.
35401         * sysdeps/posix/readdir.c: Likewise.
35402         * sysdeps/posix/rewinddir.c: Likewise.
35403         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35404         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35405         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35406         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35407         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35408         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35409         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35412         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35414         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35415         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35416         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35417         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35418         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35419         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35420         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35421         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35422         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35423         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35424         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35425         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35427         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35429         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35430         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35431         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35438         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35439         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35440         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35441         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35442         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35443         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35444         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35445         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35447         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35448         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35449         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35450         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35451         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35452         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35453         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35454         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35456         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35457         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35460         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35461         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35462         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35463         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35464         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35465         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35466         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35467         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35468         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35469         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35470         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35471         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35472         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35473         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35474         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35475         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35476         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35477         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35478         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35479         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35480         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35481         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35482         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35483         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35484         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35485         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35486         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35487         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35488         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
35489         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
35490         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35491         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35492         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35493         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
35494         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
35495         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
35496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35498         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
35499         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35500         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35501         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
35502         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
35503         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35504         * sysdeps/unix/alpha/sysdep.S: Likewise.
35505         * sysdeps/unix/alpha/sysdep.h: Likewise.
35506         * sysdeps/unix/make-syscalls.sh: Likewise.
35507         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35508         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35509         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35510         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
35511         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35512         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
35513         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
35514         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35515         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35516         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
35517         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35518         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35520         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35521         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35522         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35523         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35524         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35525         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35526         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35527         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
35528         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35529         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35530         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35531         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35532         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35533         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35536         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
35537         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35538         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35539         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35541         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35545         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35546         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35547         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35548         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35549         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35550         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35551         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35556         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35557         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35558         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35559         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35560         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35561         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
35562         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35563         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35565         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
35566         * sysdeps/x86_64/memcpy.S: Likewise.
35567         * sysdeps/x86_64/memmove.c: Likewise.
35568         * sysdeps/x86_64/memset.S: Likewise.
35569         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
35570         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35571         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35572         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
35573         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
35574         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35575         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35576         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35577         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35578         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35579         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35580         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35581         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
35582         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35583         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35584         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
35585         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35586         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35587         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35588         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35589         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
35590         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35591         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35592         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35593         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35594         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35595         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35596         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
35597         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35598         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35599         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
35600         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35601         * sysdeps/x86_64/strcmp.S: Likewise.
35603         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
35605         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
35606         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
35607         * elf/rtld-Rules: Likewise.
35608         * elf/setup-vdso.h: Likewise.
35609         * include/assert.h: Likewise.
35610         * include/bits/stdlib-float.h: Likewise.
35611         * include/errno.h: Likewise.
35612         * include/sys/stat.h: Likewise.
35613         * include/unistd.h: Likewise.
35614         * sysdeps/aarch64/setjmp.S: Likewise.
35615         * sysdeps/alpha/setjmp.S: Likewise.
35616         * sysdeps/arm/__longjmp.S: Likewise.
35617         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
35618         * sysdeps/arm/setjmp.S: Likewise.
35619         * sysdeps/arm/sysdep.h: Likewise.
35620         * sysdeps/generic/_itoa.h: Likewise.
35621         * sysdeps/generic/dl-sysdep.h: Likewise.
35622         * sysdeps/generic/ldsodefs.h: Likewise.
35623         * sysdeps/i386/dl-tls.h: Likewise.
35624         * sysdeps/i386/setjmp.S: Likewise.
35625         * sysdeps/m68k/setjmp.c: Likewise.
35626         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
35627         * sysdeps/mach/hurd/opendir.c: Likewise.
35628         * sysdeps/posix/getcwd.c: Likewise.
35629         * sysdeps/posix/opendir.c: Likewise.
35630         * sysdeps/posix/profil.c: Likewise.
35631         * sysdeps/powerpc/dl-procinfo.h: Likewise.
35632         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35633         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35634         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35635         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35636         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
35637         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35638         * sysdeps/s390/dl-tls.h: Likewise.
35639         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35640         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35641         * sysdeps/sh/sh3/setjmp.S: Likewise.
35642         * sysdeps/sh/sh4/setjmp.S: Likewise.
35643         * sysdeps/unix/alpha/sysdep.h: Likewise.
35644         * sysdeps/unix/arm/sysdep.S: Likewise.
35645         * sysdeps/unix/i386/sysdep.S: Likewise.
35646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35647         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35648         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35649         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35650         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35651         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35652         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35653         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35654         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35655         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35656         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35657         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35658         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35661         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35663         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35664         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35665         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35666         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35667         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35669         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35670         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35671         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35673         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35674         * sysdeps/x86_64/setjmp.S: Likewise.
35676         * include/math.h: Use IS_IN instead of IS_IN_libm.
35677         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35678         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35679         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35680         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35681         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35682         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35688         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35689         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35690         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35695         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35697         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35698         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35699         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35700         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35701         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35702         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35704         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35705         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35706         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35707         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35708         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35709         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35711         Likewise.
35712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35713         Likewise.
35714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35715         Likewise.
35716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35717         Likewise.
35718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35719         Likewise.
35720         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35721         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35722         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35723         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35724         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35725         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35731         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35732         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35733         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35734         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35735         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35736         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35737         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35738         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35739         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35740         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35741         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35743         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35744         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35746         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35748         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35749         * nptl/pthreadP.h: Likewise.
35750         * nptl_db/structs.def: Likewise.
35751         * sysdeps/arm/sysdep.h: Likewise.
35752         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35753         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35754         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35755         * sysdeps/unix/alpha/sysdep.h: Likewise.
35756         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35757         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35758         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35759         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35760         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35761         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35763         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35764         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35765         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35766         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35767         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35768         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35769         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35774         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35777         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35778         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35779         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35780         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35781         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35783         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35784         * nptl/pthreadP.h: Likewise.
35785         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35786         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35787         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35788         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35789         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35790         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35791         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35792         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35793         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35794         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35795         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35796         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35798         Likewise.
35799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35800         Likewise.
35801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35802         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35803         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35804         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35806         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35807         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35808         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35810         * dlfcn/dladdr.c: Use IS_IN.
35811         * dlfcn/dladdr1.c: Likewise.
35812         * dlfcn/dlclose.c: Likewise.
35813         * dlfcn/dlerror.c: Likewise.
35814         * dlfcn/dlinfo.c: Likewise.
35815         * dlfcn/dlmopen.c: Likewise.
35816         * dlfcn/dlopen.c: Likewise.
35817         * dlfcn/dlsym.c: Likewise.
35818         * dlfcn/dlvsym.c: Likewise.
35820         * include/ifaddrs.h: Use IS_IN.
35821         * inet/check_pf.c: Likewise.
35822         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35823         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35825         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35826         IS_IN_ldconfig.
35827         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35828         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35830         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35831         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35832         IS_IN (libc).
35834         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35836         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35837         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35838         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35839         * include/libc-symbols.h (IS_IN_LIB): New macro.
35840         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35841         * include/netdb.h: Likewise.
35842         * include/stap-probe.h: Remove all uses of IN_LIB.
35844         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35845         instead of IN_MODULE.
35846         * include/libc-symbols.h (IN_MODULE): Define using
35847         MODULE_NAME.
35848         (PASTE_NAME, PASTE_NAME1): New macros.
35849         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35850         of IN_LIB.
35851         (STAP_PROBE_ASM): Likewise.
35853 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35855         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35856         __mach_init in dlopened libc.
35858 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35860         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35861         * sysdeps/arm/preconfigure: Regenerate.
35863 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35865         * nptl/pthread_create.c (__pthread_create_2_1): Set
35866         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35867         when copying values from IATTR into PD.
35869 2014-11-21  Will Newton  <will.newton@linaro.org>
35870             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35872         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35873         Refactor inline-asm.  Also add comment.
35875         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35876         ElfW macro instead of hardcoded Elf64 types.
35877         (la_aarch64_gnu_pltenter): Likewise.
35878         * sysdeps/aarch64/dl-machine.h
35879         (elf_machine_runtime_setup): Use ElfW(Addr).
35881         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35882         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35883         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35884         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35885         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35886         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35887         (R_AARCH64_TLS_DTPMOD): This.
35888         (R_AARCH64_TLS_DTPREL64): Rename to ...
35889         (R_AARCH64_TLS_DTPREL): This.
35890         (R_AARCH64_TLS_TPREL64): Rename to ...
35891         (R_AARCH64_TLS_TPREL): This.
35892         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35893         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35894         R_AARCH64_TLS_TPREL64.
35895         (elf_machine_rela): Likewise.
35897 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35899         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35900         by setting it to 0.  64b atomics are not supported currently.
35902 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35904         [BZ #16469]
35905         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35906         search domain names.
35908 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35910         [BZ #16469]
35911         * NEWS: Update.
35912         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35913         trailing dot.
35914         * posix/tst-getaddrinfo5.c: New.
35915         * posix/Makefile (tests): Add it.
35917 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35919         [BZ #14498]
35920         * NEWS: Fixed.
35921         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35922         after parsing line but before break_if_match.
35923         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35924         if there is a protocol mismatch.
35926 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35928         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35929         because the potential race is on the user-supplied stream.
35931 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35933         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35934         string literal if not passed a buffer.
35935         * manual/job.texi (ctermid): Update reasoning, note deviation
35936         from posix, suggest mtasurace when not passed a buffer, for
35937         future non-preliminary safety notes.
35939 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35941         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35942         of not passing it a buffer.
35943         Reported by Peng Haitao.
35945 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35947         * manual/Makefile ($(objpfx)stamp-summary): Require
35948         check-safety.sh to pass.
35949         * manual/check-safety.sh: Wish for verification that every
35950         @deftypefn and @deftypefun is followed by a @safety remark.
35952 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35954         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35956         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35957         PTHREAD_CANCEL_ASYNCHRONOUS.
35958         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35959         send SIGCANCEL.
35961         * nptl/default-sched.h: New file.
35962         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35963         * nptl/pthread_create.c: Include it.
35964         (__pthread_create_2_1): Use collect_default_sched instead of making
35965         Linux syscalls here directly.
35967 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35969         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35970         __pthread_once): Use C11 atomics.
35972 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35974         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35976 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35978         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35979         atomic_thread_fence_acquire, atomic_thread_fence_release,
35980         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35981         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35982         atomic_compare_exchange_weak_relaxed,
35983         atomic_compare_exchange_weak_acquire,
35984         atomic_compare_exchange_weak_release,
35985         atomic_exchange_acquire, atomic_exchange_release,
35986         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35987         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35988         atomic_fetch_and_acquire,
35989         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35991 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35993         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35994         USE_ATOMIC_COMPILER_BUILTINS): Define.
35995         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35997         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35999         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36001         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36003         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36005         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36007         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36009         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36011         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36013         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36015         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36017         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36019         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36021         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36023         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36025         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36027         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36029         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36030         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36031         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36033         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36036 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36038         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36039         the sched_priority value here.  It was already checked when the user
36040         called pthread_attr_setschedparam.
36042         * nptl/tst-bad-schedattr.c: New file.
36043         * nptl/Makefile (tests): Add it.
36045 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36046             Florian Weimer  <fweimer@redhat.com>
36047             Joseph Myers  <joseph@codesourcery.com>
36048             Adam Conrad  <adconrad@0c3.net>
36049             Andreas Schwab  <schwab@suse.de>
36050             Brooks  <bmoses@google.com>
36052         [BZ #17625]
36053         * wordexp-test.c (__dso_handle): Add prototype.
36054         (__register_atfork): Likewise.
36055         (__app_register_atfork): New function.
36056         (registered_forks): New global.
36057         (register_fork): New function.
36058         (test_case): Add 3 new tests for WRDE_CMDSUB.
36059         (main): Call __app_register_atfork.
36060         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36061         fork count is non-zero fail the test.
36062         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36063         is set.
36064         (parse_dollars): Remove check for WRDE_NOCMD.
36065         (parse_dquote): Likewise.
36067 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36069         * Makeconfig (built-modules): List non-library modules to be
36070         built.
36071         (module-cppflags): Include libc-modules.h for
36072         everything except shlib-versions.v.i.
36073         (CPPFLAGS): Use it.
36074         (before-compile): Add libc-modules.h.
36075         ($(common-objpfx)libc-modules.h,
36076         $(common-objpfx)libc-modules.stmp): New targets.
36077         (common-generated): Add libc-modules.h and libc-modules.stmp.
36078         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36079         * include/libc-symbols.h: Don't include libc-modules.h.
36080         * include/libc-modules.h: Remove file.
36081         * scripts/gen-libc-modules.awk: New script to generate
36082         libc-modules.h.
36083         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36084         Depend on libc-modules.stmp.
36086         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36088         * Makeconfig (in-module): Get value of libof set for the
36089         translation unit.
36090         (CPPFLAGS): Use $(in-module).
36091         * Makerules: Don't suffix routine names for nonlib.
36092         * include/libc-modules.h: New file.
36093         * include/libc-symbols.h: Include libc-modules.h
36094         (IS_IN): New macro to replace IS_IN_* macros.
36095         * elf/Makefile: Set libof-* for each routine.
36096         * elf/rtld-Rules: Likewise.
36097         * extra-modules.mk: Likewise.
36098         * iconv/Makefile: Likewise.
36099         * iconvdata/Makefile: Likewise.
36100         * locale/Makefile: Likewise.
36101         * malloc/Makefile: Likewise.
36102         * nss/Makefile: Likewise.
36103         * sysdeps/gnu/Makefile: Likewise.
36104         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36105         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36106         * sysdeps/s390/s390-64/Makefile: Likewise.
36107         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36108         CPPFLAGS for nscd instead of nonlib.
36110 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36112         * nptl/createthread.c: New file.
36114         * nptl/createthread.c: Moved ...
36115         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36117         * nptl/createthread.c: Add proper top-line comment.
36118         (do_clone): Folded into ...
36119         (create_thread): ... here.  Take new arguments STOPPED_START and
36120         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36121         increment __nptl_threads, do event-reporting logic, do
36122         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36123         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36124         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36125         just send SIGCANCEL.
36126         * nptl/pthread_create.c: Forward-declare create_thread before
36127         including createthread.c.
36128         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36129         declaration, and new macro START_THREAD_SELF to replace argument.
36130         Remove return statement.
36131         (report_thread_creation): New function.
36132         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36133         synchronization logic, and __nptl_nthreads increment here, around
36134         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36135         PD->parent_cancelhandling here, before create_thread.  When
36136         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36137         __deallocate_stack, and ENOMEM translation here.
36139 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36141         [BZ #17616]
36142         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36143         (mptwo): Rename to __mptwo.
36144         (__inv): Use __mptwo instead of mptwo.
36145         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36146         (mptwo): Rename to __mptwo.
36147         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36148         of mpone and __mptwo instead of mptwo.
36149         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36150         instead of mpone.
36151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36152         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36153         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36154         of mpone and __mptwo instead of mptwo.
36155         (__mpranred): Use __mpone instead of mpone.
36156         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36157         variable.
36158         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36159         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36160         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36161         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36162         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36163         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36164         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36165         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36166         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36167         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36168         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36169         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36170         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36171         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36172         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36173         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36174         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36175         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36176         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36178 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36180         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36181         replace BSD Handler xref with BSD Signal Handling.
36183 2014-11-17  Richard Henderson  <rth@redhat.com>
36185         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36186         (_FP_PACK_RAW_2): Remove.
36187         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36188         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36189         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36190         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36191         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36192         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36193         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36194         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36195         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36196         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36197         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36198         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36199         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36200         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36201         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36202         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36204 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36206         * signal/signal.h [__USE_MISC]
36207         (struct sigvec): Remove type.
36208         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36209         (sigvec): Remove declaration.
36210         * sysdeps/posix/sigvec.c: Moved ...
36211         * signal/sigvec.c: ... here, replacing old file.
36212         (struct sigvec): New type, copied from old signal.h definition.
36213         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36214         (__sigvec): Convert definition to prototype.
36215         (sigvec): Replace weak_alias with compat_symbol.
36216         * signal/Versions (libc: GLIBC_2.21): New version set.
36217         * include/signal.h: Remove __sigvec declaration.
36218         * sysdeps/unix/bsd/sigvec.c: Remove file.
36219         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36220         * manual/signal.texi (BSD Handler): Remove subsection.
36221         Move siginterrupt up to ...
36222         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36223         (Blocking in BSD): Fold subsection into its parent.
36224         * NEWS: Mention sigvec removal.
36226 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36228         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36229         (DLA_FMS): Make definition conditional only on [__FMA4__].
36230         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36231         definition.
36233         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36234         Make definition conditional only on [PROF].
36235         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36236         definition.
36237         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36238         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36240         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36241         !__GNUC__].
36242         * include/signal.h (__sigpause): Move declaration above call to
36243         libc_hidden_proto.
36244         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36245         variable.
36246         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36247         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36249 2014-11-14  David S. Miller  <davem@davemloft.net>
36251         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36252         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36254 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36256         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36257         * configure: Regenerated.
36258         * manual/install.texi (Tools for Compilation): Document a
36259         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36260         compiler verified to work.
36261         * INSTALL: Regenerated.
36263         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36264         redeclare with asm name.
36265         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36266         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36267         including <string.h>.
36268         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36269         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36270         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36271         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36272         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36274         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36276 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36278         * stdlib/strtol.c (__strtol): Use prototype definition.
36280         [BZ #17594]
36281         * stdlib/strtol.c (SYM__): New macro.
36282         (SYM__1): Likewise.
36283         (__strtol): Likewise.
36284         (strtol): Rename to __strtol and define as weak alias of
36285         __strtol.  Use libc_hidden_weak.
36287 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36289         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36290         Use numbered labels in inline assembly.
36292 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36294         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36295         Add setjmp LIBC_PROBE.
36296         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36297         Likewise.
36298         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36299         Add longjmp, longjmp_target LIBC_PROBE.
36300         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36301         Likewise.
36303 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36305         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36306         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36307         to get rid of unused variable warning.
36309 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36311         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36312         Check for unwind_backtrace ==  NULL only in SHARED case.
36313         (__backchain_backtrace): Compile only in SHARED case.
36314         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36315         Likewise.
36316         (__backchain_backtrace): Declare as static.
36318 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36320         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36321         (__libc_multiple_threads_ptr): Variable moved ...
36322         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36324 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36326         * conform/GlibcConform.pm: New file.
36327         * conform/conformtest.pl: Use GlibcConform module.
36328         * conform/linknamespace.pl: New file.
36329         * conform/list-header-symbols.pl: Likewise.
36330         * conform/Makefile (linknamespace-symlists-base): New variable.
36331         (linknamespace-symlists-tests): Likewise.
36332         (linknamespace-header-base): Likewise.
36333         (linknamespace-header-tests): Likewise.
36334         (tests-special): Add new tests.
36335         ($(linknamespace-symlists-tests)): New rule.
36336         (linknamespace-libs): New variable.
36337         ($(objpfx)symlist-stdlibs): New rule.
36338         ($(linknamespace-header-tests)): Likewise.
36339         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36340         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36341         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36342         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36343         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36344         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36345         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36346         (test-xfail-ISO/math.h/linknamespace): Likewise.
36347         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36348         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36349         (test-xfail-ISO/time.h/linknamespace): Likewise.
36350         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36351         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36352         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36353         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36354         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36355         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36356         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36357         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36358         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36359         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36360         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36361         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36362         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36363         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36364         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36365         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36366         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36367         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36368         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36369         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36370         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36371         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36372         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36373         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36374         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36375         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36376         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36377         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36378         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36379         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36380         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36381         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36382         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36383         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36384         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36385         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36386         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36387         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36388         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36389         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36390         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36391         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36392         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36393         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36394         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36395         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36396         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36397         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36398         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36399         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36400         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36401         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36402         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36403         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36404         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36405         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36406         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36407         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36408         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36409         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36410         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36411         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36412         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36413         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36414         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36415         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36416         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36417         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36418         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36419         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36420         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36421         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36422         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36423         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36424         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36425         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36426         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36427         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36428         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36429         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36430         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36431         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36432         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36433         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36434         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36435         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36436         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36437         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36438         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36439         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36440         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36441         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36442         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36443         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36444         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36445         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36446         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36447         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36448         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36449         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36450         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36451         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36452         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36453         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36454         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36455         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36456         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36457         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36458         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36459         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36460         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36461         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36462         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36463         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36464         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36465         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36466         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36467         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36468         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36469         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36470         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36471         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36472         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36473         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36474         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36475         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36476         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36477         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36478         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36479         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36480         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36481         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36482         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36483         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36484         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36485         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36486         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36487         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36488         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36489         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36490         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36491         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36492         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36493         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36494         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36495         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36496         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
36497         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36498         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36499         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36501         [BZ #17589]
36502         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
36503         of fgets_unlocked.
36505         [BZ #17585]
36506         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
36507         (memmem): Rename to __memmem and define as weak alias of
36508         __memmem.  Use libc_hidden_weak.
36509         (__memmem): Use libc_hidden_def.
36510         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
36511         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
36512         memmem.
36514         [BZ #17582]
36515         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
36516         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
36517         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
36518         and define as weak alias of __fgets_unlocked.  Use
36519         libc_hidden_weak.
36520         (__fgets_unlocked): Use libc_hidden_def.
36521         * include/stdio.h (__fgets_unlocked): Declare.  Use
36522         libc_hidden_proto.
36523         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
36524         __fgets_unlocked instead of fgets_unlocked.
36525         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
36526         (GET_NPROCS_CONF_PARSER): Likewise.
36527         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
36528         (GET_NPROCS_CONF_PARSER): Likewise.
36530         [BZ #17574]
36531         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
36532         weak alias of __wmemset.  Use libc_hidden_weak.
36533         (__wmemset): Use libc_hidden_def.
36534         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
36535         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
36536         of wmemset.
36538         [BZ #17573]
36539         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
36540         with asm name __mempcpy.
36541         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
36543         [BZ #17572]
36544         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
36545         and define as weak alias of __rawmemchr.
36546         (__rawmemchr): Do not define as strong alias of rawmemchr.
36548         [BZ #17571]
36549         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
36550         alias of __qsort_r.
36551         (qsort): Call __qsort_r instead of qsort_r.
36552         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
36553         (__qsort_r): Declare.  Call libc_hidden_proto.
36554         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
36555         instead of qsort_r.
36556         * nscd/gai.c (__qsort_r): Define to qsort_r.
36557         * posix/tst-rfc3484.c (__qsort_r): Likewise.
36558         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
36559         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
36561         [BZ #17570]
36562         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
36563         define as weak alias of __malloc_info.
36565         [BZ #17584]
36566         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
36567         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36568         (__rewinddir): Use libc_hidden_def.
36569         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
36570         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36571         (__rewinddir): Use libc_hidden_def.
36572         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
36573         weak alias of __rewinddir.  Don't use libc_hidden_def.
36574         (__rewinddir): Use libc_hidden_def.
36575         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
36576         (__rewinddir): Use libc_hidden_proto.
36577         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
36578         rewinddir.
36579         (__getcwd): Use __rewinddir instead of rewinddir.
36581         [BZ #17583]
36582         * libio/fileno.c (fileno): Rename to __fileno and define as weak
36583         alias of __fileno.  Use libc_hidden_weak.
36584         (__fileno): Use libc_hidden_def.
36585         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
36586         * libio/ftello.c (ftello): Rename to __ftello and define as weak
36587         alias of __ftello.
36588         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
36589         __ftello.
36590         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
36591         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
36592         libc_hidden_def.
36593         (fread_unlocked): Don't use libc_hidden_ver.
36594         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
36595         and define as weak alias of __fread_unlocked.  Don't use
36596         libc_hidden_def.
36597         (__fread_unlocked): Use libc_hidden_def.
36598         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
36599         (ftello): Don't use libc_hidden_proto.
36600         (__ftello): Declare.  Use libc_hidden_proto.
36601         (fread_unlocked): Don't use libc_hidden_proto.
36602         (__fread_unlocked): Declare.  Use libc_hidden_proto.
36603         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
36604         and __ftello instead of fileno, fread_unlocked and ftello.
36606 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36608         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
36609         GOT12.
36610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36611         Likewise.
36612         (_dl_start_user): Likewise.
36613         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
36615 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
36616             Siddhesh Poyarekar  <siddhesh@redhat.com>
36618         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
36619         Move argv and envp down instead of moving argc up.
36620         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
36622 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
36624         [BZ #17506]
36625         * test-skeleton.c (main): Return successful if one of
36626         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
36627         * string/tst-strcoll-overflow.c: Define expected status.
36629 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
36631         [BZ #17475]
36632         * locale/iso-639.def: Define Bhili and Tulu language codes.
36634 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
36636         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
36638 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
36640         [BZ #17555]
36641         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
36643 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36645         * configure.ac: Updated check of minimal required version to
36646         2.22.
36647         * manual/install.texi (Tools for Compilation): Updated version
36648         number.
36649         * configure: Regenerated.
36650         * INSTALL: Likewise.
36652 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
36654         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36655         __tls_get_addr.
36657 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36659         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36660         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36661         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36662         libc_hidden_weak.
36663         (waitpid): Define as alias of __waitpid.
36664         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36665         __waitpid.
36666         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36667         libc_hidden_weak.
36668         (waitpid): Define as alias of __waitpid.
36669         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36670         __libc_waitpid alias.
36671         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36672         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36673         Likewise.
36674         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36675         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36676         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36677         alias.
36678         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36679         __waitpid.
36680         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36681         libc_hidden_weak.
36682         (waitpid): Define as alias of __waitpid.
36684 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36686         * manual/llio.texi: Add comment that write safety has been
36687         fixed in Linux.
36689         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36690         (localplt-build-dso): Add elf/ld.so.
36691         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36692         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36693         and free for ld.so.
36694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36695         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36697         Likewise.
36698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36699         Likewise.
36700         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36701         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36702         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36703         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36704         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36705         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36706         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36707         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36708         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36709         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36710         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36712 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36714         [BZ #14132]
36715         * include/libc-symbols.h (INTUSE): Remove macro.
36716         (INTDEF): Likewise.
36717         (INTVARDEF): Likewise.
36718         (_INTVARDEF): Likewise.
36719         (INTDEF2): Likewise.
36720         (INTVARDEF2): Likewise.
36721         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36722         rtld_hidden_def instead of INTVARDEF.
36723         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36724         (_dl_starting_up_internal): Remove declaration.
36725         (_dl_starting_up): Use rtld_hidden_proto.
36726         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36727         declaration.
36728         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36729         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36730         _dl_starting_up.
36731         * elf/dl-writev.h (_dl_writev): Likewise.
36732         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36733         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36734         _dl_starting_up_internal.
36736 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36738         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36739         test-skeleton.c.
36741 2014-11-05  Will Newton  <will.newton@linaro.org>
36743         * benchtests/Makefile: (bench-malloc): Add malloc thread
36744         scalability benchmark.
36745         * benchtests/bench-malloc-threads.c: New file.
36747 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36749         * sysdeps/aarch64/strchrnul.S: New file.
36751 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36753         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36754         definition.
36755         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36756         Likewise.
36757         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36758         Likewise.
36759         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36760         Likewise.
36761         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36762         Likewise.
36763         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36764         Likewise.
36766 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36768         * catgets/test-gencat.c: Use test-skeleton.c.
36769         * catgets/tst-catgets.c: Likewise.
36770         * csu/tst-empty.c: Likewise.
36771         * elf/tst-audit2.c: Likewise.
36772         * elf/tst-global1.c: Likewise.
36773         * elf/tst-pathopt.c: Likewise.
36774         * elf/tst-piemod1.c: Likewise.
36775         * elf/tst-tls10.c: Likewise.
36776         * elf/tst-tls11.c: Likewise.
36777         * elf/tst-tls12.c: Likewise.
36778         * gnulib/tst-gcc.c: Likewise.
36779         * iconvdata/tst-e2big.c: Likewise.
36780         * iconvdata/tst-loading.c: Likewise.
36781         * iconv/tst-iconv1.c: Likewise.
36782         * iconv/tst-iconv2.c: Likewise.
36783         * inet/test-inet6_opt.c: Likewise.
36784         * inet/tst-gethnm.c: Likewise.
36785         * inet/tst-network.c: Likewise.
36786         * inet/tst-ntoa.c: Likewise.
36787         * intl/tst-codeset.c: Likewise.
36788         * intl/tst-gettext2.c: Likewise.
36789         * intl/tst-gettext3.c: Likewise.
36790         * intl/tst-ngettext.c: Likewise.
36791         * intl/tst-translit.c: Likewise.
36792         * io/test-stat.c: Likewise.
36793         * libio/test-fmemopen.c: Likewise.
36794         * libio/tst-freopen.c: Likewise.
36795         * libio/tst-sscanf.c: Likewise.
36796         * libio/tst-ungetwc1.c: Likewise.
36797         * libio/tst-ungetwc2.c: Likewise.
36798         * libio/tst-widetext.c: Likewise.
36799         * localedata/tst-ctype.c: Likewise.
36800         * localedata/tst-digits.c: Likewise.
36801         * localedata/tst-leaks.c: Likewise.
36802         * localedata/tst-mbswcs1.c: Likewise.
36803         * localedata/tst-mbswcs2.c: Likewise.
36804         * localedata/tst-mbswcs3.c: Likewise.
36805         * localedata/tst-mbswcs4.c: Likewise.
36806         * localedata/tst-mbswcs5.c: Likewise.
36807         * localedata/tst-setlocale.c: Likewise.
36808         * localedata/tst-trans.c: Likewise.
36809         * localedata/tst-wctype.c: Likewise.
36810         * localedata/tst-xlocale1.c: Likewise.
36811         * login/tst-grantpt.c: Likewise.
36812         * malloc/tst-calloc.c: Likewise.
36813         * malloc/tst-malloc.c: Likewise.
36814         * malloc/tst-mallocstate.c: Likewise.
36815         * malloc/tst-mcheck.c: Likewise.
36816         * malloc/tst-mtrace.c: Likewise.
36817         * malloc/tst-obstack.c: Likewise.
36818         * math/atest-exp2.c: Likewise.
36819         * math/atest-exp.c: Likewise.
36820         * math/atest-sincos.c: Likewise.
36821         * math/test-matherr.c: Likewise.
36822         * math/test-misc.c: Likewise.
36823         * math/test-powl.c: Likewise.
36824         * math/tst-definitions.c: Likewise.
36825         * misc/tst-dirname.c: Likewise.
36826         * misc/tst-efgcvt.c: Likewise.
36827         * misc/tst-fdset.c: Likewise.
36828         * misc/tst-hsearch.c: Likewise.
36829         * misc/tst-mntent2.c: Likewise.
36830         * nptl/tst-sem7.c: Likewise.
36831         * nptl/tst-sem8.c: Likewise.
36832         * nptl/tst-sem9.c: Likewise.
36833         * nss/test-netdb.c: Likewise.
36834         * posix/tst-fnmatch.c: Likewise.
36835         * posix/tst-getlogin.c: Likewise.
36836         * posix/tst-gnuglob.c: Likewise.
36837         * posix/tst-mmap.c: Likewise.
36838         * pwd/tst-getpw.c: Likewise.
36839         * resolv/tst-inet_ntop.c: Likewise.
36840         * rt/tst-timer.c: Likewise.
36841         * stdio-common/test-fseek.c: Likewise.
36842         * stdio-common/test-popen.c: Likewise.
36843         * stdio-common/test-vfprintf.c: Likewise.
36844         * stdio-common/tst-cookie.c: Likewise.
36845         * stdio-common/tst-fileno.c: Likewise.
36846         * stdio-common/tst-gets.c: Likewise.
36847         * stdio-common/tst-obprintf.c: Likewise.
36848         * stdio-common/tst-perror.c: Likewise.
36849         * stdio-common/tst-sprintf2.c: Likewise.
36850         * stdio-common/tst-sprintf3.c: Likewise.
36851         * stdio-common/tst-sprintf.c: Likewise.
36852         * stdio-common/tst-swprintf.c: Likewise.
36853         * stdio-common/tst-tmpnam.c: Likewise.
36854         * stdio-common/tst-unbputc.c: Likewise.
36855         * stdio-common/tst-wc-printf.c: Likewise.
36856         * stdlib/tst-environ.c: Likewise.
36857         * stdlib/tst-fmtmsg.c: Likewise.
36858         * stdlib/tst-limits.c: Likewise.
36859         * stdlib/tst-rand48-2.c: Likewise.
36860         * stdlib/tst-rand48.c: Likewise.
36861         * stdlib/tst-random2.c: Likewise.
36862         * stdlib/tst-random.c: Likewise.
36863         * stdlib/tst-strtol.c: Likewise.
36864         * stdlib/tst-strtoll.c: Likewise.
36865         * stdlib/tst-tls-atexit.c: Likewise.
36866         * stdlib/tst-xpg-basename.c: Likewise.
36867         * string/test-ffs.c: Likewise.
36868         * string/tst-bswap.c: Likewise.
36869         * string/tst-inlcall.c: Likewise.
36870         * string/tst-strtok.c: Likewise.
36871         * string/tst-strxfrm.c: Likewise.
36872         * sysdeps/x86_64/tst-audit10.c: Likewise.
36873         * sysdeps/x86_64/tst-audit3.c: Likewise.
36874         * sysdeps/x86_64/tst-audit4.c: Likewise.
36875         * sysdeps/x86_64/tst-audit5.c: Likewise.
36876         * time/tst-ftime_l.c: Likewise.
36877         * time/tst-getdate.c: Likewise.
36878         * time/tst-mktime3.c: Likewise.
36879         * time/tst-mktime.c: Likewise.
36880         * time/tst-posixtz.c: Likewise.
36881         * time/tst-strptime2.c: Likewise.
36882         * time/tst-strptime3.c: Likewise.
36883         * wcsmbs/tst-btowc.c: Likewise.
36884         * wcsmbs/tst-mbrtowc.c: Likewise.
36885         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36886         * wcsmbs/tst-wchar-h.c: Likewise.
36887         * wcsmbs/tst-wcpncpy.c: Likewise.
36888         * wcsmbs/tst-wcrtomb.c: Likewise.
36889         * wcsmbs/tst-wcsnlen.c: Likewise.
36890         * wcsmbs/tst-wcstof.c: Likewise.
36892 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36894         [BZ #14132]
36895         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36896         INTDEF.
36897         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36898         declaration.
36899         (_dl_mcount): Use rtld_hidden_proto.
36900         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36901         _dl_mcount.
36902         * elf/rtld.c (_rtld_global_ro): Likewise.
36904         [BZ #14132]
36905         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36906         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36907         of _dl_init_internal.
36908         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36909         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36910         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36911         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36912         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36913         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36914         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36915         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36916         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36917         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36918         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36919         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36920         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36921         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36922         * sysdeps/tile/dl-start.S (_start): Likewise.
36923         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36924         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36926         [BZ #14132]
36927         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36928         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36929         (rtld_progname): Make macro definition unconditional.
36930         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36931         INTDEF.
36932         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36933         (dl_main): Likewise.
36934         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36935         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36936         instead of _dl_argv_internal.
36937         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36938         __GI__dl_argv instead of INTUSE(_dl_argv).
36939         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36940         __GI__dl_argv instead of _dl_argv_internal.
36942         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36943         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36944         macro.
36945         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36946         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36947         New macro.
36948         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36949         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36950         macro.
36951         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36952         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36954 2014-11-04  Andreas Schwab  <schwab@suse.de>
36956         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36958 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36960         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36961         mtvsrd instruction in binary form.
36963 2014-11-03  Andreas Schwab  <schwab@suse.de>
36965         [BZ #17522]
36966         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36967         for less than MB_LEN_MAX use a local buffer of that size.
36968         * libio/tst-fputws.c: New file.
36969         * libio/Makefile (tests): Add tst-fputws.
36971 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36973         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36974         the size of the fpu_fr.fpu_dregs[] array.
36976 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36978         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36979         (__nanosleep): Do not define as alias.
36980         (nanosleep): Define as alias of __nanosleep.
36981         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36982         __libc_nanosleep name.
36984 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36986         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36987         install.texi in comment.
36989 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36991         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36992         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36993         ... add here and use lwsync or sync ...
36994         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36995         ... and add here using lwsync.
36997 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36999         * elf/dl-machine-reject-phdr.h: New file.
37000         * elf/dl-load.c: #include that.
37001         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37002         if that returned true.
37004 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37006         [BZ #17496]
37007         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37008         gen-as-const-headers chunk.  Add a big scare comment after the last
37009         safe place to touch before-compile.
37011 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37013         * manual/install.texi (Tools for Compilation): Update autoconf
37014         version requirements.
37015         * INSTALL: Regenerated.
37017         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37018         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37019         (__libc_pselect): Likewise.
37021         [BZ #14138]
37022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37027 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37029         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37030         correct barrier instruction.
37031         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37032         Likewise.
37033         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37034         Likewise.
37036 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37038         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37039         after defining inlines.  Instead, just use parens to defeat macro
37040         expansion of __isctype in its declaration.
37042 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37044         * include/sys/uio.h (__libc_readv): Remove declaration.
37045         (__libc_writev): Likewise.
37046         * misc/readv.c (__libc_readv): Rename to __readv.
37047         (__readv): Do not define as alias.
37048         (readv): Define as alias of __readv.
37049         * misc/writev.c (__libc_writev): Rename to __writev.
37050         (__writev): Do not define as alias.
37051         (writev): Define as alias of __writev.
37052         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37053         (__readv): Do not define as alias.
37054         (readv): Define unconditionally as alias of __readv.
37055         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37056         (__writev): Do not define as alias.
37057         (writev): Define unconditionally as alias of __writev.
37058         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37059         name.
37060         (writev): Do not define __libc_writev name.
37062 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37064         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37065         (convert_charseq): New function, broken out of ...
37066         (use_from_charmap): ... here.  Call it.
37067         (use_to_charmap): Use convert_charseq and free instead of duplicating
37068         its code with a variable-length stack struct.
37070 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37072         * include/fcntl.h (__libc_creat): Remove declaration.
37073         * io/creat.c (__libc_creat): Rename to creat.
37074         (creat): Do not define as alias.
37075         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37076         of creat instead of __libc_creat.
37077         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37078         to creat.
37079         (creat): Do not define as alias.
37080         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37081         __libc_creat.
37082         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37083         __libc_creat name.
37084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37085         Likewise.
37087 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37089         * manual/llio.texi: Add comments discussing why write() may be
37090         considered MT-unsafe on Linux.
37092 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37094         * dl-load.c (local_strdup): Remove.
37095         (expand_dynamic_string_token): Use __strdup.
37096         (decompose_rpath): Likewise.
37097         (_dl_map_object): Likewise.
37099 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37101         [BZ #14132]
37102         * sysdeps/generic/unwind-dw2-fde.c
37103         (__register_frame_info_bases_internal): Do not declare.
37104         (__register_frame_info_table_bases_internal): Likewise.
37105         (__deregister_frame_info_bases_internal): Likewise.
37106         (__register_frame_info_bases): Declare and use hidden_proto before
37107         definition.  Use hidden_def instead of INTDEF.
37108         (__register_frame_info_table_bases): Likewise.
37109         (__deregister_frame_info_bases): Likewise.
37110         (__register_frame_info): Do not use INTUSE.
37111         (__register_frame): Likewise.
37112         (__register_frame_info_table): Likewise.
37113         (__register_frame_table): Likewise.
37114         (__deregister_frame_info): Likewise.
37115         (__deregister_frame): Likewise.
37117 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37119         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37120         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37121         not undefine.
37122         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37123         Likewise.
37124         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37125         Likewise.
37127 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37129         [BZ #14138]
37130         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37131         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37132         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37133         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37134         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37135         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37136         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37137         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37138         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37139         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37140         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37141         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37142         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37143         syscall.
37144         (setfsuid): Likewise.
37145         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37146         (setfsuid): Likewise.
37147         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37148         (setfsuid): Likewise.
37149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37150         Likewise.
37151         (setfsuid): Likewise.
37152         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37153         (setfsuid): Likewise.
37154         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37155         Likewise.
37156         (setfsuid): Likewise.
37158 2014-10-27  Andreas Schwab  <schwab@suse.de>
37160         [BZ #17501]
37161         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37162         check for Slow_SSE4_2 feature bit.
37163         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37164         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37165         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37166         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37168 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37170         * configure.ac: Validate compiler version with a empirical test of
37171         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37172         $CC -v output.
37173         * configure: Regenerated.
37175         * inet/htons.c (htons): Prototypify.
37176         * inet/htonl.c (htonl): Likewise.
37178 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37180         * string/strncat.c (strncat): Improve performance by using strlen.
37182 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37184         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37186 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37188         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37189         Call libc_fetestexcept_aarch64.
37191 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37193         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37194         Call libc_feholdexcept_aarch64.
37196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37198         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37199         Call get_rounding_mode.
37201 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37203         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37204         Simplify logic.
37206 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37208         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37209         Simplify logic.
37211 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37213         [BZ #14138]
37214         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37215         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37216         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37217         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37218         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37219         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37220         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37221         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37222         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37223         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37224         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37225         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37226         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37227         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37228         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37229         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37230         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37231         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37232         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37233         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37234         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37235         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37236         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37237         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37238         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37239         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37240         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37241         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37242         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37243         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37244         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37245         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37246         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37247         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37248         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37249         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37250         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37251         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37252         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37253         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37254         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37255         syscall.
37256         (geteuid): Likewise.
37257         (getgid): Likewise.
37258         (getuid): Likewise.
37259         (getresgid): Likewise.
37260         (getresuid): Likewise.
37261         (getgroups): Likewise.
37262         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37263         (geteuid): Likewise.
37264         (getgid): Likewise.
37265         (getuid): Likewise.
37266         (getresgid): Likewise.
37267         (getresuid): Likewise.
37268         (getgroups): Likewise.
37269         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37270         (geteuid): Likewise.
37271         (getgid): Likewise.
37272         (getuid): Likewise.
37273         (getresgid): Likewise.
37274         (getresuid): Likewise.
37275         (getgroups): Likewise.
37276         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37277         Likewise.
37278         (geteuid): Likewise.
37279         (getgid): Likewise.
37280         (getuid): Likewise.
37281         (getresgid): Likewise.
37282         (getresuid): Likewise.
37283         (getgroups): Likewise.
37284         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37285         (geteuid): Likewise.
37286         (getgid): Likewise.
37287         (getuid): Likewise.
37288         (getresgid): Likewise.
37289         (getresuid): Likewise.
37290         (getgroups): Likewise.
37291         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37292         Likewise.
37293         (geteuid): Likewise.
37294         (getgid): Likewise.
37295         (getuid): Likewise.
37296         (getgroups): Likewise.
37298         [BZ #14138]
37299         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37300         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37301         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37302         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37303         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37304         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37305         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37306         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37307         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37308         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37309         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37310         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37311         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37312         __chown.
37313         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37314         (lchown): Likewise.
37315         (fchown): Likewise.
37316         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37317         Likewise.
37318         (lchown): Likewise.
37319         (fchown): Likewise.
37320         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37321         (lchown): Likewise.
37322         (fchown): Likewise.
37323         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37324         Likewise.
37325         (lchown): Likewise.
37326         (fchown): Likewise.
37328 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37330         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37331         Simplify logic.
37333 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37335         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37336         Cleanup logic.
37338 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37340         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37341         Remove unused include.
37343 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37345         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37346         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37347         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37348         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37350 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37351             Helge Deller <deller@gmx.de>
37353         [BZ #17508]
37354         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37355         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37356         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37358 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37360         [BZ #14132]
37361         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37362         Remove macro definition.
37363         (__ashrdi3_v_glibc20): Likewise.
37364         (__lshrdi3_v_glibc20): Likewise.
37365         (__cmpdi2_v_glibc20): Likewise.
37366         (__ucmpdi2_v_glibc20): Likewise.
37367         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37368         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37369         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37370         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37371         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37372         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37374 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37376         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37377         old GNU extension [0] syntax.
37378         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37379         alloca rather than an array member with variable length.
37380         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37381         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37382         (parse_opt): ... here.  Likewise use alloca there.
37383         Validate the -i argument before checking for rootness.
37384         (send_shutdown): New function, broken out of ...
37385         (parse_opt): ... here.
37387 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37389         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37390         macro to get at the _rt_local_ro field.
37391         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37392         ([PIC] case) or _dl_hwcap ([!PIC] case).
37393         * sysdeps/arm/setjmp.S: Likewise.
37395         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37396         * sysdeps/arm/configure.ac: New check to define it.
37397         * sysdeps/arm/configure: Regenerated.
37398         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37399         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37400         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37401         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37402         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37403         Use move/movt pair instead of a load.
37404         (LDST_GLOBAL): Macro removed.
37405         (LDR_GLOBAL): New macro replaces it.
37406         (LDR_HIDDEN): New macro.
37407         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37408         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37410         * setjmp/tst-setjmp-static.c: New file.
37411         * setjmp/Makefile (tests): Add it.
37412         (tests-static): New variable.
37414 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37416         [BZ #17485]
37417         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37419 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37421         [BZ #14132]
37422         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37424 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37426         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37428 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37430         * io/fts.c (dirent_not_directory): New function.
37431         (fts_build): Call it.
37433 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37435         * nptl/version.c (__nptl_main): Use normal __write rather than
37436         INTERNAL_SYSCALL.
37437         (banner): Update copyright years.
37439         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37440         gettimeofday.
37441         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37442         * nptl/pthread_cond_timedwait.c: Likewise.
37443         * nptl/pthread_mutex_timedlock.c: Likewise.
37444         * nptl/sem_timedwait.c: Likewise.
37446         * sysdeps/nptl/bits/libc-lock.h
37447         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37448         (__libc_lock_init_recursive): Return void, not 0.
37449         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37450         (__libc_rwlock_init): Likewise.
37451         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37453 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37455         [BZ #15215]
37456         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37457         (__pthread_once_slow): ... here.
37458         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37459         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37461 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37463         [BZ #15215]
37464         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37465         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37466         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37467         * nptl/pthread_once.c (__pthread_once): Likewise.
37468         Update comments.
37470 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37472         [BZ #14138]
37473         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37474         name.
37475         (writev): Use __libc_writev as strong name.
37476         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37477         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37479 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37481         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37483         * sysdeps/i386/nptl/tls.h
37484         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37485         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37486         New macros.
37487         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
37488         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
37489         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
37490         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
37491         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
37492         Call CHECK_THREAD_SYSINFO instead of doing an assert.
37494         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37495         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
37496         on [__NR_futex].
37497         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
37498         broken out of ...
37499         (__pthread_mutex_init): ... here.  Call it.
37500         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
37501         Conditionalize PI cases on [__NR_futex].
37502         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37503         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
37504         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
37506         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
37507         conditional on [SIGSETXID].
37508         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
37509         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
37510         is defined.  Likewise for SIGSETXID.
37511         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
37512         Conditionalize definitions on [SIGSETXID].
37513         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
37514         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
37515         unblocking on [SIGCANCEL].
37517         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
37518         [__NR_set_robust_list].
37520 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37522         * string/strcoll_l.c (get_next_seq): Fix up formatting.
37523         (do_compare): Likewise.
37525 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
37527         [BZ #15884]
37528         * string/strcoll_l.c: Don't include stdio.h.
37529         (coll_seq): Remove members idxarr and rulearr.
37530         (get_next_seq_cached): Remove function.
37531         (get_next_seq): Likewise.
37532         (get_next_seq_nocache): Rename to get_next_seq.
37533         (do_compare): Remove function.
37534         (do_compare_nocache): Rename to do_compare.
37535         (STRCOLL): Remove weight and rules cache.
37537 2014-10-16  Roland McGrath  <roland@hack.frob.com>
37539         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
37540         * sysdeps/arm/sfp-machine.h: ... to here.
37541         * sysdeps/arm/Implies: Remove arm/soft-fp.
37543 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
37545         * conform/data/sys/utsname.h-data (*_t): Allow.
37546         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
37547         [POSIX] (WEXITED): Do not expect constant.
37548         [POSIX] (WSTOPPED): Likewise.
37549         [POSIX] (WNOHANG): Likewise.
37550         [POSIX] (WNOWAIT): Likewise.
37551         [POSIX] (siginfo_t): Do not expect type or elements.
37552         [POSIX] (pid_t): Do not expect type.
37553         [POSIX] (signal.h): Do not allow header.
37554         [POSIX] (sys/resource.h): Likewise.
37555         [POSIX] (si_*): Do not allow pattern.
37556         [POSIX] (W*): Likewise.
37557         [POSIX] (P_*): Likewise.
37558         [POSIX] (BUS_*): Likewise.
37559         [POSIX] (CLD_*): Likewise.
37560         [POSIX] (FPE_*): Likewise.
37561         [POSIX] (ILL_*): Likewise.
37562         [POSIX] (POLL_*): Likewise.
37563         [POSIX] (SEGV_*): Likewise.
37564         [POSIX] (SI_*): Likewise.
37565         [POSIX] (TRAP_*): Likewise.
37566         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
37567         variable.
37569 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
37571         [BZ #12926]
37572         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
37573         infinite loop when __recvmsg returns 0.
37575 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
37577         * CANCEL-FCT-WAIVE: Remove file.
37578         * CANCEL-FILE-WAIVE: Likewise.
37580         [BZ #14132]
37581         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
37582         instead of INTVARDEF.
37583         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37584         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
37585         rtld_hidden_data_def instead of INTVARDEF.
37586         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37587         * elf/dl-deps.c (expand_dst): Likewise.
37588         * elf/dl-load.c (_dl_dst_count): Likewise.
37589         (_dl_dst_substitute): Likewise.
37590         (decompose_rpath): Likewise.
37591         (_dl_init_paths): Likewise.
37592         (open_path): Likewise.
37593         (_dl_map_object): Likewise.
37594         * elf/rtld.c (dl_main): Likewise.
37595         (process_dl_audit): Likewise.
37596         (process_envvars): Likewise.
37597         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
37598         Remove declaration.
37599         (__libc_enable_secure): Use rtld_hidden_proto.
37601 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37603         * elf/dl-load.c
37604         (add_path): New function broken out of _dl_rtld_di_serinfo.
37605         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
37607 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37609         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
37610         parentheses around macro arguments.
37611         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
37612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
37613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
37614         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
37615         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
37616         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37617         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
37619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
37620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
37621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
37622         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
37623         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
37624         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
37625         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
37626         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
37627         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
37628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
37629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
37630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
37631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
37632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
37633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
37634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
37637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
37638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
37639         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
37640         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
37641         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
37642         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37643         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
37644         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
37645         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
37646         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
37647         Likewise.
37648         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
37649         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37650         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
37652         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
37653         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
37654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37655         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37656         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37657         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37658         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37659         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37660         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37661         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37662         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37665         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37669         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37670         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37671         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37673         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37674         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37675         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37676         (_FP_FRAC_SRS_1): Likewise.
37677         (_FP_FRAC_CLZ_1): Likewise.
37678         (_FP_MUL_MEAT_1_imm): Likewise.
37679         (_FP_MUL_MEAT_1_wide): Likewise.
37680         (_FP_MUL_MEAT_1_hard): Likewise.
37681         (_FP_SQRT_MEAT_1): Likewise.
37682         (_FP_FRAC_ASSEMBLE_1): Likewise.
37683         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37684         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37685         (__FP_CLZ_2): Likewise.
37686         (_FP_MUL_MEAT_2_wide): Likewise.
37687         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37688         (_FP_MUL_MEAT_2_gmp): Likewise.
37689         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37690         (_FP_SQRT_MEAT_2): Likewise.
37691         (_FP_FRAC_ASSEMBLE_2): Likewise.
37692         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37693         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37694         (_FP_FRAC_CLZ_4): Likewise.
37695         (_FP_MUL_MEAT_4_wide): Likewise.
37696         (_FP_MUL_MEAT_4_gmp): Likewise.
37697         (_FP_SQRT_MEAT_4): Likewise.
37698         (_FP_FRAC_ASSEMBLE_4): Likewise.
37699         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37700         * soft-fp/op-common.h (_FP_CMP): Likewise.
37701         (_FP_CMP_EQ): Likewise.
37702         (_FP_CMP_UNORD): Likewise.
37703         (_FP_TO_INT): Likewise.
37704         (_FP_FROM_INT): Likewise.
37705         [!__FP_CLZ] (__FP_CLZ): Likewise.
37706         (_FP_DIV_HELP_imm): Likewise.
37707         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37708         Likewise.
37709         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37710         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37711         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37712         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37713         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37717         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37720         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37721         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37722         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37723         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37724         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37725         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37727         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37728         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37729         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37730         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37731         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37736         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37738         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37739         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37740         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37741         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37742         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37743         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37744         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37745         (FP_UNPACK_RAW_SP): Likewise.
37746         (FP_PACK_RAW_S): Likewise.
37747         (FP_PACK_RAW_SP): Likewise.
37748         (FP_UNPACK_S): Likewise.
37749         (FP_UNPACK_SP): Likewise.
37750         (FP_UNPACK_SEMIRAW_S): Likewise.
37751         (FP_UNPACK_SEMIRAW_SP): Likewise.
37752         (FP_PACK_S): Likewise.
37753         (FP_PACK_SP): Likewise.
37754         (FP_PACK_SEMIRAW_S): Likewise.
37755         (FP_PACK_SEMIRAW_SP): Likewise.
37756         (_FP_SQRT_MEAT_S): Likewise.
37757         (FP_CMP_S): Likewise.
37758         (FP_CMP_EQ_S): Likewise.
37759         (FP_CMP_UNORD_S): Likewise.
37760         (FP_TO_INT_S): Likewise.
37761         (FP_FROM_INT_S): Likewise.
37763         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37765         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37766         (FP_EX_INVALID_IMZ): Likewise.
37767         (FP_EX_INVALID_IMZ_FMA): Likewise.
37768         (FP_EX_INVALID_ISI): Likewise.
37769         (FP_EX_INVALID_ZDZ): Likewise.
37770         (FP_EX_INVALID_IDI): Likewise.
37771         (FP_EX_INVALID_SQRT): Likewise.
37772         (FP_EX_INVALID_CVI): Likewise.
37773         (FP_EX_INVALID_VC): Likewise.
37774         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37775         "invalid" exceptions.
37776         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37777         (_FP_ADD_INTERNAL): Likewise.
37778         (_FP_MUL): Likewise.
37779         (_FP_FMA): Likewise.
37780         (_FP_DIV): Likewise.
37781         (_FP_CMP_CHECK_NAN): Likewise.
37782         (_FP_SQRT): Likewise.
37783         (_FP_TO_INT): Likewise.
37784         (FP_EXTEND): Likewise.
37786 2014-10-09  Allan McRae  <allan@archlinux.org>
37788         * po/fr.po: Update French translation from translation project.
37790 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37792         [BZ #14132]
37793         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37794         of INTDEF.
37795         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37796         (__cxa_atexit): Use libc_hidden_proto.
37797         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37799         [BZ #14132]
37800         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37801         declaration.
37802         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37803         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37804         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37805         [!_ISOMAC] (__iswctype_internal): Likewise.
37806         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37807         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37808         alias.
37809         (fcntl): Remove __fcntl_internal alias.
37810         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37811         __connect_internal alias.
37812         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37813         Likewise.
37815         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37816         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37817         FP_DENORM_ZERO.
37818         (_FP_CHECK_FLUSH_ZERO): New macro.
37819         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37820         (_FP_CMP): Likewise.
37821         (_FP_CMP_EQ): Likewise.
37822         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37823         FP_DENORM_ZERO.
37824         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37825         (FP_TRUNC): Likewise.
37827         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37828         treated as invalid conversion, not as normal exponent.
37830         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37831         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37832         (_FP_CMP_EQ): Likewise.
37833         (_FP_CMP_UNORD): Likewise.
37834         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37835         (FP_CMP_EQ_D): Likewise.
37836         (FP_CMP_UNORD_D): Likewise.
37837         * soft-fp/extended.h (FP_CMP_E): Likewise.
37838         (FP_CMP_EQ_E): Likewise.
37839         (FP_CMP_UNORD_E): Likewise.
37840         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37841         (FP_CMP_EQ_Q): Likewise.
37842         (FP_CMP_UNORD_Q): Likewise.
37843         * soft-fp/single.h (FP_CMP_S): Likewise.
37844         (FP_CMP_EQ_S): Likewise.
37845         (FP_CMP_UNORD_S): Likewise.
37846         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37847         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37848         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37849         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37850         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37851         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37852         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37853         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37854         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37855         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37856         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37857         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37858         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37859         to FP_CMP_Q.
37860         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37861         FP_CMP_Q.
37862         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37863         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37864         FP_CMP_EQ_Q.
37865         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37866         FP_CMP_Q.
37867         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37868         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37869         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37870         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37871         FP_CMP_EQ_Q.
37872         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37873         FP_CMP_Q.
37874         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37875         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37876         FP_CMP_EQ_Q.
37877         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37878         FP_CMP_Q.
37879         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37880         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37881         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37882         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37883         FP_CMP_EQ_Q.
37885         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37886         a subnormal result, set the underflow exception if trapping on
37887         underflow is enabled.
37888         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37889         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37890         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37891         redefine to 0.
37892         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37893         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37894         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37895         * soft-fp/extendxftf2.c (__extendxftf2): Use
37896         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37898         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37899         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37900         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37901         FP_HANDLE_EXCEPTIONS.
37902         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37903         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37904         FP_HANDLE_EXCEPTIONS.
37905         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37906         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37907         FP_HANDLE_EXCEPTIONS.
37908         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37909         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37910         FP_HANDLE_EXCEPTIONS.
37912 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37914         [BZ #14132]
37915         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37916         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37917         use INTUSE.
37918         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37919         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37920         Remove alias.
37921         (__adjtimex): Define using libc_hidden_ver.
37922         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37923         Remove declaration.
37924         (ntp_gettime): Call __adjtimex directly.
37925         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37926         Remove declaration.
37927         (ntp_gettimex): Call __adjtimex directly.
37928         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37929         __adjtimex_internal alias.
37931 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37933         [BZ #17460]
37934         * nscd/nscd.c (more_help): Rewrite list of tables collection
37935         using xstrdup and asprintf.
37937         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37939 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37940             Roland McGrath  <roland@hack.frob.com>
37942         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37943         (do_lookup_unique): ... local function 'enter' here; update callers.
37945 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37947         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37948         compat_symbol calls on [SHARED].
37949         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37950         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37951         Remove.
37952         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37953         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37954         (oldsetrlimit): Remove.
37955         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37957         (lchown): New syscall entry.
37958         (oldsetrlimit): Remove.
37959         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37960         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37961         (oldsetrlimit): Remove.
37962         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37964         [BZ #14138]
37965         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37966         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37967         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37968         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37969         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37970         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37971         (fchown): Likewise.
37972         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37973         (fchown): Likewise.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37975         Likewise.
37977 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37979         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37980         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37981         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37982         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37983         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37984         Likewise.
37985         (__old_sem_post): Likewise.
37987 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37989         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37990         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37991         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37992         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37993         Use INLINE_VSYSCALL macro.
37994         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37995         __vdso_clock_gettime.
37996         * sysdeps/unix/sysv/linux/tile/init-first.c
37997         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37998         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37999         __vdso_clock_gettime.
38001         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38002         to set up frame more cleanly.
38004         * sysdeps/tile/memcmp.c: New file.
38006         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38008         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38009         * sysdeps/tile/tilegx/strcasestr.c: New file.
38010         * sysdeps/tile/tilegx/strnlen.c: New file.
38011         * sysdeps/tile/tilegx/strstr.c: New file.
38013         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38015 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38017         * nptl/tst-setuid3.c: Write errors to stdout.
38019 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38021         * elf/dl-deps.c
38022         (preload): New functions broken out of _dl_map_object_deps.
38023         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38025 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38027         [BZ #14138]
38028         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38029         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38031 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38033         * sysdeps/mips/strcmp.S: New.
38035 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38037         [BZ #14138]
38038         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38039         (linkat): Likewise.
38040         (mkdirat): Likewise.
38041         (readlinkat): Likewise.
38042         (renameat): Likewise.
38043         (symlinkat): Likewise.
38044         (unlinkat): Likewise.
38045         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38046         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38047         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38048         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38049         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38050         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38051         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38053 2014-09-30  Will Newton  <will.newton@linaro.org>
38055         * math/math.h: Define long double math functions if
38056         _LIBC_TEST is defined.
38057         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38059         * localedata/Makefile: Move assignment to tests-special
38060         into an ifdef testing run-built-tests.
38061         * timezone/Makefile: Likewise.
38063 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38065         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38066         with $(BASH) not $(SHELL).
38068 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38069             Matthew LeGendre  <legendre1@llnl.gov>
38071         [BZ #17411]
38072         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38073         l_reloc_result.
38075 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38077         * stdio-common/printf_fp.c
38078         (hack_digit): New function, broken out of ...
38079         (__printf_fp): ... local function here.  Update call sites.
38080         hack_digit now takes an additional parameter that is a pointer
38081         to a struct of the referenced locals.  Those locals moved inside
38082         the struct and references updated.
38084 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38086         * aclocal.m4: Require autoconf 2.69.
38087         * configure: Regenerated.
38088         * sysdeps/aarch64/configure: Likewise.
38089         * sysdeps/alpha/configure: Likewise.
38090         * sysdeps/arm/armv7/configure: Likewise.
38091         * sysdeps/arm/configure: Likewise.
38092         * sysdeps/ia64/configure: Likewise.
38093         * sysdeps/mach/configure: Likewise.
38094         * sysdeps/mips/configure: Likewise.
38095         * sysdeps/s390/configure: Likewise.
38096         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38099         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38100         file.
38101         * sysdeps/ia64/configure.ac: Likewise.
38103 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38106         specify symbol version for ld.so.  Do not include entry for
38107         libpthread.
38108         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38109         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38110         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38112         [BZ #14171]
38113         * Makeconfig [$(build-shared) = yes]
38114         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38115         makefiles.
38116         [$(build-shared) = yes && $(soversions.mk-done) = t]
38117         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38118         [$(build-shared) = yes && $(soversions.mk-done) = t]
38119         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38120         to Makerules.
38121         [$(build-shared) = yes && $(soversions.mk-done) = t]
38122         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38123         here.
38124         [$(build-shared) = yes && $(soversions.mk-done) = t]
38125         (common-generated): Don't append gnu/lib-names.h and
38126         gnu/lib-names.stmp here.
38127         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38128         (lib-names-h-abi): New variable.
38129         [$(build-shared) = yes && $(soversions.mk-done) = t]
38130         (lib-names-stmp-abi): Likewise.
38131         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38132         abi-variants] (before-compile): Append
38133         $(common-objpfx)$(lib-names-h-abi).
38134         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38135         abi-variants] (common-generated): Append gnu/lib-names.h.
38136         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38137         abi-variants] (install-others-nosubdir): Depend on
38138         $(inst_includedir)/$(lib-names-h-abi).
38139         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38140         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38141         [$(build-shared) = yes && $(soversions.mk-done) = t]
38142         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38143         [$(build-shared) = yes && $(soversions.mk-done) = t]
38144         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38145         [$(build-shared) = yes && $(soversions.mk-done) = t]
38146         (common-generated): Append $(lib-names-h-abi) and
38147         $(lib-names-stmp-abi).
38148         * scripts/lib-names.awk: Do not handle multi being set.
38149         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38150         Remove variable.
38151         (abi-lp64_be-ld-soname): Likewise.
38152         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38153         Likewise.
38154         (abi-hard-ld-soname): Likewise.
38155         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38156         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38157         Remove variable.
38158         (abi-o32_hard-ld-soname): Likewise.
38159         (abi-o32_soft_2008-ld-soname): Likewise.
38160         (abi-o32_hard_2008-ld-soname): Likewise.
38161         (abi-n32_soft-ld-soname): Likewise.
38162         (abi-n32_hard-ld-soname): Likewise.
38163         (abi-n32_soft_2008-ld-soname): Likewise.
38164         (abi-n32_hard_2008-ld-soname): Likewise.
38165         (abi-n64_soft-ld-soname): Likewise.
38166         (abi-n64_hard-ld-soname): Likewise.
38167         (abi-n64_soft_2008-ld-soname): Likewise.
38168         (abi-n64_hard_2008-ld-soname): Likewise.
38169         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38170         Likewise.
38171         (abi-64-v2-ld-soname): Likewise.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38173         ld.so entries.
38174         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38175         variable.
38176         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38177         entry.
38178         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38179         variable.
38180         (abi-64-ld-soname): Likewise.
38181         (abi-x32-ld-soname): Likewise.
38182         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38183         entry.
38184         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38186 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38188         [BZ #14138]
38189         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38190         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38191         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38192         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38193         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38194         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38195         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38196         syscall entry for GLIBC_2.2 symbol version.
38197         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38198         Likewise.
38199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38200         (setrlimit): Likewise.
38201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38202         Likewise.
38204 2014-09-23  Will Newton  <will.newton@linaro.org>
38206         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38207         _LINUX_ARM_SYSDEP_H include guard too.
38208         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38209         define.
38211 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38213         * sysdeps/unix/sysv/linux/eventfd.c:
38214         Make first argument unsigned.
38215         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38216         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38218 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38220         [BZ #16852]
38221         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38222         * socket/sys/socket.h: Likewise.
38223         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38225 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38227         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38229 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38231         * time/tst-ftime.c: New test.
38232         * time/Makefile (tests): Add tst-ftime.
38234 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38236         * soft-fp/extended.h: Fix comment formatting.
38237         * soft-fp/op-1.h: Likewise.
38238         * soft-fp/op-2.h: Likewise.
38239         * soft-fp/op-4.h: Likewise.
38240         * soft-fp/op-8.h: Likewise.
38241         * soft-fp/op-common.h: Likewise.
38242         * soft-fp/soft-fp.h: Likewise.
38244         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38246 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38248         [BZ #6652]
38249         * Makeconfig (soversions-default-setname): Remove variable.
38250         ($(common-objpfx)soversions.i): Don't pass default_setname to
38251         soversions.awk.
38252         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38253         oldest_abi to abi-versions.awk.
38254         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38255         * config.make.in (oldest-abi): Remove variable.
38256         * configure.ac (--enable-oldest-abi): Remove configure option.
38257         * configure: Regenerated.
38258         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38259         text.
38260         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38261         * scripts/soversions.awk: Do not handle default_setname variable.
38262         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38263         variable.
38264         * sysdeps/mach/hurd/configure: Regenerated.
38265         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38266         variable.
38267         * sysdeps/unix/sysv/linux/configure: Regenerated.
38269 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38271         * elf/Makefile (CFLAGS-interp.c): Remove.
38272         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38273         path string.
38274         * elf/interp.c: Include generated runtime-linker.h
38276         * Makerules (lib%.so): Don't include $(+interp) in
38277         prerequisites.
38278         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38279         * dlfcn/eval.c: Remove file.
38281         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38282         macros.
38284         [BZ #17266]
38285         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38286         4.2 and newer.
38288         [BZ #17370]
38289         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38291 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38292             Jakub Jelinek  <jakub@redhat.com>
38294         [BZ #17266]
38295         * libio/stdio.h: Check definition of __fortify_function
38296         instead of __extern_always_inline to include bits/stdio2.h.
38297         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38298         check if __extern_always_inline is defined.
38299         [__USE_MISC || __USE_XOPEN]: Likewise.
38300         [__USE_ISOC99] Likewise.
38301         * misc/sys/cdefs.h (__fortify_function): Define only if
38302         __extern_always_inline is defined.
38303         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38304         __extern_always_inline and __extern_inline only for g++-4.3
38305         and newer or a compatible gcc.
38307 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38309         [BZ #17371]
38310         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38311         last change to handle zero prefix length.
38313 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38315         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38316         _SC_REGEX_VERSION.
38318         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38319         _POSIX_RAW_SOCKETS.
38321 2014-09-13  Allan McRae  <allan@archlinux.org>
38323         * po/ru.po: Update Russian translation from translation project.
38325 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38327         * locale/programs/locale.c (show_locale_vars): Inline local function
38328         into its sole call site.  Clean up some style nits.
38329         (print_item): New function, broken out of ...
38330         (show_info): ... local function here.  Clean up style nits.
38332         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38333         out of ...
38334         (set_class_defaults): ... local function set_default here.
38335         Define set_default as a macro locally to pass constant parameters.
38336         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38337         rather than a shared local.
38339         * stdlib/rpmatch.c (try): New function, broken out of ...
38340         (rpmatch): ... local function here.  Also, prototypify definition.
38342 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38344         * scripts/soversions.awk: Do not handle configuration names.
38345         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38346         vendor and os variables to soversions.awk.
38347         * configure.ac: Do not modify gnu-* host_os.
38348         * configure: Regenerated
38349         * shlib-versions: Remove first column with configuration names.
38350         * nptl/shlib-versions: Likewise.
38351         * nptl_db/shlib-versions: Likewise.
38352         * sysdeps/hppa/shlib-versions: Likewise.
38353         * sysdeps/m68k/shlib-versions: Likewise.
38354         * sysdeps/mach/hurd/shlib-versions: Likewise.
38355         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38356         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38357         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38358         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38359         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38360         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38361         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38362         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38364         Likewise.
38365         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38366         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38367         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38368         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38369         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38370         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38371         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38372         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38375         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38377         Regenerated.
38378         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38380         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38382         * shlib-versions: Remove OS-specific entries.  Moved to files in
38383         sysdeps.
38384         * sysdeps/mach/hurd/shlib-versions: New file.
38385         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38387         * nptl/shlib-versions: Remove architecture-specific entries.
38388         Moved to files in sysdeps.
38389         * shlib-versions: Likewise.
38390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38391         file.
38392         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38393         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38394         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38395         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38397         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38398         (UDP_NO_CHECK6_RX): Likewise.
38400 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38402         * sysdeps/posix/sysconf.c (__sysconf): Spell
38403         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38405 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38407         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38408         loading.
38409         * iconv/Versions (__gconv_transliterate): Export for use from
38410         gconv modules.
38411         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38412         (struct __gconv_trans_data, __gconv_trans_fct,
38413         __gconv_trans_context_fct, __gconv_trans_query_fct,
38414         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38415         definitions.
38416         (struct __gconv_step_data): Remove __trans member.
38417         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38418         longer hidden.  Remove unused trans_data argument.
38419         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38420         (__gconv_translit_find): Remove declaration.
38421         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38422         prototype.
38423         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38424         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38425         trans_data argument.  Add hidden definition.
38426         (__gconv_translit_find): Remove.
38427         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38428         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38429         * iconv/skeleton.c: Remove transliteration initialization.
38430         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38431         __gconv_step_data initialization.
38432         * libio/iofwide.c (__libio_translit_): Remove.
38433         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38434         * wcsmbs/btowc.c (__btowc): Likewise.
38435         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38436         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38437         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38438         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38439         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38440         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38441         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38442         * wcsmbs/wctob.c (wctob): Likewise.
38444 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38446         [BZ #16194]
38447         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38448         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38449         register usage.
38450         * sysdeps/x86/Makefile: Adjust.
38452 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38453             Roland McGrath  <roland@hack.frob.com>
38455         * locale/weight.h: Add include guard.
38456         (findidx): Make static rather than auto; take new parameters
38457         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38458         * locale/weightwc.h: Likewise.
38459         * posix/fnmatch_loop.c
38460         (FCT): Change type of EXTRA from int32_t to wint_t.
38461         Don't include either header inside the function.
38462         Call FINDIDX rather than findidx, and pass new arguments.
38463         #undef FINDIDX at the end of the file.
38464         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38465         FINDIDX before including fnmatch_loop.c for the non-wide version.
38466         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38467         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38468         for the wide version.
38469         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38470         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38471         Pass new arguments to findidx.
38472         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38473         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38474         Don't #include it inside the function.  Pass new arguments to findidx.
38475         * posix/regex_internal.h
38476         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38477         (re_string_elem_size_at): Don't #include it inside the function.
38478         Pass new arguments to findidx.
38479         * string/strcoll_l.c: #include WEIGHT_H at top level.
38480         (get_next_seq): Don't #include it inside the function.
38481         Pass new arguments to findidx.
38482         (get_next_seq_nocache): Likewise.
38483         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38484         (STRXFRM): Don't #include it inside the function.
38485         Pass new arguments to findidx.
38487 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38489         [BZ #17344]
38490         * malloc/malloc.c (unlink): Turn asserts into a call to
38491         malloc_printerr.
38493 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
38495         [BZ #17370]
38496         * libio/wfileops (do_ftell_wide): Free OUT.
38498 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
38500         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
38502 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38504         [BZ #17363]
38505         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
38506         group if the current group is empty.
38508 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38510         * benchtests/bench-memset.c (test_main): Add more test from size
38511         from 32 to 512 bytes.
38512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38513         Add POWER8 memset object.
38514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38515         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
38516         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
38517         implementation.
38518         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
38519         Likewise.
38520         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
38521         multiarch POWER8 memset optimization.
38522         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
38523         POWER8 memset optimization.
38525         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38526         Remove bzero multiarch objects.
38527         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
38528         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
38529         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
38530         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
38531         Remove define.
38532         [__bzero]: Redefine to specific name.
38533         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
38534         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
38535         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
38536         define.
38537         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38538         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38540 2014-09-10  Florian Weimer  <fweimer@redhat.com>
38542         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
38543         warnings into errors.
38545         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
38546         __cxa_thread_atexit_impl prototype.
38548 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38550         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
38551         Fix capitalization of error message.
38553 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38555         * sysdeps/mips/preconfigure: Modify ABI tests.
38557 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
38559         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
38561 2014-09-07  Roland McGrath  <roland@hack.frob.com>
38562             Carlos O'Donell  <carlos@systemhalted.org>
38564         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
38565         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
38566         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
38567         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
38568         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
38569         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
38570         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
38571         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
38572         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
38573         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
38574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
38575         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
38576         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
38577         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
38578         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
38579         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
38580         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
38581         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
38582         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
38583         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
38584         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
38585         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
38586         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
38587         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
38588         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
38589         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
38590         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
38591         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
38592         Deconditionalize the code that was previously under [RESET_PID].
38593         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
38594         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
38595         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
38596         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
38597         include sysdep.h.
38599 2014-09-08  Allan McRae  <allan@archlinux.org>
38601         * version.h (RELEASE): Set to "development".
38602         (VERSION): Set to "2.20.90"
38604 2014-09-07  Allan McRae  <allan@archlinux.org
38606         * version.h (RELEASE): Set to "stable".
38607         (VERSION): Set to "2.20"
38608         * include/features.h (__GLIBC_MINOR__): Set to 20.
38610         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
38611         Liebler.
38613         * po/ko.po: Update Korean translation from translation project.
38615 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
38617         [BZ #17354]
38618         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
38619         macro for handling signed relocations.
38621 2014-09-03  Florian Weimer  <fweimer@redhat.com>
38623         [BZ #17325]
38624         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
38625         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
38626         assert.
38627         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
38628         * iconvdata/ibm935.c (BODY): Likewise.
38629         * iconvdata/ibm937.c (BODY): Likewise.
38630         * iconvdata/ibm939.c (BODY): Likewise.
38631         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
38632         assert.
38633         * iconvdata/Makefile (iconv-test.out): Pass module list to test
38634         script.
38635         * iconvdata/run-iconv-test.sh: New test loop for checking for
38636         decoder crashers.
38638 2014-09-02  Khem Raj  <raj.khem@gmail.com>
38640         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38641         libm_hidden_ver.
38643 2014-09-01  Allan McRae  <allan@archlinux.org>
38645         * po/eo.po: Update Esperanto translation from translation project.
38647         * po/ca.po: Update Catalan translation from translation project.
38649 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38651         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
38652         __proc_dostop call.
38654 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38656         [BZ #17319]
38657         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38658         to call set_thread_area instead of hand written asm.
38659         (__NR_set_thread_area): Removed define.
38660         (TLS_FLAG_WRITABLE): Likewise.
38661         (__ASSUME_SET_THREAD_AREA): Remove check.
38662         (TLS_EBX_ARG): Remove define.
38663         (TLS_LOAD_EBX): Likewise.
38665 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38667         Simplify atomicity of socket creation in bind.
38669         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38670         looking up the name after linking the file.
38672 2014-08-27  Allan McRae  <allan@archlinux.org>
38674         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38676 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38678         [BZ #17187]
38679         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38680         trans_compare, open_translit, __gconv_translit_find):
38681         Remove module loading code.
38683 2014-08-26  Allan McRae  <allan@archlinux.org>
38685         * po/vi.po: Update Vietnamese translation from translation project.
38687         * po/uk.po: Update Ukrainian translation from translation project.
38689         * po/fr.po: Update French translation from translation project.
38691         * po/ru.po: Update Russian translation from translation project.
38693         * po/pl.po: Update Polish translation from translation project.
38695         * po/cs.po: Update Czech translation from translation project.
38697         * po/de.po: Update German translation from translation project.
38699         * po/bg.po: Update Bulgarian translation from translation project.
38701         * po/sv.po: Update Sweedish translation from translation project.
38703         * po/nl.po: Update Dutch translation from translation project.
38705         * po/es.po: Update Spanish translation from translation project.
38707 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38711         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38712         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38713         (CPPFLAGS-iconvconfig): Likewise.
38714         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38716         * include/libc-symbols.h: Remove unnecessary check for
38717         NOT_IN_libc.
38718         * nptl/pthreadP.h: Likewise.
38719         * sysdeps/aarch64/setjmp.S: Likewise.
38720         * sysdeps/alpha/setjmp.S: Likewise.
38721         * sysdeps/arm/sysdep.h: Likewise.
38722         * sysdeps/i386/setjmp.S: Likewise.
38723         * sysdeps/m68k/setjmp.c: Likewise.
38724         * sysdeps/posix/getcwd.c: Likewise.
38725         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38726         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38727         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38728         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38729         * sysdeps/sh/sh3/setjmp.S: Likewise.
38730         * sysdeps/sh/sh4/setjmp.S: Likewise.
38731         * sysdeps/unix/alpha/sysdep.h: Likewise.
38732         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38734         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38735         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38740         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38742         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38743         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38745         * sysdeps/x86_64/setjmp.S: Likewise.
38747 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38749         [BZ #17263]
38750         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38751         <stdint.h>.
38752         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38753         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38755 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38757         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38759         [BZ #17262]
38760         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38761         and __x86_64__ when disabling x87 inline functions.
38763 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38765         [BZ #17259]
38766         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38767         asm statement with __cpuid_count.
38769 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38771         * configure.ac: Change __ehdr_start code to dereference the struct.
38772         Run readelf on the output to look for relocations.
38773         * configure: Regenerated.
38775 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #17261]
38778         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38779         value to 0.
38780         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38782 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38784         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38786 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38788         [BZ #16892]
38789         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38790         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38792 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38794         * malloc/malloc.c: Fix typo in comment.
38796 2014-08-09  Allan McRae  <allan@archlinux.org>
38798         * Regenerate libc.po.
38800 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38802         * intl/tst-gettext2.sh: Check every lang file for creation.
38804 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38806         * sysdeps/aarch64/fpu/math_private.h
38807         (libc_feholdsetround_noex_aarch64_ctx): New function.
38809 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38811         * sysdeps/arm/armv6/strcpy.S (strcpy):
38812         Fix performance issue in misaligned cases.
38814 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38816         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38817         Move definition from termios.h.
38818         (struct termio): Likewise.
38819         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38820         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38821         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38822         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38823         Likewise.
38824         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38825         Move definition to ioctl-types.h
38826         (struct termio): Likewise.
38827         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38828         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38829         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38830         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38831         Likewise.
38833 2014-08-05  Richard Henderson  <rth@redhat.com>
38835         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38836         exceptions.
38837         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38838         Add fraiseexcpt.
38839         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38840         Use __feraiseexcept.
38841         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38842         Protect libm symbols with IS_IN_libm.
38844         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38846 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38848         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38850 2014-08-04  Will Newton  <will.newton@linaro.org>
38852         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38853         file.
38855 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38857         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38858         variants for each function.
38860 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38862         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38863         appended ...
38864         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38865         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38866         appended ...
38867         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38868         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38869         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38870         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38871         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38872         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38873         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38874         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38875         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38876         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38877         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38878         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38879         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38880         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38881         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38882         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38883         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38884         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38885         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38886         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38887         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38888         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38889         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38890         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38891         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38892         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38893         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38894         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38895         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38896         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38897         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38898         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38899         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38900         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38901         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38902         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38903         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38904         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38905         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38906         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38907         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38908         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38909         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38910         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38911         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38912         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38913         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38914         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38915         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38916         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38917         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38918         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38919         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38920         Update #include.
38921         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38922         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38924 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38926         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38927         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38928         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38929         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38930         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38931         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38933 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38935         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38936         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38937         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38938         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38940 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38942         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38943         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38944         (__libc_vfork): Define function under this name.
38945         (__vfork): Define as an alias.
38946         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38947         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38949 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38951         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38952         that was previously under [RESET_PID].
38953         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38955 2014-08-04  Andreas Schwab  <schwab@suse.de>
38957         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38959 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38961         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38962         (main): Likewise.
38964 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38966         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38968 2014-08-01  Richard Henderon  <rth@redhat.com>
38970         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38971         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38972         typo in exact zero test.
38973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38974         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38977 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38979         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38980         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38981         * sysdeps/arm/sysdep.h: ... here.
38982         [!__ASSEMBLER__]: Include <stdint.h>.
38984 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38986         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38987         (HAVE_WCTYPE_H): Likewise.
38988         (HAVE_ISWCTYPE): Likewise.
38989         (ENABLE_NLS): Likewise.
38990         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38991         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38993         * posix/regex_internal.c: Check if DEBUG is defined and is
38994         set.
38996         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38997         (HAVE_MBSRTOWCS): Likewise.
38998         * posix/fnmatch.c: Include string.h unconditionally.
39000 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39002         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39003         reversal.
39005 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39007         * sysdeps/generic/safe-fatal.h: New file.
39008         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39009         * nptl/forward.c: Include it.
39010         (__pthread_unwind): Use __safe_fatal as default action, rather
39011         than a bogus use of INTERNAL_SYSCALL that could never work.
39013         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39014         * configure.ac (libc_cv_builtin_trap): New test.
39015         * configure: Regenerated.
39016         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39017         (ABORT_INSTRUCTION): Define using __builtin_trap.
39019         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39020         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39021         * sysdeps/nptl/nptl-signals.h: New file.
39022         * nptl/pthreadP.h: Include <nptl-signals.h>.
39024 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39026         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39027         (ONE_DIRECTION): Define.
39028         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39029         (ONE_DIRECTION): Define.
39030         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39031         (ONE_DIRECTION): Define.
39033 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39035         * sysdeps/s390/Makefile: Delete file.
39036         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39037         * sysdeps/s390/__longjmp.c: Delete file.
39038         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39039         Remove fields __flags and __reserved.
39040         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39041         and add versioning.
39042         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39043         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39044         * sysdeps/s390/rtld-setjmp.S: Likewise.
39045         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39046         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39047         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39048         * sysdeps/s390/s390-32/setjmp.S: ... here.
39049         Add versioning.
39050         (__sigsetjmp): Remove setting __flags field.
39051         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39052         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39053         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39054         * sysdeps/s390/s390-64/setjmp.S: ... here.
39055         Add versioning.
39056         (__sigsetjmp): Remove setting __flags field.
39057         * sysdeps/s390/setjmp.S: Delete file.
39058         * sysdeps/s390/sigjmp.c: Likewise.
39059         * sysdeps/s390/v1-longjmp.c: Likewise.
39060         * sysdeps/s390/v1-setjmp.h: Likewise.
39061         * sysdeps/s390/v1-sigjmp.c: Likewise.
39062         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39063         Remove v1-longjmp_chk.
39064         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39065         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39066         Include debug/longjmp_chk.c and add versioning.
39067         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39068         Include nptl/pt-longjmp.c and add versioning.
39069         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39070         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39071         Include __longjmp.c.
39072         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39073         Move to ...
39074         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39075         (__getcontext): Remove setting __flags field.
39076         Add versioning.
39077         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39078         Don't restore upper high grps.
39079         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39080         Likewise.
39081         (__swapcontext): Remove setting uc_flags field.
39082         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39083         Delete file.
39084         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39085         Include __longjmp.c.
39086         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39087         Move to ...
39088         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39089         (__getcontext): Remove setting __flags field.
39090         Add versioning.
39091         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39092         (__swapcontext): Remove setting uc_flags field.
39093         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39094         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39095         Remove fields uc_high_gprs and __reserved.
39096         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39097         New file with reverted content.
39098         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39099         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39100         Regenerated.
39101         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39102         Regenerated.
39104 2014-07-31  Andreas Schwab  <schwab@suse.de>
39106         * config.h.in (HAVE_IFUNC): Define to 0.
39107         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39108         definedness.
39110 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39113         memmove-avx-unaligned, memcpy-avx-unaligned and
39114         mempcpy-avx-unaligned.
39115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39116         Add tests for AVX memcpy functions.
39117         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39118         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39119         memcpy_chk.
39120         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39121         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39122         memmove_chk.
39123         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39124         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39125         mempcpy_chk.
39126         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39127         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39128         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39130 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39132         [BZ #17213]
39133         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39134         powerpc64le.
39136 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39138         [BZ #16839]
39139         * manual/llio.texi: Add section about open file description locks.
39140         * manual/examples/ofdlocks.c: Example of open file description
39141         lock usage.
39142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39143         F_OFD_SETLK, and F_OFD_SETLKW.
39145 2014-07-23  Allan McRae  <allan@archlinux.org>
39147         * po/es.po: Update Spanish translation from translation project.
39149 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39151         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39153 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39155         [BZ #17078]
39156         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39157         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39158         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39160 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39162         [BZ #17088]
39163         * math/fesetenv.c (__fesetenv)
39164         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39165         * math/feupdateenv.c (__feupdateenv)
39166         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39168         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39169         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39170         (__ASSUME_SOCKETCALL): Do not define.
39172         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39173         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39174         (__ASSUME_SOCKETCALL): Do not define.
39175         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39176         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39177         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39178         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39179         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39180         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39181         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39182         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39184         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39185         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39186         (__ASSUME_SOCKETCALL): Do not define.
39187         (__ASSUME_IPC64): Define unconditionally.
39188         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39189         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39190         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39191         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39192         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39193         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39194         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39195         Likewise.
39197         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39198         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39199         (__ASSUME_SOCKETCALL): Do not define.
39200         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39201         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39202         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39203         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39204         (__ASSUME_REQUEUE_PI): Define unconditionally.
39205         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39206         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39207         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39208         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39209         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39210         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39212         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39213         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39214         (__ASSUME_SOCKETCALL): Do not define.
39215         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39217         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39218         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39219         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39220         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39222         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39223         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39224         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39225         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39226         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39227         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39228         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39229         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39230         (__ASSUME_GETCPU_SYSCALL): Likewise.
39232         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39233         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39234         cases for individual architectures.
39235         * sysdeps/gnu/configure: Regenerated.
39236         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39237         LIBC_SLIBDIR_RTLDDIR.
39238         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39239         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39240         LIBC_SLIBDIR_RTLDDIR.
39241         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39243         LIBC_SLIBDIR_RTLDDIR.
39244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39245         Regenerated.
39246         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39247         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39248         file.
39249         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39250         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39251         file.
39252         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39253         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39254         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39255         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39257         * sysdeps/aarch64/shlib-versions: Move to ...
39258         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39259         * sysdeps/alpha/shlib-versions: Move to ...
39260         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39261         * sysdeps/arm/shlib-versions: Move to ...
39262         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39263         * sysdeps/hppa/shlib-versions: Move all contents except for
39264         libgcc_s entry to ...
39265         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39266         entry from ...
39267         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39268         * sysdeps/ia64/shlib-versions: Move to ...
39269         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39270         entry from ...
39271         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39272         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39273         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39274         * sysdeps/microblaze/shlib-versions: Move to ...
39275         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39276         * sysdeps/mips/shlib-versions: Move to ...
39277         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39278         entry from ...
39279         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39280         * sysdeps/tile/shlib-versions: Move to ...
39281         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39282         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39283         from ...
39284         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39285         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39286         entry from ...
39287         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39289 2014-07-17  Will Newton  <will.newton@linaro.org>
39291         * sysdeps/arm/bits/atomic.h
39292         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39293         (__arch_compare_and_exchange_bool_16_int): Likewise.
39294         (__arch_compare_and_exchange_bool_64_int): Likewise.
39296         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39297         into an #else block.
39299 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39301         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39302         just Linux configurations.  Test empirically that the compiler sets
39303         __ARM_EABI__, rather than using the tuple to decide.
39304         * sysdeps/arm/preconfigure: Regenerated.
39305         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39306         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39307         contents appended ...
39308         * sysdeps/arm/configure.ac: ... here.
39309         * sysdeps/arm/configure: Regenerated.
39311 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39313         * nptl/pthread_kill.c: New file.
39314         * nptl/pthread_sigmask.c: New file.
39315         * nptl/pthread_sigqueue.c: New file.
39317         * sysdeps/nptl/lowlevellock.h: New file.
39318         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39319         * sysdeps/nptl/lowlevellock-futex.h: New file.
39321         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39322         Remove dead declarations.
39324 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39326         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39327         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39328         config-cflags-avx2.
39329         * sysdeps/x86_64/configure.ac: Likewise.
39330         * sysdeps/i386/configure: Regenerated.
39331         * sysdeps/x86_64/configure: Likewise.
39332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39333         memset-avx2 only if config-cflags-avx2 is yes.
39334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39335         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39336         defined.
39337         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39338         only if HAVE_AVX2_SUPPORT is defined.
39339         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39341 2014-07-14  Alan Modra  <amodra@gmail.com>
39343         [BZ #17153]
39344         * elf/elf.h (DT_PPC64_NUM): Correct value.
39345         * NEWS: Add to fixed bug list.
39347 2014-07-13  Jim Meyering  <meyering@fb.com>
39349         [BZ 17150]
39350         regex: don't deref NULL upon heap allocation failure
39351         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39352         failure in one more place.
39353         To trigger the segfault, configure grep -with-included-regex,
39354         build it, and run these commands:
39355         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39357 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39359         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39361 2014-07-11  Richard Henderson  <rth@redhat.com>
39363         * sysdeps/aarch64/libm-test-ulps: Update.
39365 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39367         [BZ #17135]
39368         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39369         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39370         (__nptl_setxid): Initialize error member.  Call
39371         __nptl_setxid_error.
39372         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39373         * nptl/descr.h (struct xid_command): Add error member.
39374         * nptl/tst-setuid3.c: New file.
39375         * nptl/Makefile (tests): Add it.
39377 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39379         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39380         New define.
39381         (__lll_trylock): Use __lll_base_trylock.
39382         (__lll_cond_trylock): Likewise.
39384 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39386         * nptl/pthread_create.c (start_thread): Use atomic_or and
39387         lll_futex_wake directly rather than lll_robust_dead.
39388         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39389         (lll_robust_dead): Macro removed.
39390         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39391         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39392         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39393         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39394         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39395         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39396         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39397         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39398         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39399         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39400         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39401         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39402         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39403         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39404         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39406         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39407         Use atomic_compare_and_exchange_val_acq directly rather than
39408         lll_robust_trylock.
39409         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39410         (__lll_robust_trylock, lll_robust_trylock): Removed.
39411         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39412         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39413         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39415         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39416         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39417         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39418         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39419         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39420         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39421         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39422         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39423         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39424         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39426 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39428         * manual/locale.texi (Locale Names): New section documenting
39429         locale name syntax.  Adjust menu and node chaining accordingly.
39430         (Choosing Locale): Reference Locale Names, Locale Categories.
39431         Mention setting LC_ALL=C.  Reflect that name syntax is now
39432         documented.
39433         (Locale Categories): New section title.  Reference Locale Names.
39434         LC_ALL is an environment variable, but not a category.
39435         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39436         description, now in Locale Name.  Reference that section.  Locale
39437         name syntax is now documented.
39439 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39441         [BZ #17137]
39442         * locale/findlocale.c (name_present, valid_locale_name): New
39443         functions.
39444         (_nl_find_locale): Use the loc_name variable to store name
39445         candidates.  Call name_present and valid_locale_name to check and
39446         validate locale names.  Return an error if the locale is invalid.
39448 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39450         * locale/setlocale.c (setlocale): Use strdup for allocating
39451         composite name copy.
39453 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39455         Sync up with gnulib.
39456         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39457         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39458         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39459         and _GL_ARG_NONNULL.
39460         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39461         [!_LIBC]: Include code for Windows and Cygwin.
39462         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39463         Include prototype for int strerror_r.
39464         [!_LIBC] (is_open): New function.
39465         (flush_stdout): New function.
39466         (print_errno_message): Use it.
39467         (error): Likewise.
39468         (error_at_line): Likewise.
39469         (error_tail) Add function attribute macros.  Use
39470         __builtin_expect.
39472         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39474         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39476         * io/ftw.c: Include sys/param.h unconditionally.
39478         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39480         [BZ #17125]
39481         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39482         libc_freeres_ptr.
39483         (freecache): New function to free CACHE on exit.
39485         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39486         initialization.
39488 2014-07-09  David S. Miller  <davem@davemloft.net>
39490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39492         * sysdeps/sparc/nptl/internaltypes.h: Delete.
39493         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
39494         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
39495         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
39496         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
39497         * sysdeps/sparc/nptl/sem_init.c: Likewise.
39498         * sysdeps/sparc/nptl/sem_post.c: Likewise.
39499         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
39500         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
39501         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
39502         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
39503         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
39504         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
39506 2014-07-09  Andreas Schwab  <schwab@suse.de>
39508         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
39509         output.
39510         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
39511         (do_test): Likewise.
39513         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39515 2014-07-09  Will Newton  <will.newton@linaro.org>
39517         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
39518         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
39519         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
39520         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
39521         * sysdeps/hppa/start.S (_start): Likewise.
39523 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39525         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
39527         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
39528         defined.
39530 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39532         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
39533         after checking that it is non-NULL.
39535         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
39537 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39539         * sysdeps/powerpc/memmove.c: Remove file.
39540         * sysdeps/powerpc/powerpc32/power4/memcopy.h
39541         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
39542         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39543         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
39544         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
39545         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
39546         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
39547         string memmove instead of removed powerpc one.
39549         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39550         [weak_alias]: Fix compiler warning due trailing data.
39551         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
39552         [weak_alias]: Likewise.
39553         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
39554         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
39556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39557         (__libc_ifunc_impl_list): Add memmove functions.
39559 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39561         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
39562         Remove code.
39563         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
39564         Likewise.
39565         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
39566         Likewise.
39567         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
39568         Likewise.
39569         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
39570         Likewise.
39571         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
39572         Likewise.
39573         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
39574         Likewise.
39575         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
39576         Likewise.
39577         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
39578         Likewise.
39579         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
39580         Likewise.
39581         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
39582         Likewise.
39583         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
39584         Likewise.
39585         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
39586         Likewise.
39587         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
39588         Likewise.
39589         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
39590         Likewise.
39591         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
39592         Likewise.
39593         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
39594         Likewise.
39596 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39598         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
39599         to avoid alignment traps in non-cacheable memory.
39600         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
39603         multiarch objects.
39604         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
39605         file: multiarch power7 memmove.
39606         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
39607         multiarch default memmove.
39608         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
39609         multiarch memove for powerpc32/power4.
39611         * string/bcopy.c: Use full path to include memmove.c.
39612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
39613         multiarch objects.
39614         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
39615         bcopy for powerpc64.
39616         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
39617         bcopy for powerpc64.
39618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
39619         and memmove implementations.
39620         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
39621         optimized multiarch memmove for POWER7/powerpc64.
39622         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
39623         default multiarch memmove for powerpc64.
39624         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
39625         multiarch for powerpc64.
39626         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
39627         for POWER7/powerpc64.
39628         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
39629         memmove for POWER7/powerpc64.
39631         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
39632         glibc default one.
39634         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
39635         __ELF_NATIVE_CLASS equal to 64.
39637 2014-07-07  Roland McGrath  <roland@hack.frob.com>
39639         * sysdeps/nptl/lowlevellock.h: File removed.
39641         * NEWS: NPTL is no longer an add-on!
39642         * nptl/internaltypes.h: Moved ...
39643         * sysdeps/nptl/internaltypes.h: ... here.
39644         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
39645         * sysdeps/nptl/fork.c: Likewise.
39646         * sysdeps/nptl/gai_misc.h: Likewise.
39647         * sysdeps/nptl/librt-cancellation.c: Likewise.
39648         * sysdeps/nptl/jmp-unwind.c: Likewise.
39649         * sysdeps/nptl/setxid.h: Likewise.
39650         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
39651         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
39652         * sysdeps/unix/sysv/linux/arm/Implies: New file.
39653         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
39654         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39655         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39656         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39657         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39658         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39659         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39660         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39661         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39662         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39663         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39664         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39665         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39666         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39667         * nptl/Makeconfig: Moved ...
39668         * sysdeps/nptl/Makeconfig: ... here.
39669         * nptl/configure: File removed.
39670         * nptl/ANNOUNCE: File removed.
39671         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39672         * sysdeps/unix/sysv/linux/configure: Regenerated.
39674         * nptl/Makefile (routines): Add libc_pthread_init,
39675         libc_multiple_threads, register-atfork and unregister-atfork.
39676         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39677         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39678         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39679         pthread-pi-defines.sym, structsem.sym.
39680         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39681         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39682         [$(subdir) = nptl] (tests): Add tst-setgetname.
39683         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39684         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39685         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39686         [!LIBC_SIGACTION]: Remove aliases.
39687         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39688         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39689         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39690         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39691         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39692         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39693         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39695         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39696         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39697         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39698         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39699         __libc_allocate_rtsig_private.
39700         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39701         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39702         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39703         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39704         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39705         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39706         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39707         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39708         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39709         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39710         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39711         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39712         * nptl/internaltypes.h: ... here.
39713         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39714         * sysdeps/nptl/jmp-unwind.c: ... here.
39715         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39716         * nptl/libc-lowlevellock.c: ... here.
39717         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39718         * nptl/libc_multiple_threads.c: ... here.
39719         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39720         * nptl/libc_pthread_init.c: ... here.
39721         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39722         * nptl/lowlevelbarrier.sym: ... here.
39723         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39724         * nptl/lowlevelcond.sym: ... here.
39725         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39726         * nptl/lowlevellock.c: ... here.
39727         * nptl/lowlevellock.h: Moved ...
39728         * sysdeps/nptl/lowlevellock.h: ... here.
39729         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39730         * nptl/lowlevelrobustlock.c: ... here.
39731         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39732         * nptl/lowlevelrobustlock.sym: ... here.
39733         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39734         * nptl/lowlevelrwlock.sym: ... here.
39735         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39736         * nptl/pt-fork.c: ... here.
39737         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39738         * nptl/pthread-pi-defines.sym: ... here.
39739         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39740         * nptl/pthread_attr_getaffinity.c: ... here.
39741         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39742         * nptl/pthread_attr_setaffinity.c: ... here.
39743         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39744         * nptl/pthread_mutex_cond_lock.c: ... here.
39745         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39746         Update #include.
39747         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39748         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39749         * nptl/pthread_once.c: ... here, replacing old file.
39750         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39751         * nptl/pthread_yield.c: ... here.
39752         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39753         * nptl/register-atfork.c: ... here.
39754         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39755         * nptl/sem_post.c: ... here.
39756         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39757         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39758         * nptl/sem_timedwait.c: ... here.
39759         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39760         * nptl/sem_trywait.c: ... here.
39761         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39762         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39763         * nptl/sem_wait.c: ... here.
39764         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39765         * nptl/structsem.sym: ... here.
39766         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39767         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39768         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39769         * nptl/unregister-atfork.c: ... here.
39770         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39771         * nptl/unwindbuf.sym: ... here.
39772         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39773         * sysdeps/nptl/fork.c: ... here.
39774         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39775         * sysdeps/nptl/fork.h: ... here.
39776         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39777         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39778         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39779         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39780         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39781         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39782         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39783         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39784         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39785         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39786         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39787         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39788         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39789         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39790         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39791         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39792         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39793         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39794         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39795         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39796         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39797         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39798         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39799         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39800         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39801         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39802         * sysdeps/unix/sysv/linux/raise.c: ... here.
39803         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39804         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39805         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39806         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39807         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39808         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39809         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39810         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39811         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39812         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39813         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39814         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39815         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39816         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39817         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39819 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39821         * sysdeps/generic/memcopy.h: Add comment for
39822         MEMCPY_OK_FOR_FWD_MEMMOVE.
39824 2014-07-04  Will Newton  <will.newton@linaro.org>
39826         * string/memchr.c: Merge from gnulib.
39827         [_LIBC]: Remove conditionals.
39828         (__ptr_t): Remove define.
39829         (LONG_MAX_32_BITS): Likewise.
39830         (LONG_MAX): Likewise.
39831         (MEMCHR): Use ANSI prototype and optimize algorithm.
39833         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39835 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39837         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39838         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39840         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39841         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39842         in a bare environment with no <stdlib.h> installed.
39843         * sysdeps/nptl/configure: Regenerated.
39845         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39847         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39848         AC_EGREP_CPP for kernel header checks, so they only succeed if
39849         including <linux/version.h> actually works right.
39850         * sysdeps/unix/sysv/linux/configure: Regenerated.
39852         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39853         value so it's not diagnosed as unused.
39855         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39856         thing) with "ifeq ($(subdir),rt)".
39858 2014-07-03  Richard Henderson  <rth@redhat.com>
39860         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39861         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39862         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39864         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39865         (math_force_eval): New.
39867         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39868         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39870         * sysdeps/alpha/fpu/s_round.c: Remove file.
39871         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39873         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39874         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39875         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39876         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39877         (_dl_start, print_statistics): Likewise.
39878         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39879         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39881         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39882         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39883         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39884         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39886         (HP_SMALL_TIMING_AVAIL): Define.
39887         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39888         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39889         (HP_SMALL_TIMING_AVAIL): Define.
39890         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39891         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39893         * sysdeps/aarch64/hp-timing.h: New file.
39895         * sysdeps/generic/hp-timing.h: Remove dead comment.
39896         * sysdeps/generic/hp-timing-common.h: New file.
39897         * sysdeps/alpha/hp-timing.h: Include it.
39898         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39899         * sysdeps/i386/i686/hp-timing.h: Likewise.
39900         * sysdeps/ia64/hp-timing.h: Likewise.
39901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39902         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39903         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39904         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39905         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39906         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39907         (hp_timing_t): New.
39909         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39910         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39911         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39912         * elf/rtld.c (_dl_start_final): Likewise.
39913         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39914         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39915         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39916         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39917         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39918         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39919         (HP_TIMING_DIFF_INIT): Remove.
39920         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39921         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39922         (HP_TIMING_DIFF_INIT): Remove.
39923         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39924         * sysdeps/i386/i686/hp-timing.c: Remove file.
39925         * sysdeps/x86_64/hp-timing.c: Remove file.
39926         * sysdeps/ia64/hp-timing.c: Remove file.
39927         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39928         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39929         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39930         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39932         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39933         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39934         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39935         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39936         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39937         (HP_TIMING_ACCUM): Remove.
39938         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39939         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39940         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39942         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39943         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39944         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39945         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39946         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39947         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39948         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39949         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39951         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39953 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39955         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39957 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39959         Sync up with gettext.
39960         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39961         [_MSC_VER]: Include malloc.h
39962         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39963         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39964         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39965         TEMP_FAILURE_RETRY.  Cast return of alloca.
39966         [!_LIBC] Call gl_rwlock_init.
39967         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39969 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39971         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39972         before checking its value.
39974 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39976         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39978         * debug/memcpy_chk.c: Don't include pagecopy.h.
39979         * debug/mempcpy_chk.c: Likewise.
39980         * string/memcpy.c: Likewise.
39981         * string/memmove.c: Likewise.
39982         * sysdeps/powerpc/memmove.c: Likewise.
39983         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39984         definition of PAGE_COPY_FWD_MAYBE here...
39985         * sysdeps/generic/pagecopy.h: ... from here.
39986         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39988 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39989             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39991         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39993         optimizations.
39994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39995         (__libc_ifunc_impl_list): Likewise.
39996         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39997         multiarch strcat for PPC64.
39998         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39999         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40001 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40003         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40005 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40007         * intl/loadmsgcat.c: Remove declaration of
40008         get_sysdep_segment_value.
40009         (get_sysdep_segment_value): Use ISO C style.
40010         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40011         semicolon.  Fix typo and formatting in comment.
40012         (_nl_unload_domain): Use ISO C style.
40014         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40016 2014-07-02  Will Newton  <will.newton@linaro.org>
40018         * malloc/obstack.c: Merge from gnulib master.
40019         [HAVE_CONFIG_H]: Remove conditional code.
40020         [!_LIBC]: Include config.h.
40021         [!ELIDE_CODE]: Don't include inttypes.h, include
40022         stdint.h unconditionally.
40023         (print_and_abort): Mark as _Noreturn.
40024         (_obstack_allocated_p): Mark as __attribute_pure__.
40025         (obstack_free): Rename to __obstack_free.
40026         [!__attribute__]: Remove conditional code.
40027         * malloc/obstack.h: Merge from gnulib master.
40028         [__cplusplus]: Move conditional down.
40029         [!__attribute_pure__]: Define __attribute_pure__ here
40030         if it is not already defined.
40031         (_obstack_memory_used): Mark as __attribute_pure__.
40032         [!__obstack_free]: Define as obstack_free.
40033         [__GNUC__]: Remove check for ancient NeXT gcc.
40035 2014-07-02  Will Newton  <will.newton@linaro.org>
40036             Paul Eggert  <eggert@cs.ucla.edu>
40038         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40040 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40042         * resolv/gethnamaddr.c: Add comment warning that the file is
40043         not maintained.
40045 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40047         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40048         entries.
40050         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40051         entry for aio_cancel and aio_cancel64.
40052         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40053         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40054         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40055         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40056         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40057         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40058         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40059         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40060         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40061         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40062         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40063         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40064         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40066 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40068         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40069         * nptl/pthread_mutex_lock.c: Likewise.
40070         * nptl/pthread_mutex_timedlock.c: Likewise.
40071         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40073 2014-07-01  Richard henderson  <rth@redhat.com>
40075         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40076         (__isnan, __isnanl): Remove.
40077         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40079         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40081 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40083         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40085 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40087         * resolv/nss_dns/dns-host.c (getanswer_r)
40088         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40090 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40092         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40093         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40094         undefine.
40095         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40096         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40098 2014-07-01  Roland McGrath <roland@hack.frob.com>
40100         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40101         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40103         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40104         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40106         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40107         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40108         ... here.
40109         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40110         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40112         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40113         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40114         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40115         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40117         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40118         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40119         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40120         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40121         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40122         Moved ...
40123         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40124         ... here.
40125         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40126         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40127         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40128         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40129         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40130         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40131         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40132         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40133         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40134         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40135         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40136         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40137         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40138         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40139         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40140         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40141         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40142         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40143         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40144         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40145         ... here.
40146         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40147         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40148         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40149         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40150         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40151         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40152         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40153         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40155 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40157         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40158         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40159         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40160         Add sysdep.
40162 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40166 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40168         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40169         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40171         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40173         * sysdeps/arm/libm-test-ulps: Regenerated.
40175 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40176             Roland McGrath <roland@hack.frob.com>
40178         * test-skeleton.c (signal_handler): Kill the whole process group
40179         before killing the child individually.
40180         (main): Report any failure on `setpgid'.
40182 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40184         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40185         from _TLS_H to _ARM_NPTL_TLS_H.
40186         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40187         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40189 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40191         [BZ #16539]
40192         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40193         (__expm1l): Return argument unchanged when small but not
40194         subnormal.
40196         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40197         include macro name.
40198         (_FP_UNPACK_RAW_1_P): Likewise.
40199         (_FP_PACK_RAW_1): Likewise.
40200         (_FP_PACK_RAW_1_P): Likewise.
40201         (_FP_MUL_MEAT_1_wide): Likewise.
40202         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40203         (_FP_MUL_MEAT_1_hard): Likewise.
40204         (_FP_DIV_MEAT_1_imm): Likewise.
40205         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40206         (_FP_DIV_MEAT_1_udiv): Likewise.
40207         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40208         (_FP_UNPACK_RAW_2): Likewise.
40209         (_FP_UNPACK_RAW_2_P): Likewise.
40210         (_FP_PACK_RAW_2): Likewise.
40211         (_FP_PACK_RAW_2_P): Likewise.
40212         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40213         (_FP_MUL_MEAT_2_wide): Likewise.
40214         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40215         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40216         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40217         (_FP_MUL_MEAT_2_gmp): Likewise.
40218         (_FP_DIV_MEAT_2_udiv): Likewise.
40219         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40220         (_FP_FRAC_SRL_4): Likewise.
40221         (_FP_FRAC_SRST_4): Likewise.
40222         (_FP_FRAC_SRS_4): Likewise.
40223         (_FP_UNPACK_RAW_4): Likewise.
40224         (_FP_UNPACK_RAW_4_P): Likewise.
40225         (_FP_PACK_RAW_4): Likewise.
40226         (_FP_PACK_RAW_4_P): Likewise.
40227         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40228         (_FP_MUL_MEAT_4_wide): Likewise.
40229         (_FP_MUL_MEAT_4_gmp): Likewise.
40230         (umul_ppppmnnn): Likewise.
40231         (_FP_DIV_MEAT_4_udiv): Likewise.
40232         (__FP_FRAC_ADD_4): Likewise.
40233         (__FP_FRAC_SUB_3): Likewise.
40234         (__FP_FRAC_SUB_4): Likewise.
40235         (__FP_FRAC_DEC_3): Likewise.
40236         (__FP_FRAC_DEC_4): Likewise.
40237         (__FP_FRAC_ADDI_4): Likewise.
40238         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40239         (_FP_FRAC_SRL_8): Likewise.
40240         (_FP_FRAC_SRS_8): Likewise.
40242         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40243         include macro name.
40244         (FP_UNPACK_RAW_EP): Likewise.
40245         (FP_PACK_RAW_E): Likewise.
40246         (FP_PACK_RAW_EP): Likewise.
40247         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40248         (_FP_ISSIGNAN): Likewise.
40249         (_FP_ADD_INTERNAL): Likewise.
40250         (_FP_FMA): Likewise.
40251         (_FP_CMP): Likewise.
40252         (_FP_SQRT): Likewise.
40253         (_FP_TO_INT): Likewise.
40254         (_FP_FROM_INT): Likewise.
40255         (FP_EXTEND): Likewise.
40256         (_FP_DIV_MEAT_N_loop): Likewise.
40258 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40260         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40261         throughout.
40263 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40265         [BZ #17097]
40266         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40267         result with correct sign in case of exponents that produce
40268         overflow except for X very close to 1.
40270 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40272         mktime: merge #if/#ifdef usage from glibc
40273         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40274         as that works with both Glibc's and Gnulib's style.
40275         See thread starting at Siddhesh Poyarekar's bug report at:
40276         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40278 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40281         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40282         * sysdeps/tile/tilegx/memmove.c: Remove file.
40284 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40286         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40287         abi-name definition.
40288         * scripts/soversions.awk: Do not handle or generate ABI lines.
40289         * shlib-versions: Remove ABI entries.
40290         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40291         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40293 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40296         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40297         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40298         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40300         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40302         Moved ...
40303         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40304         ... here.
40305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40306         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40308         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40310         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40312         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40314         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40316         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40318         Moved ...
40319         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40323         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40325         Moved ...
40326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40328         Moved ...
40329         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40331         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40333         Moved ...
40334         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40336         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40338         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40340         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40342         Moved ...
40343         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40345         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40346         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40347         Moved ...
40348         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40349         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40350         Moved ...
40351         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40353         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40355         Moved ...
40356         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40357         ... here.
40358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40359         Identical file removed.
40360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40361         Moved ...
40362         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40364         Identical file removed.
40365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40366         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40368         Moved ...
40369         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40371         Identical file removed.
40372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40373         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40375         Identical file removed.
40376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40377         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40379         Identical file removed.
40380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40381         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40383         Identical file removed.
40384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40385         Moved ...
40386         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40388         Identical file removed.
40389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40390         Moved ...
40391         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40393         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40395         Identical file removed.
40396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40397         Moved ...
40398         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40399         ... here.
40400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40401         Identical file removed.
40402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40403         Moved ...
40404         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40406         Identical file removed.
40407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40408         Moved ...
40409         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40411         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40412         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40413         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40415         Moved ...
40416         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40417         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40418         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40420         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40421         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40422         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40423         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40424         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40426 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40428         [BZ #17092]
40429         * nscd/nscd.c (monitor_child): Return exit status of child
40430         instead of return value from wait syscall.
40432 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40434         * configure.ac (libc_commonpagesize): Remove variable.
40435         (libc_relro_required): Likewise.
40436         (libc_cv_z_relro): Remove configure test.
40437         * configure: Regenerated.
40438         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40439         variable.
40440         (libc_relro_required): Likewise.
40441         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40442         (libc_relro_required): Likewise.
40443         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40444         (libc_relro_required): Likewise.
40445         * sysdeps/arm/preconfigure: Regenerated.
40446         * sysdeps/ia64/preconfigure: Remove file.
40447         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40448         variable.
40449         (libc_relro_required): Likewise.
40451         [BZ #16561]
40452         [BZ #16562]
40453         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40454         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40455         recompute overflowing results in original rounding mode.
40456         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40457         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40458         recompute overflowing results in original rounding mode.
40459         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40460         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40461         recompute overflowing results in original rounding mode.
40462         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40463         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40464         recompute overflowing results in original rounding mode.
40465         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40466         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40467         recompute overflowing results in original rounding mode.
40468         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40469         (libc_feholdsetround_ctx): New macro.
40470         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40471         * sysdeps/i386/fpu/libm-test-ulps: Update.
40472         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40474 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40476         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40477         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40478         corresponding .cpsetup call.
40480 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40482         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40483         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40484         * sysdeps/arm/Makefile [$(subdir) = csu]
40485         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40486         (static-only-routines): Add aeabi_read_tp here.
40487         (shared-only-routines): Add libc-aeabi_read_tp here.
40488         (CFLAGS-libc-start.c): Add -fexceptions here.
40489         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
40490         (sysdep_routines, static-only-routines, shared-only-routines):
40491         Don't add to these here.
40492         (CFLAGS-libc-start.c): Likewise.
40494         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
40495         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40496         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
40497         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40498         * sysdeps/arm/Makefile [$(subdir) = rt]
40499         (librt-sysdep_routines, librt-shared-only-routines):
40500         Append rt-aeabi_unwind_cpp_pr1 here.
40501         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
40502         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
40503         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
40504         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40505         Append nptl-aeabi_unwind_cpp_pr1 here.
40506         (tests): Filter out tst-cleanupx4 here.
40507         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
40508         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
40509         Don't do those here.
40511 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40513         * scripts/list-sources.sh: Do not handle ports specially.
40515 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40517         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
40518         * sysdeps/arm/feupdateenv.c: Likewise.
40520         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
40522 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40524         * manual/texinfo.tex: Update to version 2014-05-05.10 with
40525         trailing whitespace removed.
40526         * scripts/config.guess: Update to version 2014-03-23.
40527         * scripts/config.sub: Update to version 2014-05-01
40528         * scripts/install-sh: Update to version 2013-12-25.23.
40529         * scripts/move-if-change: Update from gnulib.
40531 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40533         * debug/memmove_chk.c: Remove pagecopy.h include.
40535 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
40537         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
40538         identical to gnulib mktime.
40540 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40542         * configure.ac: Do not test for machine being rs6000.  Do not test
40543         for powerpc*-*soft.
40544         * configure: Regenerated.
40546         [BZ #11505]
40547         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
40548         test.
40549         * configure: Regenerated.
40550         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
40551         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
40552         Remove configure test.
40553         * sysdeps/arm/configure: Regenerated.
40554         * sysdeps/nptl/configure.ac: Do not check
40555         libc_cv_asm_cfi_directives.
40556         * sysdeps/nptl/configure: Regenerated.
40557         * sysdeps/x86_64/nptl/configure.ac: Remove file.
40558         * sysdeps/x86_64/nptl/configure: Remove generated file.
40559         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
40560         unconditional.
40561         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
40563 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40565         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
40566         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
40567         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
40568         it is defined.
40570         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
40571         instead of whether it is defined.
40572         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
40573         * sysdeps/hppa/dl-machine.h: Likewise.
40574         * sysdeps/ia64/dl-machine.h: Likewise.
40575         * sysdeps/m68k/dl-machine.h: Likewise.
40576         * sysdeps/microblaze/dl-machine.h: Likewise.
40577         * sysdeps/mips/dl-machine.: Likewise.
40578         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40579         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40580         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40581         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40582         * sysdeps/sh/dl-machine.h: Likewise.
40583         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40584         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40585         * sysdeps/tile/dl-machine.h: Likewise.
40586         * sysdeps/x86_64/dl-machine.h: Likewise.
40588         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
40589         code.
40590         (verify_persistent_db): Likewise.
40592 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
40595         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
40596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
40597         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
40598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40599         Moved ...
40600         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
40601         ... here.
40602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
40603         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
40604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
40605         Identical file removed.
40606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
40607         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
40608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
40609         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
40610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
40611         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
40612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
40613         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
40614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
40615         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
40616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40617         Moved ...
40618         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
40619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
40620         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
40621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
40622         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
40623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40624         Moved ...
40625         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
40626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
40627         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
40628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
40629         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
40630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40631         Identical file removed.
40632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
40633         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
40634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
40635         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
40636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40637         Moved ...
40638         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
40639         ... here.
40640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
40641         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
40642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
40643         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
40644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
40645         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
40646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
40647         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
40648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
40649         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
40650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40651         Moved ...
40652         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
40653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
40654         Moved ...
40655         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40657         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40659         Moved ...
40660         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40662         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40664         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40665         folded into ...
40666         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40667         * sysdeps/unix/sysv/linux/s390/Versions
40668         (libpthread: GLIBC_2.19): New version set.
40669         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40670         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40671         (librt: GLIBC_2.3.3): New version set.
40672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40673         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40674         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40675         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40676         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40677         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40678         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40679         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40680         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40681         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40682         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40683         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40684         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40685         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40686         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40687         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40688         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40689         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40690         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40691         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40692         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40693         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40694         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40695         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40696         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40697         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40698         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40699         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40700         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40701         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40702         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40703         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40705         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40707         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40708         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40710         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40712         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40714         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40716         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40718         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40719         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40720         (__libc_vfork): Define the function under this name.
40721         [!NOT_IN_libc] (__vfork): Make this an alias.
40722         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40724         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40725         (__libc_vfork): Define the function under this name.
40726         [!NOT_IN_libc] (__vfork): Make this an alias.
40727         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40728         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40729         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40732         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40734         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40735         code that was previously under [RESET_PID].
40736         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40737         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40738         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40740         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40741         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40742         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40743         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40744         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40745         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40746         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40747         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40748         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40749         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40750         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40751         Moved ...
40752         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40753         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40754         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40755         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40756         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40757         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40758         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40759         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40760         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40761         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40762         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40763         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40764         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40765         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40766         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40767         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40768         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40769         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40770         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40771         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40772         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40774         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40775         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40776         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40777         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40778         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40780         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40782 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40784         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40785         that was previously under [RESET_PID].
40786         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40788 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40790         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40791         not undefine and redefine.
40792         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40793         [O_CLOEXEC]: Make code unconditional.
40794         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40795         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40796         <kernel-features.h>.
40797         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40798         conditional variable definition.
40799         (shm_open) [O_CLOEXEC]: Make code unconditional.
40800         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40801         code.
40803         * configure.ac (USE_REGPARMS): Don't define here.
40804         * configure: Regenerated.
40805         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40806         * sysdeps/i386/configure: Regenerated.
40808         * nptl/createthread.c: Don't include kernel-features.h.
40809         * nptl/pthread_cancel.c: Likewise.
40810         * nptl/pthread_condattr_setclock.c: Likewise.
40811         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40812         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40813         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40814         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40815         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40816         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40817         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40820         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40821         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40822         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40823         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40824         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40825         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40826         * nscd/gai.c: Likewise.
40827         * nss/nss_db/db-open.c: Likewise.
40828         * sysdeps/generic/ldsodefs.h: Likewise.
40829         * sysdeps/sh/nptl/tls.h: Likewise.
40830         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40831         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40832         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40833         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40834         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40835         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40836         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40837         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40838         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40839         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40840         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40841         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40842         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40843         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40844         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40845         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40846         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40847         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40848         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40849         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40852         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40853         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40855         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40856         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40858         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40859         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40860         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40861         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40862         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40863         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40864         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40865         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40866         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40867         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40868         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40869         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40870         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40871         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40872         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40873         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40874         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40875         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40876         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40877         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40878         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40879         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40880         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40881         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40882         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40883         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40884         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40885         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40886         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40887         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40910         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40911         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40912         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40913         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40914         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40915         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40916         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40917         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40918         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40919         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40920         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40921         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40922         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40923         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40924         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40925         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40926         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40927         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40928         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40929         * sysdeps/unix/sysv/linux/system.c: Likewise.
40930         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40931         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40932         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40933         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40934         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40935         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40936         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40938         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40939         * configure: Regenerated.
40940         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40942         * configure.ac (base_machine): Do not set specially for particular
40943         machines here.
40944         * configure: Regenerated.
40945         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40946         settings from configure.ac.
40947         * sysdeps/i386/preconfigure: New file.
40948         * sysdeps/s390/preconfigure: Likewise.
40949         * sysdeps/sh/preconfigure: Likewise.
40950         * sysdeps/sparc/preconfigure: Likewise.
40952 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40954         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40955         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40956         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40957         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40958         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40959         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40960         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40961         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40962         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40963         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40964         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40965         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40966         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40967         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40968         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40969         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40971         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40972         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40974         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40975         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40976         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40977         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40978         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40979         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40980         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40981         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40982         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40983         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40984         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40985         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40986         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40987         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40988         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40989         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40990         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40991         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40992         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40993         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40994         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40995         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40996         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40997         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40998         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40999         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41001         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41002         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41003         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41004         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41005         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41006         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41007         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41008         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41009         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41010         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41011         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41014         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41016         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41018         Moved ...
41019         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41020         ... here.
41021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41022         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41024         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41026         Moved ...
41027         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41029         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41031         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41033         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41035         Moved ...
41036         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41038         Moved ...
41039         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41041         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41043         Moved ...
41044         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41046         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41048         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41050         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41052         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41054         Moved ...
41055         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41056         ... here.
41057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41058         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41060         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41062         Moved ...
41063         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41065         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41067         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41069         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41071         Moved ...
41072         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41074         Moved ...
41075         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41077         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41079         Moved ...
41080         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41082         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41084         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41086 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41088         * timezone/checktab.awk: Update from tzcode 2014e.
41089         * timezone/private.h: Likewise.
41090         * timezone/tzfile.h: Likewise.
41091         * timezone/zdump.c: Likewise.
41092         * timezone/zic.c: Likewise.
41094         * sysdeps/unix/sysv/linux/kernel-features.h
41095         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41096         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41097         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41098         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41099         Remove conditional code.
41101 2014-06-25  Will Newton  <will.newton@linaro.org>
41103         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41104         (_dl_arm_cap_flags): Add HWCAP2 values.
41105         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41106         (_DL_HWCAP_COUNT): Increase to 37.
41107         (_DL_HWCAP_LAST): New define.
41108         (_DL_HWCAP2_LAST): New define.
41109         (_dl_procinfo): Add support for printing
41110         AT_HWCAP2 entries.
41111         (_dl_string_hwcap): Use _dl_hwcap_string.
41113 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41117 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41119         * README: Do not mention ports directory.
41121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41122         Remove macro.
41123         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41124         <kernel-features.h>.
41125         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41126         conditional variable definition.
41127         (__futimes): Update comment.
41128         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41129         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41131         [BZ #16560]
41132         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41133         arguments close to 0.
41134         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41135         Likewise.
41136         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41137         Likewise.
41138         * math/auto-libm-test-in: Add more tests of exp10.
41139         * math/auto-libm-test-out: Regenerated.
41140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41142         * sysdeps/unix/sysv/linux/kernel-features.h
41143         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41144         * sysdeps/unix/sysv/linux/readv.c: Do not include
41145         <kernel-features.h>.
41146         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41147         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41148         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41149         unconditional.
41150         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41151         conditional code.
41152         * sysdeps/unix/sysv/linux/writev.c: Do not include
41153         <kernel-features.h>.
41154         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41155         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41156         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41157         unconditional.
41158         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41159         conditional code.
41161 2014-06-25  Will Newton  <will.newton@linaro.org>
41163         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41164         comment changes throughout the file.  Remove checks
41165         for HAVE_*_H definitions that are not required.
41166         (__gen_tempname): Call abort if an unknown kind value is
41167         passed.
41169 2014-06-25  Andreas Schwab  <schwab@suse.de>
41171         [BZ #17086]
41172         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41173         scalbln, scalblnf, scalblnl in libc.
41175 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41177         [BZ #17086]
41178         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41179         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41180         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41182 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41184         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41185         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41186         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41187         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41188         Update #include.
41189         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41190         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41191         Update #include.
41192         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41193         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41194         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41195         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41196         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41197         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41198         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41199         * sysdeps/x86/bits/semaphore.h: ... here.
41200         * sysdeps/x86/nptl/elide.h: Moved ...
41201         * sysdeps/x86/elide.h: ... here.
41202         * sysdeps/x86_64/nptl/Implies: File removed.
41203         * sysdeps/i386/nptl/Implies: File removed.
41205 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41207         [BZ #16539]
41208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41209         return the argument for normal arguments with exponent below -64.
41210         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41211         Likewise.
41212         * math/auto-libm-test-in: Add another test of expm1.
41213         * math/auto-libm-test-out: Regenerated.
41215         [BZ #16287]
41216         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41217         calling __erfcl for arguments at least 16.
41218         * math/auto-libm-test-in: Add more tests of erf.
41219         * math/auto-libm-test-out: Regenerated.
41221         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41222         individual architectures.
41223         * sysdeps/unix/sysv/linux/configure: Regenerated.
41224         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41225         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41226         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41227         (ldd_rewrite_script): Define variable.
41228         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41230         file.
41231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41232         generated file.
41233         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41234         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41235         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41236         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41237         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41238         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41239         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41240         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41242 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41244         [BZ #17084]
41245         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41246         Rename member __data.d to __data.__elision_data.
41248 2014-06-24  Wilco  <wdijkstr@arm.com>
41250         * NEWS: Add 16918 to fixed bug list.
41252 2014-06-24  Wilco  <wdijkstr@arm.com>
41254         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41256 2014-06-24  Wilco  <wdijkstr@arm.com>
41258         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41259         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41260         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41261         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41262         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41263         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41264         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41265         Use _FPU_MASK_RM.
41267 2014-06-24  Wilco  <wdijkstr@arm.com>
41269         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41271 2014-06-24  Wilco  <wdijkstr@arm.com>
41273         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41274         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41275         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41276         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41278 2014-06-24  Wilco  <wdijkstr@arm.com>
41280         [BZ #16918]
41281         * sysdeps/arm/feupdateenv.c (feupdateenv):
41282         Rewrite to reduce FPSCR accesses and fix return value.
41284 2014-06-24  Wilco  <wdijkstr@arm.com>
41286         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41287         Optimize to avoid unnecessary FPSCR writes.
41288         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41289         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41290         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41291         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41293 2014-06-24  Wilco  <wdijkstr@arm.com>
41295         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41296         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41297         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41298         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41299         Call libc_fetestexcept_vfp.
41300         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41301         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41302         __SOFTFP__ ifdef so that they can be built for softfp.
41304 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41306         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41307         argument type signed char.
41309         * Makerules (check-abi): Dump diff of symlist if the test
41310         fails.
41312 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41314         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41315         using abort.
41317         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41318         Remove unused variable ST.
41320 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41322         [BZ #16354]
41323         [BZ #17061]
41324         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41325         small arguments before calling __expm1.
41326         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41327         small arguments before calling __expm1f.
41328         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41329         small arguments before calling __expm1l.
41330         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41331         Likewise.
41332         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41333         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41334         spurious underflow for some cosh tests.
41335         * math/auto-libm-test-out: Regenerated.
41336         * sysdeps/i386/fpu/libm-test-ulps: Update.
41338         [BZ #17050]
41339         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41340         (__ieee754_y1): Set errno if return value overflows.
41341         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41342         (__ieee754_y1f): Set errno if return value overflows.
41343         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41344         (__ieee754_y1l): Set errno if return value overflows.
41345         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41346         (__ieee754_y1l): Set errno if return value overflows.
41347         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41348         * math/auto-libm-test-out: Regenerated.
41350         * math/gen-auto-libm-tests.c: Document use of
41351         ignore-zero-inf-sign.
41352         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41353         (input_flags): Add ignore-zero-inf-sign.
41354         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41355         * math/gen-libm-test.pl (generate_testfile): Handle
41356         ignore-zero-inf-sign.
41357         * math/auto-libm-test-in: Mark some cpow tests with
41358         ignore-zero-inf-sign and some with xfail-rounding.
41359         * math/auto-libm-test-out: Regenerated.
41360         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41361         * sysdeps/i386/fpu/libm-test-ulps: Update.
41362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41364         [BZ #16315]
41365         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41366         overflowing or underflowing operations take place with sign of
41367         result.
41368         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41369         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41370         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41371         (__ieee754_pow): Recompute overflowing and underflowing results in
41372         original rounding mode.
41373         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41374         (__powl_helper): Allow negative argument X and scale negated value
41375         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41376         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41377         overflowing or underflowing operations take place with sign of
41378         result.
41379         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41380         Include <math.h>.
41381         * math/auto-libm-test-in: Add more tests of pow.
41382         * math/auto-libm-test-out: Regenerated.
41383         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41384         (pow_tonearest_test_data): Remove.
41385         (pow_test_tonearest): Likewise.
41386         (pow_towardzero_test_data): Likewise.
41387         (pow_test_towardzero): Likewise.
41388         (pow_downward_test_data): Likewise.
41389         (pow_test_downward): Likewise.
41390         (pow_upward_test_data): Likewise.
41391         (pow_test_upward): Likewise.
41392         (main): Don't call removed functions.
41393         * sysdeps/i386/fpu/libm-test-ulps: Update.
41394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41396 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41399         Moved ...
41400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41402         Moved ...
41403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41405         Moved ...
41406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41408         Moved ...
41409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41411         File removed.
41412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41413         File removed.
41414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41415         File removed.
41416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41417         File removed.
41418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41419         File removed.
41420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41421         File removed.
41422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41423         File removed.
41424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41425         File removed.
41426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41427         File removed.
41428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41429         File removed.
41430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41431         File removed.
41432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41433         File removed.
41434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41435         Moved ...
41436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41438         Moved ...
41439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41440         ... here.
41441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41442         Moved ...
41443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41445         Moved ...
41446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41448         Moved ...
41449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41451         Moved ...
41452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41454         Moved ...
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41457         Moved ...
41458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41460         Moved ...
41461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41464         ... here.
41465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41466         Moved ...
41467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41469         Moved ...
41470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41471         ... here.
41472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41473         Moved ...
41474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41475         ... here.
41476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41477         Moved ...
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41479         ... here.
41480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41481         Moved ...
41482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41484         Moved ...
41485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
41488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41489         Moved ...
41490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
41491         ... here.
41492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41493         Moved ...
41494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
41495         ... here.
41496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41497         Moved ...
41498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
41499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41500         Moved ...
41501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
41502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41503         Moved ...
41504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
41505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41506         Moved ...
41507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
41508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41509         Moved ...
41510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
41511         ... here.
41512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41513         Moved ...
41514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
41515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41516         Moved ...
41517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41519         Moved ...
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
41521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41522         Moved ...
41523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
41524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
41525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
41526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41527         Moved ...
41528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
41529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41530         Moved ...
41531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41533         Moved ...
41534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
41535         ... here.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41537         Moved ...
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
41539         ... here.
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41541         Moved ...
41542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
41543         ... here.
41544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41545         Moved ...
41546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
41547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41548         Moved ...
41549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41551         Moved ...
41552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41554         Moved ...
41555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
41556         ... here.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41558         Moved ...
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
41560         ... here.
41561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41562         Moved ...
41563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
41564         ... here.
41565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41566         Moved ...
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
41568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41569         Moved ...
41570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
41572 2014-06-23  Will Newton  <will.newton@linaro.org>
41573             Wilco  <wdijkstr@arm.com>
41575         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
41576         implementation.  Include get-rounding-mode.h.
41577         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
41578         [!libc_feholdsetround_noex_ctx]: Define
41579         libc_feholdsetround_noex_ctx.
41580         [!libc_feholdsetround_noexf_ctx]: Define
41581         libc_feholdsetround_noexf_ctx.
41582         [!libc_feholdsetround_noexl_ctx]: Define
41583         libc_feholdsetround_noexl_ctx.
41584         (libc_feholdsetround_ctx): New function.
41585         (libc_feresetround_ctx): New function.
41586         (libc_feholdsetround_noex_ctx): New function.
41587         (libc_feresetround_noex_ctx): New function.
41589 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41591         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
41592         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
41593         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
41594         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
41595         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
41596         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
41598         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
41599         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
41600         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
41601         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
41602         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
41603         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
41604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
41605         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
41606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
41607         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
41608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
41609         Moved ...
41610         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
41611         ... here.
41612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
41613         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
41614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
41615         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
41616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
41617         Moved ...
41618         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
41619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
41620         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
41621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
41622         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
41623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
41624         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
41625         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
41626         Moved ...
41627         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
41628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
41629         Moved ...
41630         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
41631         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
41632         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
41633         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
41634         Moved ...
41635         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
41637         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
41638         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
41639         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
41640         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
41641         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
41642         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
41643         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
41644         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
41645         Moved ...
41646         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
41647         ... here.
41648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
41649         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
41651         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
41652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
41653         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
41654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41655         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41656         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41657         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41659         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41661         Moved ...
41662         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41664         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41666         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41667         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41668         Moved ...
41669         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41671         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41672         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41673         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41675         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41676         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41677         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41678         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41679         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41680         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41681         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41682         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41683         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41684         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41685         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41686         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41687         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41688         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41689         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41690         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41691         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41692         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41693         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41694         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41695         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41696         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41697         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41698         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41699         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41700         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41701         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41702         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41704 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41707         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41708         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41709         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41710         (IPV6_PMTUDISC_INTERFACE): Likewise.
41711         (IPV6_PMTUDISC_OMIT): Likewise.
41713 2014-06-23  Andreas Schwab  <schwab@suse.de>
41715         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41716         Remove unused errout label.
41718 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41720         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41721         macro: hardware supports Vector Crypto instructions.
41723 2014-06-23  Will Newton  <will.newton@linaro.org>
41725         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41726         rather than __builtin_expect.
41728         * elf/dl-lookup.c (undefined_msg): Remove variable.
41729         (_dl_lookup_symbol_x): Replace undefined_msg with string
41730         literal.
41732         * elf/dl-lookup.c (do_lookup_unique): New function.
41733         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41734         to a separate function.
41736 2014-06-23  Andreas Schwab  <schwab@suse.de>
41738         [BZ #17079]
41739         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41740         before reading the next line.
41742 2014-06-23  Will Newton  <will.newton@linaro.org>
41744         * test-skeleton.c (signal_handler): Use printf and %m
41745         rather than perror.  Use printf rather than fprintf to
41746         stderr.  Use puts rather than fputs to stderr.
41747         (main): Likewise.
41749 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41751         * nscd/nscd.c (thread_info_t): Remove typedef.
41752         (thread_info): Remove variable.
41754 2014-06-21  Allan McRae  <allan@archlinux.org>
41756         * NEWS: Mention CVE-2014-4043.
41758 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41760         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41761         * nptl/smp.h: ... here.
41763         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41765         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41766         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41767         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41768         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41770         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41771         * nptl/stack-aliasing.h: New file.
41772         * sysdeps/i386/i686/stack-aliasing.h: New file.
41773         * sysdeps/i386/i686/nptl/Makefile: File removed.
41774         * sysdeps/x86_64/stack-aliasing.h: New file.
41775         * sysdeps/x86_64/nptl/Makefile
41776         (CFLAGS-pthread_create.c): Variable removed.
41778         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41779         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41780         old file.
41781         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41782         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41783         old file.
41785 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41787         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41788         (__ASSUME_SIGFRAME_V2): Remove macro.
41789         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41790         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41791         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41792         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41793         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41794         Declare as function.  Remove conditional macro definitions.
41795         (__default_rt_sa_restorer): Likewise.
41796         (__default_sa_restorer_v1): Remove declaration.
41797         (__default_sa_restorer_v2): Likewise.
41798         (__default_rt_sa_restorer_v1): Likewise.
41799         (__default_rt_sa_restorer_v2): Likewise.
41800         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41801         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41802         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41804 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41806         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41807         (libpthread-routines): Add sysdep.
41808         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41809         * sysdeps/unix/sysv/linux/sparc/Versions
41810         (libpthread: GLIBC_2.3.3): New version set.
41811         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41812         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41813         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41814         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41815         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41816         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41817         Moved ...
41818         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41819         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41820         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41821         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41822         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41823         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41824         * sysdeps/sparc/nptl/sem_init.c: ... here.
41825         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41826         * sysdeps/sparc/nptl/sem_post.c: ... here.
41827         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41828         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41829         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41830         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41831         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41832         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41833         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41834         (libpthread-routines): Add cpu_relax.
41835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41836         File removed.
41837         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41838         (librt: GLIBC_2.3.3): New version set.
41839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41840         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41841         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41842         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41845         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41847         Moved ...
41848         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41850         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41852         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41854         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41856         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41858         Moved ...
41859         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41860         Update #include.
41861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41862         Moved ...
41863         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41864         Update #include.
41865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41866         Moved ...
41867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41868         Update #include.
41869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41870         Moved ...
41871         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41872         Update #include.
41873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41874         Moved ...
41875         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41876         Update #include.
41877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41878         Moved ...
41879         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41880         Update #include.
41881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41882         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41884         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41888         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41890         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41892         Moved ...
41893         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41895         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41897         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41899 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41901         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41902         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41903         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41904         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41905         * nscd/nscd.c: Likewise.
41906         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41907         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41908         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41909         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41911         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41912         <kernel-features.h>.
41913         (init_mq_netlink): Remove conditional have_sock_cloexec
41914         definitions.  Remove code conditional on have_sock_cloexec < 0.
41915         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41916         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41917         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41918         <kernel-features.h>.
41919         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41920         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41922 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41925         Add tests for memset_chk and memset.
41927         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41928         with AVX2_Usable.
41930 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41932         [BZ #16046]
41933         * elf/tst-dl-iter-static.c: New file.
41934         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41936         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41937         error.
41939 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41941         * sysdeps/unix/sysv/linux/kernel-features.h
41942         (__ASSUME_F_GETOWN_EX): Remove macro.
41943         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41944         <kernel-features.h>.
41945         (miss_F_GETOWN_EX): Remove variable or macro.
41946         (do_fcntl): Do not check miss_F_GETOWN_EX.
41947         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41950         Remove macro.
41951         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41952         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41953         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41955         * sysdeps/unix/sysv/linux/kernel-features.h
41956         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41957         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41958         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41959         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41961 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41963         [BZ #17075]
41964         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41965         Fix calculation of the symbol's value.
41966         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41967         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41968         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41969         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41970         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41971         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41972         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41973         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41974         (modules-names): Add `tst-armtlsdescmod',
41975         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41976         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41977         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41978         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41979         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41980         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41981         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41982         ($(objpfx)tst-armtlsdescloc): New dependency.
41983         ($(objpfx)tst-armtlsdescextnow): Likewise.
41984         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41985         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41986         TLS scheme support.
41987         * sysdeps/arm/configure: Regenerate.
41989 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41991         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41992         (__atfct_seterrno_2): Likewise.
41993         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41994         <kernel-features.h>.
41995         (__ASSUME_ATFCTS): Do not undefine and redefine.
41996         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41997         (__have_atfcts): Remove conditional definition.
41998         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41999         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42000         unreachable if [__ASSUME_ATFCTS].
42001         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42002         not undefine and redefine.
42003         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42004         <kernel-features.h>.
42005         (faccessat) [__NR_faccessat]: Make code unconditional.
42006         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42007         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42008         <kernel-features.h>.
42009         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42010         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42011         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42012         <kernel-features.h>.
42013         (fchownat) [__NR_fchownat]: Make code unconditional.
42014         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42015         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42016         <kernel-features.h>.
42017         (futimesat) [__NR_futimesat]: Make code unconditional.
42018         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42019         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42020         <kernel-features.h>.
42021         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42022         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42023         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42024         <kernel-features.h>.
42025         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42026         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42027         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42028         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42029         <kernel-features.h>.
42030         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42031         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42032         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42033         <kernel-features.h>.
42034         (linkat) [__NR_linkat]: Make code unconditional.
42035         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42036         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42037         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42038         <kernel-features.h>.
42039         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42040         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42041         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42042         <kernel-features.h>.
42043         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42044         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42045         * sysdeps/unix/sysv/linux/openat.c: Do not include
42046         <kernel-features.h>.
42047         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42048         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42049         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42050         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42051         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42052         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42053         <kernel-features.h>.
42054         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42055         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42056         result of INLINE_SYSCALL directly, not via int variable.
42057         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42058         <kernel-features.h>.
42059         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42060         (renameat) [__NR_renameat]: Make code unconditional.
42061         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42062         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42063         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42064         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42065         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42066         (__ASSUME_ATFCTS): Do not undefine and redefine.
42067         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42068         <kernel-features.h>.
42069         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42070         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42071         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42072         <kernel-features.h>.
42073         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42074         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42075         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42076         (__ASSUME_ATFCTS): Do not undefine and redefine.
42077         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42078         <kernel-features.h>.
42079         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42080         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42081         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42082         <kernel-features.h>.
42083         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42084         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42086 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42088         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42090 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42092         [BZ #17069]
42093         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42094         constructed tree before returning error.
42095         * posix/bug-regexp36.c: Expand test case.
42097 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42099         [BZ #6803]
42100         * math/libm-test.inc (scalbln_test_date):
42101         Add errno expectations.
42102         * math/w_scalblnf.c: New File.
42103         Add wrapper which checks for setting errno to ERANGE.
42104         Add weak_alias for corresponding scalbln function.
42105         * math/w_scalbln.c: Likewise.
42106         * math/w_scalblnl.c: Likewise.
42107         * math/Makefile (libm-calls): Add w_scalbln.
42108         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42109         Remove weak_alias for corresponding scalbln function.
42110         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42113         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42114         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42115         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42116         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42117         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42118         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42119         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42120         Remove long_double_symbol for scalblnl function in libm, libc.
42121         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42122         Add wrapper which checks for setting errno to ERANGE.
42123         Add long_double_symbol for scalblnl function in libm, libc.
42124         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42125         Remove long_double_symbol for scalblnl in libm.
42126         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42127         Add wrapper which checks for setting errno to ERANGE.
42128         Add long_double_symbol for scalblnl function in libm.
42129         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42130         Do not use wrapper because of own implementation.
42132 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42134         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42135         3 bytes for __pad1 for x32.
42136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42138 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42139             H.J. Lu  <hongjiu.lu@intel.com>
42141         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42142         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42143         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42144         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42145         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42147 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42149         [BZ #17069]
42150         * posix/regcomp.c (parse_expression): Deallocate partially
42151         constructed tree before returning error.
42152         * posix/Makefile.c (tests): Add bug-regex36.
42153         (generated): Add bug-regex36.mtrace.
42154         (tests-special): Add $(objpfx)bug-regex36-mem.out
42155         (bug-regex36-ENV): New variable.
42156         ($(objpfx)bug-regex36-mem.out): New rule.
42157         * posix/bug-regex36.c: New file.
42159 2014-06-19  Will Newton  <will.newton@linaro.org>
42161         * malloc/malloc.c (systrim): If extra is zero then return
42162         early.
42164 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42166         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42168 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42170         * sysdeps/aarch64/strchr.S: New file.
42172 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42174         [BZ #17022]
42175         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42176         from arguments -2 or below.
42177         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42178         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42180 2014-06-18  Andreas Schwab  <schwab@suse.de>
42182         [BZ #17062]
42183         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42184         of a bracket expr not to run off the end of the string.
42185         * posix/Makefile (tests): Add tst-fnmatch3.
42186         * posix/tst-fnmatch3.c: New file.
42188 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42190         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42191         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42192         [$(cross-compiling) = no]: Likewise.
42193         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42194         [$(cross-compiling) = no]: Likewise.
42196 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42198         [BZ #17031]
42199         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42200         double, adjusted for any remainder from the high double.
42201         * math/libm-test.inc (nearbyint): Add tests.
42202         (rint): Likewise.
42204 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42206         * nptl/sysdeps/powerpc/Makefile: Moved ...
42207         * sysdeps/powerpc/nptl/Makefile: ... here.
42208         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42209         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42210         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42211         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42212         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42213         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42214         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42215         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42216         * nptl/sysdeps/powerpc/tls.h: Moved ...
42217         * sysdeps/powerpc/nptl/tls.h: ... here.
42219 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42221         [BZ #16681]
42222         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42223         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42224         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42225         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42226         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42227         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42228         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42229         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42230         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42232 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42234         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42236 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42238         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42239         defined operator.
42241         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42242         $TIMEOUTFACTOR.
42244 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42246         [BZ #17058]
42247         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42248         non-executed part of the test.
42250 2014-06-16  Andreas Schwab  <schwab@suse.de>
42252         * string/bits/string2.h (strdup, strndup): Update feature guard.
42254 2014-06-14  David S. Miller  <davem@davemloft.net>
42256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42258 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42260         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42261         that was previously under [RESET_PID].
42262         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42264         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42265         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42266         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42267         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42268         (__libc_vfork): New strong alias.
42269         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42271 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42273         * sysdeps/generic/elide.h: New file.
42275 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42277         * Makefile (installed-headers): Adjust path of pthread.h header.
42279 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42281         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42282         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42283         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42284         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42286         * nptl/sysdeps/s390/Makefile: Moved ...
42287         * sysdeps/s390/nptl/Makefile: ... here.
42288         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42289         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42290         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42291         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42292         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42293         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42294         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42295         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42296         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42297         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42298         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42299         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42300         * nptl/sysdeps/s390/tls.h: Moved ...
42301         * sysdeps/s390/nptl/tls.h: ... here.
42303         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42304         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42306 2014-06-13  David S. Miller  <davem@davemloft.net>
42308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42311         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42315         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42316         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42317         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42318         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42319         Remove RESET_PID cpp guards.
42320         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42321         Remove RESET_PID cpp guards.
42322         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42324 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42326         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42327         __sp to uintptr_t.
42329 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42331         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42332         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42333         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42334         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42335         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42336         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42337         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42338         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42339         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42340         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42341         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42342         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42343         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42344         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42345         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42346         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42347         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42348         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42349         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42350         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42352         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42353         (pthread_rwlock_rdlock): Add elision.
42354         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42355         (pthread_rwlock_wrlock): Add elision.
42356         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42357         (pthread_rwlock_trywrlock): Add elision.
42358         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42359         (pthread_rwlock_tryrdlock): Add elision.
42360         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42361         (pthread_rwlock_tryrdlock): Add elision unlock.
42362         * nptl/sysdeps/pthread/pthread.h:
42363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42364         (PTHREAD_RWLOCK_INITIALIZER,
42365         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42366         Handle new elision field.
42367         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42368         * sysdeps/arm/nptl/bits/pthreadtypes.h
42369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42370         * sysdeps/sh/nptl/bits/pthreadtypes.h
42371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42372         * sysdeps/tile/nptl/bits/pthreadtypes.h
42373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42374         * sysdeps/a/nptl/bits/pthreadtypes.h
42375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42376         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42378         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42380         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42382         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42384         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42385         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42386         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42387         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42388         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42390         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42392         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42393         (elision_init): Set try_xbegin to zero when no RTM.
42394         * sysdeps/x86/nptl/bits/pthreadtypes.h
42395         (pthread_rwlock_t): Change __pad1 to __rwelision.
42396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42398 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42400         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42401         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42402         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42403         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42405 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42407         [BZ #16996]
42408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42409         that the cached result has been set before returning it.
42411 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42413         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42414         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42415         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42416         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42417         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42418         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42420         * nptl/sysdeps/sparc/Makefile: Moved ...
42421         * sysdeps/sparc/nptl/Makefile: ... here.
42422         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42423         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42424         * nptl/sysdeps/sparc/tls.h: Moved ...
42425         * sysdeps/sparc/nptl/tls.h: ... here.
42426         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42427         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42428         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42429         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42430         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42431         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42432         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42433         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42434         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42435         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42436         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42437         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42438         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42439         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42440         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42441         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42442         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42443         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42444         Update #include.
42445         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42446         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42447         Update #include.
42448         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42449         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42450         Update #include.
42451         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42452         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42453         Update #include.
42455         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42457         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42458         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42460         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42461         (struct list_links): Type removed.
42462         (struct thread_node, struct timer_node): Replace struct list_links
42463         with struct list_head.
42464         (list_unlink_ip): Likewise.
42465         * sysdeps/pthread/timer_routines.c
42466         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42467         (list_append, list_insbefore): Likewise.
42468         (list_init): Function removed.
42469         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42470         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42471         * sysdeps/pthread/Makefile: ... here, new file.
42473         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42474         * sysdeps/nptl/Implies: ... here.
42475         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42476         * nptl/sysdeps/pthread/list.h: Moved ...
42477         * include/list.h: ... here.
42478         * nptl/sysdeps/pthread/createthread.c: Moved ...
42479         * nptl/createthread.c: ... here.
42480         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42481         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42482         * nptl/pt-longjmp.c: ... here.
42483         * nptl/sysdeps/pthread/Makefile: Moved ...
42484         * sysdeps/nptl/Makefile: ... here.
42485         * nptl/sysdeps/pthread/Subdirs: Moved ...
42486         * sysdeps/nptl/Subdirs: ... here.
42487         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
42488         * sysdeps/nptl/aio_misc.h: ... here.
42489         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
42490         * sysdeps/nptl/bits/libc-lock.h: ... here.
42491         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
42492         * sysdeps/nptl/bits/libc-lockP.h: ... here.
42493         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
42494         * sysdeps/nptl/bits/stdio-lock.h: ... here.
42495         * nptl/sysdeps/pthread/configure: Moved ...
42496         * sysdeps/nptl/configure: ... here.
42497         * nptl/sysdeps/pthread/configure.ac: Moved ...
42498         * sysdeps/nptl/configure.ac: ... here.
42499         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
42500         * sysdeps/nptl/gai_misc.h: ... here.
42501         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
42502         * sysdeps/nptl/librt-cancellation.c: ... here.
42503         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
42504         * sysdeps/nptl/malloc-machine.h: ... here.
42505         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
42506         * sysdeps/nptl/pthread-functions.h: ... here.
42507         * nptl/sysdeps/pthread/pthread.h: Moved ...
42508         * sysdeps/nptl/pthread.h: ... here.
42509         * nptl/sysdeps/pthread/setxid.h: Moved ...
42510         * sysdeps/nptl/setxid.h: ... here.
42511         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
42512         * sysdeps/nptl/sigfillset.c: ... here.
42513         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
42514         * sysdeps/nptl/tcb-offsets.h: ... here.
42515         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
42516         * sysdeps/nptl/tst-mqueue8x.c: ... here.
42517         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
42518         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
42519         * nptl/sysdeps/pthread/allocalim.h: Moved ...
42520         * sysdeps/pthread/allocalim.h: ... here.
42521         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
42522         * sysdeps/pthread/bits/sigthread.h: ... here.
42523         * nptl/sysdeps/pthread/flockfile.c: Moved ...
42524         * sysdeps/pthread/flockfile.c: ... here.
42525         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
42526         * sysdeps/pthread/ftrylockfile.c: ... here.
42527         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
42528         * sysdeps/pthread/funlockfile.c: ... here.
42529         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
42530         * sysdeps/pthread/posix-timer.h: ... here.
42531         * nptl/sysdeps/pthread/timer_create.c: Moved ...
42532         * sysdeps/pthread/timer_create.c: ... here.
42533         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
42534         * sysdeps/pthread/timer_delete.c: ... here.
42535         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
42536         * sysdeps/pthread/timer_getoverr.c: ... here.
42537         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
42538         * sysdeps/pthread/timer_gettime.c: ... here.
42539         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
42540         * sysdeps/pthread/timer_routines.c: ... here.
42541         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
42542         * sysdeps/pthread/timer_settime.c: ... here.
42543         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
42544         * sysdeps/pthread/tst-timer.c: ... here.
42545         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
42546         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
42548         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
42549         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
42551         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
42552         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
42553         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
42554         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
42555         Update #include target.
42556         * nptl/sysdeps/i386/i686/Makefile: Moved ...
42557         * sysdeps/i386/i686/nptl/Makefile: ... here.
42558         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
42559         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
42560         Update #include target.
42561         * nptl/sysdeps/i386/i686/tls.h: Moved ...
42562         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
42563         * nptl/sysdeps/i386/Makefile: Moved ...
42564         * sysdeps/i386/nptl/Makefile: ... here.
42565         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
42566         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
42567         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
42568         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
42569         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
42570         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
42571         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
42572         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
42573         * sysdeps/i386/nptl/pthreaddef.h: ... here.
42574         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
42575         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
42576         * nptl/sysdeps/i386/tls.h: Moved ...
42577         * sysdeps/i386/nptl/tls.h: ... here.
42579         * sysdeps/sh/Makefile [$(subdir) = csu]
42580         (gen-as-const-headers): Add tcb-offsets.sym.
42581         * nptl/sysdeps/sh/Makefile: File removed.
42582         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
42583         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
42584         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
42585         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
42586         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
42587         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
42588         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
42589         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
42590         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
42591         * sysdeps/sh/nptl/pthreaddef.h: ... here.
42592         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
42593         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
42594         * nptl/sysdeps/sh/tls.h: Moved ...
42595         * sysdeps/sh/nptl/tls.h: ... here.
42596         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
42597         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
42598         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
42599         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
42600         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
42601         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
42602         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
42603         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
42604         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
42605         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
42606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
42607         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
42608         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
42609         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
42610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
42611         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
42612         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
42613         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
42614         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
42615         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
42616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
42617         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
42618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
42619         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
42620         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
42621         Moved ...
42622         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
42623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
42624         Moved ...
42625         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
42626         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
42627         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
42628         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
42629         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
42630         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
42631         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
42632         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
42633         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
42634         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
42635         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
42636         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
42637         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
42638         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
42639         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
42640         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
42641         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
42642         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
42643         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
42645 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42647         * posix/spawn_faction_addopen.c: Include string.h.
42649 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42651         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
42652         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
42653         * nptl/sysdeps/x86_64/Makefile: Moved ...
42654         * sysdeps/x86_64/nptl/Makefile: ... here.
42655         * nptl/sysdeps/x86_64/configure: Moved ...
42656         * sysdeps/x86_64/nptl/configure: ... here.
42657         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42658         * sysdeps/x86_64/nptl/configure.ac: ... here.
42659         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42660         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42661         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42662         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42663         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42664         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42665         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42666         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42667         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42668         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42669         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42670         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42671         * nptl/sysdeps/x86_64/tls.h: Moved ...
42672         * sysdeps/x86_64/nptl/tls.h: ... here.
42673         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42674         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42675         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42676         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42678         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42680 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42684 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42686         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42687         type.
42688         [POSIX] (off_t): Likewise.
42689         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42690         [POSIX] (S_ISBLK): Require macro.
42691         [POSIX] (S_ISCHR): Likewise.
42692         [POSIX] (S_ISDIR): Likewise.
42693         [POSIX] (S_ISFIFO): Likewise.
42694         [POSIX] (S_ISREG): Likewise.
42695         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42696         optional-macro.
42697         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42698         type.
42699         [POSIX] (time_t): Likewise.
42700         [POSIX] (timer_t): Likewise.
42702 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42704         [BZ #17048]
42705         * posix/spawn_int.h (struct __spawn_action): Make the path string
42706         non-const to support deallocation.
42707         * posix/spawn_faction_addopen.c
42708         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42709         * posix/spawn_faction_destroy.c
42710         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42711         path in all spawn_do_open actions.
42712         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42713         posix_spawn_file_actions_addopen.
42715 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42717         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42718         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42719         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42720         conditional code always true.
42721         (__libc_vfork): New alias.
42723 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42725         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42726         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42728         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42730         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42731         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42733         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42734         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42736         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42737         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42739 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42741         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42742         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42743         multiarch strcmp for PPC64.
42744         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42745         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42747         multiarch optimizations.
42748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42749         (__libc_ifunc_impl_list): Likewise.
42751 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42753         * benchtests/scripts/validate_benchout.py: New script.
42754         * benchtests/Makefile (bench-func): Call it.
42755         * benchtests/scripts/benchout.schema.json: New file.
42757 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42759         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42760         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42761         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42762         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42763         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42764         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42765         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42766         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42767         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42768         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42769         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42770         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42771         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42772         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42773         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42774         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42776         Moved ...
42777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42778         ... here.
42779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42780         Moved ...
42781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42783         Moved ...
42784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42785         ... here.
42786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42787         Moved ...
42788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42789         ... here.
42790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42791         Moved ...
42792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42794         Moved ...
42795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42796         ... here.
42797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42798         Moved ...
42799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42800         ... here.
42801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42802         Moved ...
42803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42805         Moved ...
42806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42807         ... here.
42808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42809         Moved ...
42810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42811         ... here.
42812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42813         Moved ...
42814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42815         ... here.
42816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42817         Moved ...
42818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42820         Moved ...
42821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42822         ... here.
42823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42824         Moved ...
42825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42826         ... here.
42827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42828         Moved ...
42829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42830         ... here.
42831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42832         Moved ...
42833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42835         Moved ...
42836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42837         ... here.
42838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42839         Moved ...
42840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42841         ... here.
42842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42843         Moved ...
42844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42846         Moved ...
42847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42848         ... here.
42849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42850         Moved ...
42851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42853         Moved ...
42854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42856         Moved ...
42857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42858         ... here.
42859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42860         Moved ...
42861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42862         ... here.
42863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42864         Moved ...
42865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42866         ... here.
42867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42868         Moved ...
42869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42871         Moved ...
42872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42873         ... here.
42874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42875         Moved ...
42876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42877         ... here.
42878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42879         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42881         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42883         Moved ...
42884         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42885         ... here.
42886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42887         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42889         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42890         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42891         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42893         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42895         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42897         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42899         Moved ...
42900         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42902         Moved ...
42903         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42905         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42907         Moved ...
42908         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42910         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42912         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42913         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42914         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42916 2014-06-10  Wilco  <wdijkstr@arm.com>
42918         * math/test-fenv-return.c: New file.
42919         * math/Makefile: Add new test test-fenv-return.
42921 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42923         [BZ #17042]
42924         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42925         when x - 1 is zero.
42926         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42927         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42928         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42929         0.0L for an argument of 1.0L.
42930         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42931         Likewise.
42932         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42933         value when x - 1 is zero.
42934         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42935         * sysdeps/i386/fpu/libm-test-ulps: Update.
42936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42938 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42940         [BZ #15119]
42941         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42943 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42945         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42946         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42948 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42950         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42951         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42953         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42954         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42956         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42957         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42959         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42960         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42962         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42963         if not already defined.
42964         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42965         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42966         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42967         (TLS_INIT_TP): Use it.
42968         (TLS_DEFINE_INIT_TP): New macro.
42969         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42971 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42973         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42974         constant.
42975         [POSIX] (IXANY): Likewise.
42976         [POSIX] (OLCUC): Likewise.
42977         [POSIX || POSIX2008] (CBAUD): Do not allow.
42978         [POSIX || POSIX2008] (DEFECHO): Likewise.
42979         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42980         [POSIX || POSIX2008] (ECHOKE): Likewise.
42981         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42982         [POSIX || POSIX2008] (EXTA): Likewise.
42983         [POSIX || POSIX2008] (EXTB): Likewise.
42984         [POSIX || POSIX2008] (FLUSHO): Likewise.
42985         [POSIX || POSIX2008] (LOBLK): Likewise.
42986         [POSIX || POSIX2008] (PENDIN): Likewise.
42987         [POSIX || POSIX2008] (SWTCH): Likewise.
42988         [POSIX || POSIX2008] (VDISCARD): Likewise.
42989         [POSIX || POSIX2008] (VDSUSP): Likewise.
42990         [POSIX || POSIX2008] (VLNEXT): Likewise.
42991         [POSIX || POSIX2008] (VREPRINT): Likewise.
42992         [POSIX || POSIX2008] (VSTATUS): Likewise.
42993         [POSIX || POSIX2008] (VWERASE): Likewise.
42994         (B*): Change to B[0123456789]*.
42995         * conform/data/time.h-data [POSIX || UNIX98]
42996         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42997         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42998         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42999         [POSIX] (tm_*): Do not allow.
43001 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43003         * Makefile (install): Don't set LANGUAGE.
43004         * Makefile.in (install): Likewise.
43005         * assert/Makefile (test-assert-ENV): Remove variable.
43006         (test-assert-perr-ENV): Likewise.
43007         * elf/Makefile (neededtest4-ENV): Likewise.
43008         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43009         [$(cross-compiling) = no]: Don't set LANGUAGE.
43010         * io/ftwtest-sh (LANG): Remove variable.
43011         * libio/Makefile (tst-widetext-ENV): Likewise.
43012         * manual/install.texi (Running make install): Don't refer to
43013         environment settings for make install.
43014         * INSTALL: Regenerated.
43015         * nptl/tst-tls6.sh: Don't set LANG.
43016         * posix/globtest.sh (LANG): Remove variable.
43017         * string/Makefile (tester-ENV): Likewise.
43018         (inl-tester-ENV): Likewise.
43019         (noinl-tester-ENV): Likewise.
43020         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43021         [$(cross-compiling) = no]: Don't set LANGUAGE.
43022         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43023         without explicit environment settings.
43025 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43027         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43028         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43029         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43030         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43032 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43034         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43035         other files in the crypt directory.
43036         * crypt/crypt.c: Remove duplicate includes.
43037         * crypt/crypt-entry.c: Likewise.
43038         * crypt/crypt_util.c: Likewise.
43040 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43042         * Makeconfig (run-program-env): New variable.
43043         (run-program-prefix-before-env): Likewise.
43044         (run-program-prefix-after-env): Likewise.
43045         (run-program-prefix): Define in terms of new variables.
43046         (built-program-cmd-before-env): New variable.
43047         (built-program-cmd-after-env): Likewise.
43048         (built-program-cmd): Define in terms of new variables.
43049         (test-program-prefix-before-env): New variable.
43050         (test-program-prefix-after-env): Likewise.
43051         (test-program-prefix): Define in terms of new variables.
43052         (test-program-cmd-before-env): New variable.
43053         (test-program-cmd-after-env): Likewise.
43054         (test-program-cmd): Define in terms of new variables.
43055         * Rules (make-test-out): Use $(run-program-env).
43056         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43057         (help): Do not mention environment variables.  Mention
43058         --timeoutfactor option.
43059         (timeoutfactor): New variable.
43060         (blacklist_exports): Remove function.
43061         (exports): Remove variable.
43062         (command): Do not include ${exports}.
43063         * manual/install.texi (Configuring and compiling): Do not mention
43064         test wrappers preserving environment variables.  Mention that last
43065         assignment to a variable must take precedence.
43066         * INSTALL: Regenerated.
43067         * benchtests/Makefile (run-bench): Use $(run-program-env).
43068         * catgets/Makefile ($(objpfx)test1.cat): Use
43069         $(built-program-cmd-before-env), $(run-program-env) and
43070         $(built-program-cmd-after-env).
43071         ($(objpfx)test2.cat): Do not specify environment variables
43072         explicitly.
43073         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43074         $(run-program-env) and $(built-program-cmd-after-env).
43075         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43076         $(run-program-env) and $(test-program-cmd-after-env).
43077         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43078         explicitly.
43079         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43080         run_program_env and test_program_cmd_after_env arguments.
43081         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43082         * elf/tst-pathopt.sh: Use run_program_env argument.
43083         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43084         $(test-wrapper-env) and $(run-program-env).
43085         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43086         run_program_env arguments.
43087         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43088         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43089         $(test-program-prefix-before-env), $(run-program-env) and
43090         $(test-program-prefix-after-env).
43091         ($(objpfx)tst-gettext2.out): Likewise.
43092         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43093         run_program_env and test_program_prefix_after_env arguments.
43094         * intl/tst-gettext2.sh: Likewise.
43095         * intl/tst-gettext4.sh: Do not set environment variables
43096         explicitly.
43097         * intl/tst-gettext6.sh: Likewise.
43098         * intl/tst-translit.sh: Likewise.
43099         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43100         $(test-program-prefix-before-env), $(run-program-env) and
43101         $(test-program-prefix-after-env).
43102         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43103         run_program_env and test_program_prefix_after_env arguments.
43104         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43105         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43106         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43107         explicitly with each use of ${test_wrapper_env}.
43108         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43109         $(test-program-prefix-before-env), $(run-program-env) and
43110         $(test-program-prefix-after-env).
43111         * posix/tst-getconf.sh: Do not set environment variables
43112         explicitly.
43113         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43114         run_program_env and test_program_prefix_after_env arguments.
43115         * stdio-common/tst-printf.sh: Do not set environment variables
43116         explicitly.
43117         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43118         $(test-program-prefix-before-env), $(run-program-env) and
43119         $(test-program-prefix-after-env).
43120         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43121         run_program_env and test_program_prefix_after_env arguments.
43122         Split $test calls into $test_pre and $test.
43123         * timezone/Makefile (build-testdata): Use
43124         $(built-program-cmd-before-env), $(run-program-env) and
43125         $(built-program-cmd-after-env).
43127 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43129         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43130         strlen for non SHARED builds.
43132 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43134         * nptl/allocatestack.c (check_list): Inlined function...
43135         (__reclaim_stacks): ... here.
43137 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43139         [BZ #15698]
43140         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43141         memory overrun.
43143 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43145         * Rules (make-test-out): Include
43146         LOCPATH=$(common-objpfx)localedata in default environment.
43147         * debug/Makefile (tst-chk1-ENV): Remove variable.
43148         (tst-chk2-ENV): Likewise.
43149         (tst-chk3-ENV): Likewise.
43150         (tst-chk4-ENV): Likewise.
43151         (tst-chk5-ENV): Likewise.
43152         (tst-chk6-ENV): Likewise.
43153         (tst-lfschk1-ENV): Likewise.
43154         (tst-lfschk2-ENV): Likewise.
43155         (tst-lfschk3-ENV): Likewise.
43156         (tst-lfschk4-ENV): Likewise.
43157         (tst-lfschk5-ENV): Likewise.
43158         (tst-lfschk6-ENV): Likewise.
43159         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43160         (tst-iconv7-ENV): Likewise.
43161         * intl/Makefile (LOCPATH-ENV): Likewise.
43162         (tst-codeset-ENV): Likewise.
43163         (tst-gettext3-ENV): Likewise.
43164         (tst-gettext5-ENV): Likewise.
43165         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43166         (tst-fopenloc-ENV): Likewise.
43167         (tst-fgetws-ENV): Remove variable.
43168         (tst-ungetwc1-ENV): Likewise.
43169         (tst-ungetwc2-ENV): Likewise.
43170         (bug-ungetwc2-ENV): Likewise.
43171         (tst-swscanf-ENV): Likewise.
43172         (bug-ftell-ENV): Likewise.
43173         (tst-fgetwc-ENV): Likewise.
43174         (tst-fseek-ENV): Likewise.
43175         (tst-ftell-partial-wide-ENV): Likewise.
43176         (tst-ftell-active-handler-ENV): Likewise.
43177         (tst-ftell-append-ENV): Likewise.
43178         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43179         (tst-regexloc-ENV): Likewise.
43180         (bug-regex1-ENV): Likewise.
43181         (tst-regex-ENV): Likewise.
43182         (tst-regex2-ENV): Likewise.
43183         (bug-regex5-ENV): Likewise.
43184         (bug-regex6-ENV): Likewise.
43185         (bug-regex17-ENV): Likewise.
43186         (bug-regex18-ENV): Likewise.
43187         (bug-regex19-ENV): Likewise.
43188         (bug-regex20-ENV): Likewise.
43189         (bug-regex22-ENV): Likewise.
43190         (bug-regex23-ENV): Likewise.
43191         (bug-regex25-ENV): Likewise.
43192         (bug-regex26-ENV): Likewise.
43193         (bug-regex30-ENV): Likewise.
43194         (bug-regex32-ENV): Likewise.
43195         (bug-regex33-ENV): Likewise.
43196         (bug-regex34-ENV): Likewise.
43197         (bug-regex35-ENV): Likewise.
43198         (tst-rxspencer-ENV): Likewise.
43199         (tst-rxspencer-no-utf8-ENV): Likewise.
43200         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43201         (tst-sscanf-ENV): Likewise.
43202         (tst-swprintf-ENV): Likewise.
43203         (tst-swscanf-ENV): Likewise.
43204         (test-vfprintf-ENV): Likewise.
43205         (scanf13-ENV): Likewise.
43206         (bug14-ENV): Likewise.
43207         (tst-grouping-ENV): Likewise.
43208         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43209         (tst-strtod3-ENV): Likewise.
43210         (tst-strtod4-ENV): Likewise.
43211         (tst-strtod5-ENV): Likewise.
43212         (testmb2-ENV): Likewise./
43213         * string/Makefile (tst-strxfrm-ENV): Likewise.
43214         (tst-strxfrm2-ENV): Likewise.
43215         (bug-strcoll1-ENV): Likewise.
43216         (test-strcasecmp-ENV): Likewise.
43217         (test-strncasecmp-ENV): Likewise.
43218         * time/Makefile (tst-strptime-ENV): Likewise.
43219         (tst-ftime_l-ENV): Likewise.
43220         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43221         (tst-mbrtowc-ENV): Likewise.
43222         (tst-wcrtomb-ENV): Likewise.
43223         (tst-mbrtowc2-ENV): Likewise.
43224         (tst-c16c32-1-ENV): Likewise.
43225         (tst-mbsnrtowcs-ENV): Likewise.
43227 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43229         * manual/resource.texi (How to get information about the memory
43230         subsystem?): Fix typo.
43231         Reported by Peon de la Parra Ivan <peon@keba.com>
43233 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43235         [BZ #16882]
43236         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43237         (pthread_spin_lock): Branch out of spin loop to proper location.
43238         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43239         (pthread_spin_lock): Likewise.
43241         * nptl/tst-spin4.c: New test.
43242         * nptl/Makefile (tests): Add tst-spin4.
43244 2014-06-03  Andreas Schwab  <schwab@suse.de>
43246         [BZ #15946]
43247         * resolv/res_send.c (send_dg): Reload file descriptor after
43248         calling reopen.
43250 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43252         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43254 2014-06-03  Richard Henderson  <rth@redhat.com>
43256         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43257         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43258         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43259         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43260         in the SAVE_PID block.
43261         (__libc_vfork): New alias.
43262         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43264         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43265         child in registers, not on the stack.  Remove RESET_PID conditionals.
43266         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43268 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43270         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43272 2014-06-03  Wilco  <wdijkstr@arm.com>
43274         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43275         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43276         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43277         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43278         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43279         Likewise.
43281 2014-06-03  Wilco  <wdijkstr@arm.com>
43283         * sysdeps/aarch64/fpu/math_private.h
43284         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43285         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43286         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43287         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43288         Fix declarations.
43290 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43292         * crypt/crypt-private.h: Include ufc-crypt.h.
43293         (__b64_from_24bit): Declare extern.
43294         * crypt/crypt_util.c(__b64_from_24bit): New function.
43295         (b64t): New static const variable.
43296         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43297         (b64t): Remove variable.
43298         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43299         * crypt/sha256-crypt.c: Include crypt-private.h.
43300         (b64t): Remove variable.
43301         (__sha256_crypt_r): Remove b64_from_24bit and replace
43302         with __b64_from_24bit.
43303         * crypt/sha512-crypt.c: Likewise.
43305 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43307         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43308         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43309         Label the code __libc_vfork rather than __vfork.
43310         [!NOT_IN_libc] (vfork): Define as weak alias.
43311         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43312         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43313         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43315 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43317         * malloc/malloc.c (malloc_info): Fix format specifier for
43318         n_mmaps.
43320 2014-06-02  Wilco  <wdijkstr@arm.com>
43322         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43323         FPCR write.
43325 2014-06-02  Wilco  <wdijkstr@arm.com>
43327         [BZ #17009]
43328         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43329         Rewrite to reduce FPCR/FPSR accesses.
43331 2014-06-01  David S. Miller  <davem@davemloft.net>
43333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43335 2014-05-31  David S. Miller  <davem@davemloft.net>
43337         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43338         to occur in round to nearest mode when |x| >= 2.0
43340 2014-05-30  Richard Henderson  <rth@twiddle.net>
43342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43343         (PSEUDO_RET_NOERRNO): Remove.
43344         (ret): Don't redefine.
43345         (ret_NOERRNO): Define in terms of ret.
43346         (ret_ERRVAL): Likewise.
43348         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43349         use of PSEUDO_RET; perform the error check directly.
43351 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43353         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43354         with __int128_t.
43356 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43358         * malloc/malloc (malloc_info): Fix formatting.
43360 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43361             Roland McGrath  <roland@hack.frob.com>
43363         * malloc/malloc (malloc_info): Also print mmapped statistics.
43365 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43367         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43368         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43370 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43372         * malloc/malloc.c (malloc_info): Inline mi_arena.
43374 2014-05-29  Richard Henderson  <rth@twiddle.net>
43376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43377         Remove comma before expanding ASM_ARGS_##nr.
43378         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43379         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43380         of ASM_ARGS_##nr.
43381         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43382         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43383         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43384         (ASM_ARGS_1): Add leading comma.
43386         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43387         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43388         to __errno_location.
43389         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43390         Remove the expected plt for __errno_location.
43392         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43393         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43394         call to __read_tp.
43396         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43397         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43398         it and break it down.
43399         (DOCARGS_0, DOCARGS_1): Do nothing.
43400         (DOCARGS_2): Update to store into the new stack frame.
43401         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43402         (UNDOCARGS_1): Update to restore from the new stack frame.
43403         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43404         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43406         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43407         (SINGLE_THREAD_P): New parameter for result regno.
43408         (PSEUDO): Update to match; use cbz instead of beq.
43410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43411         Use ENTRY to define the _nocancel entry point.  Share the syscall
43412         and syscall error check paths with the cancel path.
43413         (PSEUDO_END): New.
43415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43416         whitespace; tabs before and after asm mnemonics.
43418 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43420         [BZ #15132]
43421         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43422         Call fstat64 or stat64 internally, depending on arguments passed.
43423         Replace stat buffer argument with file descriptor argument.
43424         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43425         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43426         Pass fd to __internal_statvfs instead of calling fstat64.
43427         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43428         Pass fd to __internal_statvfs64 instead of calling fstat64.
43429         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43430         Pass -1 to __internal_statvfs instead of calling stat64.
43431         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43432         Pass -1 to __internal_statvfs64 instead of calling stat64.
43434 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43436         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43437         that was previously under [RESET_PID].
43438         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43440         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43441         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43443 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43445         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43447         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43448         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43450 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43452         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43454 2014-05-27  Andreas Schwab  <schwab@suse.de>
43456         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43457         TLS_INIT_TP macro.
43458         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43459         * elf/rtld.c (init_tls, dl_main): Likewise.
43460         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43461         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43462         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43463         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43464         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43465         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43466         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43467         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43468         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43469         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43470         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43471         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43472         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43473         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43474         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43475         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43476         * sysdeps/generic/tls.h: Update description.
43478 2014-05-27  Will Newton  <will.newton@linaro.org>
43480         [BZ #16990]
43481         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43482         and restore r2 rather than just restoring.
43484 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43486         [BZ #16724]
43487         * libio/tst-ftell-append.c: New test case.
43488         * libio/Makefile (tests): Add test case.
43489         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
43490         append mode.
43491         * libio/wfileops.c (do_ftell_wide): Likewise.
43493 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43497         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
43498         ...
43499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
43500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43501         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
43502         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
43503         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
43504         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
43505         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
43506         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
43507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43508         Moved ...
43509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
43510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43511         Moved ...
43512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
43513         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
43514         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
43515         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
43516         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
43517         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
43518         ...
43519         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
43521         Moved ...
43522         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
43523         here.
43524         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
43525         ...
43526         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
43527         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
43528         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
43530         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
43531         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
43532         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
43533         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
43535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
43536         merge into ...
43537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
43538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
43539         ...
43540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
43541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
43542         ...
43543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
43544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43545         Moved ...
43546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
43547         here.
43548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43549         Moved ...
43550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
43551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43552         Moved ...
43553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
43555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
43556         conditional [RESET_PID].
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
43558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
43559         removed.
43560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
43561         removed.
43563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
43564         <tcb-offsets.h>.
43565         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43566         (__libc_vfork): New strong alias.
43567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
43568         removed.
43569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
43570         Removed.
43572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
43573         <tcb-offsets.h>.
43574         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
43575         (__libc_vfork): New strong alias.
43576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
43577         removed.
43578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
43579         removed.
43581 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
43583         * malloc/malloc.c (mi_arena): New function.
43584         (malloc_info): Remove nested function mi_arena. Call non-nosted
43585         function mi_arena.
43587 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43589         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
43590         by insrwi.
43591         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
43592         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
43593         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
43594         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
43595         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
43596         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
43597         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
43599 2014-05-26  Andreas Schwab  <schwab@suse.de>
43601         [BZ #16984]
43602         * locale/programs/repertoire.c (repertoire_read): Add slash
43603         between I18NPATH element and file name.
43604         * locale/programs/locfile.c (locfile_read): Likewise.
43606 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43608         * nptl/pthread_mutexattr_settype.c
43609         (__pthread_mutexattr_settype):
43610         Disable lock elision for PTHREAD_MUTEX_NORMAL.
43612 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43614         * nptl/tst-mutex5 (do_test):
43615         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
43617 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43619         * benchtests/README: Document 'init' directive.
43620         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
43621         BENCH_INIT.
43622         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
43623         (parse_file): Recognize 'init' directive.
43625 2014-05-26  Kyle McMartin  <kyle@redhat.com>
43627         [BZ #16796]
43628         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
43629         alignment of struct pthread.
43631 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43633         [BZ #16878]
43634         * nscd/netgroupcache.c (addgetnetgrentX): Look for
43635         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43636         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
43637         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43639 2014-05-25  Richard Henderson  <rth@twiddle.net>
43641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43642         (SINGLE_THREAD_P_PIC): Remove.
43643         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
43644         (SINGLE_THREAD_P_PIC): Remove.
43646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
43647         branch to syscall error ...
43648         (PSEUDO): ... here.
43649         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
43650         from __local_syscall_error to .Lsyscall_error.
43651         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
43652         (SYSCALL_ERROR): Update label name.
43654         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43655         Do not use DOARGS/UNDOARGS.
43656         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43657         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43658         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43659         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43660         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43662         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43663         block comment.
43665         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43666         define if !NOT_IN_libc.
43667         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43668         define with non-default symbol versions.
43670 2014-05-23  Richard Henderson  <rth@twiddle.net>
43672         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43673         (vfork, __vfork): Define via compat_symbol.
43675         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43676         [!HAVE_IFUNC] (vfork_compat): Remove.
43677         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43679 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43681         [BZ #16978]
43682         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43683         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43684         variable.
43686 2014-05-23  Richard Henderson  <rth@twiddle.net>
43688         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43689         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43690         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43691         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43693         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43694         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43695         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43696         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43697         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43698         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43699         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43700         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43701         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43702         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43703         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43704         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43705         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43706         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43707         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43708         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43709         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43710         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43711         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43712         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43713         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43714         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43715         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43716         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43717         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43718         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43719         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43720         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43721         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43722         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43723         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43724         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43725         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43726         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43727         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43728         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43729         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43730         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43731         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43732         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43733         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43734         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43735         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43736         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43737         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43738         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43739         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43740         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43741         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43742         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43743         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43744         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43745         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43746         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43747         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43748         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43750         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43751         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43752         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43753         before exiting on error.
43754         (__libc_vfork): New strong alias.
43755         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43756         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43758         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43759         that was previously under [RESET_PID].
43760         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43762         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43764 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43766         [BZ #16977]
43767         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43768         value when x - 1 is zero.
43769         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43770         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43771         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43772         0.0L for an argument of 1.0L.
43773         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43774         Likewise.
43775         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43776         value when x - 1 is zero.
43777         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43778         * sysdeps/i386/fpu/libm-test-ulps: Update.
43779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43781 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43783         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43784         alphasort and versionsort.
43786 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43788         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43789         macro.
43790         [copysignf]: Likewise.
43792 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43794         * crypt/md5-crypt.c: Fix formatting.
43796 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43798         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43799         (b64_from_24bit): New function.
43801 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43804         libc_hidden_builtin_def to ifunc.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43806         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43808 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43810         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43811         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43813 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43815         * nscd/Depend (linuxthreads): Remove.
43816         (nptl): Add.
43817         * resolv/Depend (linuxthreads): Remove.
43818         * rt/Depend (linuxthreads): Remove.
43820         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43821         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43822         $(common-objpfx)elf/.
43823         (link-libc-before-gnulib): Likewise.
43824         (elfobjdir): Remove variable.
43825         * Makefile (install): Use $(elf-objpfx) instead of
43826         $(common-objpfx)elf/.
43827         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43828         $(elfobjdir)/.
43829         (link-libc-deps): Likewise.
43830         ($(common-objpfx)libc.so): Likewise.
43831         ($(common-objpfx)linkobj/libc.so): Likewise.
43832         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43833         instead of $(common-objpfx)elf/.
43834         (symbolic-link-list): Likewise.
43835         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43836         [$(cross-compiling) = no]: Likewise.
43837         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43838         $(elfobjdir)/.
43839         (static-gnulib-arch): Likewise.
43840         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43841         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43842         $(common-objpfx)elf/.
43844 2014-05-21  Richard Henderson  <rth@redhat.com>
43846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43847         (SINGLE_THREAD_P): Use the correct width load.  Fold
43848         into the ldr offset.
43850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43851         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43853 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43855         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43856         (libgcc_s_resume): Use __attribute_used__.
43857         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43858         Likewise.
43860 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43862         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43863         optimization when used with float constants.
43865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43867 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43869         [BZ #16915]
43870         * locale/nl_langinfo_l.c: Make direct reference to every
43871         _nl_current_CATEGORY symbol.
43872         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43873         (tests-static): Add tst-langinfo-static.
43874         (tests-special): Add tst-langinfo-static.out.
43875         ($(objpfx)tst-langinfo.out): Redirect output.
43876         ($(objpfx)tst-langinfo-static.out): New.
43877         * localedata/tst-langinfo.sh: Send output to stdout.
43878         * localedata/tst-langinfo-static.c: New file.
43880         [BZ #16965]
43881         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43882         when the shift amount is modulo the limb size.
43884 2014-05-20  Richard Henderson  <rth@redhat.com>
43886         [BZ #16967]
43887         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43888         Change type of sa_flags from unsigned int to int.
43890         [BZ #16966]
43891         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43893         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43895 2014-05-20  Will Newton  <will.newton@linaro.org>
43897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43898         Test the return value of the system call in the nocancel case.
43900 2014-05-20  Will Newton  <will.newton@linaro.org>
43901             Yvan Roux  <yvan.roux@linaro.org>
43903         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43904         #include of asm/ptrace.h.
43905         (PTRACE_GET_THREAD_AREA): Remove #undef.
43906         (PTRACE_GETHBPREGS): Likewise.
43907         (PTRACE_SETHBPREGS): Likewise.
43908         (struct user_regs_struct): New structure.
43909         (struct user_fpsimd_struct): New structure.
43910         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43911         #include of asm/ptrace.h and second #include of sys/user.h.
43912         (PTRACE_GET_THREAD_AREA): Remove #undef.
43913         (PTRACE_GETHBPREGS): Likewise.
43914         (PTRACE_SETHBPREGS): Likewise.
43915         (ELF_NGREG): Use new struct user_regs_struct.
43916         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43918 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43921         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43923 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43925         [BZ #16958]
43926         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43927         membar to avoid block loads/stores to overlap previous stores.
43929 2014-05-17  Richard Henderson  <rth@redhat.com>
43931         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43932         Create the __##syscall_name##_nocancel entry point.
43933         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43934         Remove; let the sysdep-cancel.h code create it.
43936 2014-05-17  David S. Miller  <davem@davemloft.net>
43938         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43939         Protect with __USE_GNU.
43940         (TIOCSET_TEMPT): Likewise.
43941         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43942         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43943         these are already provided in bits/ioctl-types.h
43945 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43947         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43948         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43950         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43951         Use wait4 regardless of [__NR_waitpid].
43953 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43955         PR libgcc/60166
43956         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43957         (_FP_NANSIGN_Q): Set the quiet bit.
43959 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43961         * benchtests/Makefile
43962         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43963         not $(common-objpfx)math/libm.so.
43964         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43965         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43966         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43967         $(common-objpfx)dlfcn/libdl.so.
43968         ($(objpfx)tst-audit8): Depend on $(libm), not
43969         $(common-objpfx)math/libm.so.
43970         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43971         not $(common-objpfx)dlfcn/libdl.so.
43972         * math/Makefile
43973         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43974         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43975         [$(build-shared) = yes].
43976         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43977         $(common-objpfx)nptl/libpthread.so.
43978         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43979         $(common-objpfx)math/libm.so$(libm.so-version) or
43980         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43981         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43982         $(common-objpfx)dlfcn/libdl.so.
43983         * setjmp/Makefile (link-libm): Remove variable.
43984         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43985         * stdio-common/Makefile (link-libm): Remove variable.
43986         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43987         * stdlib/Makefile (link-libm): Remove variable.
43988         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43989         ($(objpfx)tst-strtod-round): Likewise.
43990         ($(objpfx)tst-tininess): Likewise.
43991         ($(objpfx)tst-strtod-underflow): Likewise.
43992         ($(objpfx)tst-strtod6): Likewise.
43993         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43994         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43995         $(common-objpfx)dlfcn/libdl.so.
43997 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44000         BSD terminal modes definitions.
44002 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44004         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44005         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44007         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44008         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44009         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44010         Don't do #include_next.
44011         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44012         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44013         Don't do #include_next.
44014         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44015         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44016         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44017         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44019 2014-05-16  Allan McRae  <allan@archlinux.org>
44021         * po/sv.po: Update Swedish translation from translation project.
44023         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44024         in sed expression.
44026 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44028         [BZ #16917]
44029         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44030         errno if the TIOCGPTN ioctl fails with an error different than
44031         EINVAL.
44032         * login/tst-ptsname.c: New file.
44033         * login/Makefile (tests): Add tst-ptsname.
44035         [BZ #16943]
44036         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44037         and prlimit64.
44039 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44041         [BZ #16849]
44042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44043         herrno to return EAI_AGAIN.
44045 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44047         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44048         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44049         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44050         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44051         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44052         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44053         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44054         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44055         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44056         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44057         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44058         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44059         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44060         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44061         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44062         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44063         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44064         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44065         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44066         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44067         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44068         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44069         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44070         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44071         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44072         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44073         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44074         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44075         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44076         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44078         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44080         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44082         Moved ...
44083         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44085         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44087         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44089         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44091         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44093         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44095         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44097         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44099         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44101         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44103         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44105         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44107         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44109         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44111         Moved ...
44112         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44114         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44116         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44118         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44120         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44122         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44124         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44126         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44128         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44130         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44132         Moved ...
44133         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44135         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44137         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44138         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44139         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44140         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44141         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44142         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44143         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44144         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44145         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44146         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44147         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44148         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44149         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44150         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44151         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44152         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44153         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44154         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44155         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44156         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44157         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44158         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44159         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44160         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44161         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44162         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44163         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44164         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44165         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44166         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44167         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44169         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44170         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44172         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44173         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44174         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44175         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44176         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44177         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44178         Moved ...
44179         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44180         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44181         Moved ...
44182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44184         Moved ...
44185         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44187         Moved ...
44188         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44189         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44190         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44192         Moved ...
44193         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44194         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44195         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44196         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44197         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44198         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44199         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44200         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44201         Moved ...
44202         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44204         Moved ...
44205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44206         ... here.
44207         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44208         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44209         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44210         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44211         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44212         Moved ...
44213         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44214         ... here.
44215         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44216         Moved ...
44217         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44218         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44219         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44220         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44221         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44222         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44223         Moved ...
44224         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44225         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44226         Moved ...
44227         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44229         Moved ...
44230         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44232         Moved ...
44233         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44234         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44235         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44237         Moved ...
44238         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44239         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44240         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44241         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44242         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44243         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44244         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44245         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44246         Moved ...
44247         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44249         Moved ...
44250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44251         ... here.
44252         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44253         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44254         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44255         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44256         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44257         Moved ...
44258         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44259         ... here.
44260         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44261         Moved ...
44262         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44263         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44264         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44265         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44266         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44267         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44268         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44269         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44270         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44271         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44272         Moved ...
44273         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44274         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44275         Moved ...
44276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44277         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44278         Moved ...
44279         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44280         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44281         Moved ...
44282         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44283         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44284         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44285         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44286         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44288         Moved ...
44289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44290         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44291         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44292         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44294         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44295         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44296         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44297         Moved ...
44298         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44300         Moved ...
44301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44302         ... here.
44303         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44304         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44305         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44306         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44307         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44308         Moved ...
44309         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44310         ... here.
44311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44312         Moved ...
44313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44314         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44315         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44316         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44317         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44318         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44319         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44320         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44321         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44322         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44323         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44325         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44326         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44328         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44329         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44331         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44332         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44333         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44334         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44335         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44336         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44337         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44338         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44339         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44340         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44341         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44342         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44343         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44344         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44345         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44347         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44349         Moved ...
44350         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44352         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44354         Moved ...
44355         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44359         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44361         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44362         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44363         Moved ...
44364         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44366         Moved ...
44367         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44368         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44369         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44373         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44374         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44375         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44376         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44377         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44378         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44379         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44380         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44381         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44382         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44383         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44385         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44386         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44387         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44388         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44389         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44391         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44392         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44394         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44395         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44396         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44397         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44398         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44399         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44400         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44405         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44406         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44407         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44408         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44409         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44410         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44411         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44412         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44413         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44414         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44415         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44416         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44417         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44418         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44420         Update #include.
44421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44422         Likewise.
44423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44424         Likewise.
44425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44426         Likewise.
44427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44428         Likewise.
44429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44430         Likewise.
44431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44432         Likewise.
44433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44434         Likewise.
44435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44436         Likewise.
44437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44438         Likewise.
44439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44444         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44445         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44446         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44447         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44449         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44450         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44451         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44452         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44453         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44455         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44456         that was previously under [RESET_PID].
44457         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44458         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44459         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44461         * sysdeps/i386/nptl/Implies: New file.
44462         * sysdeps/x86_64/nptl/Implies: New file.
44463         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44464         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44465         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44466         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44468         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
44469         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44470         (__libc_vfork): New strong alias.
44471         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44472         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44474         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44475         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44476         (__libc_vfork): New strong alias.
44477         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44478         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44480         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44481         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44482         (__libc_vfork): New strong alias.
44483         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44484         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44485         * nptl/pt-vfork.c: New file.
44486         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44487         (libpthread: GLIBC_2.20): New version set (empty).
44489 2014-05-14  Will Newton  <will.newton@linaro.org>
44491         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
44492         rather than #if.
44494 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44496         [BZ #16564]
44497         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
44498         arguments with exponent 65 or above.
44499         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
44500         arguments 0x1p113L or above.
44501         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
44502         to arguments 0x1p107L or above.
44503         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
44504         positive arguments with exponent 65 or above.
44505         * math/auto-libm-test-in: Add more tests of log1p.
44506         * math/auto-libm-test-out: Regenerated.
44508         [BZ #16928]
44509         * math/s_cacos.c (__cacos): Ensure zero real part of result from
44510         non-finite arguments is +0.
44511         * math/s_cacosf.c (__cacosf): Likewise.
44512         * math/s_cacosl.c (__cacosl): Likewise.
44513         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
44514         * sysdeps/i386/fpu/libm-test-ulps: Update.
44515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44517         [BZ #16927]
44518         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
44519         value.
44520         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
44521         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
44522         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
44523         for explicit high bit of mantissa when testing for argument equal
44524         to 1.
44525         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
44526         * sysdeps/i386/fpu/libm-test-ulps: Update.
44527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44529         [BZ #16516]
44530         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
44531         (__erf): Scale by 16 instead of 8 in potentially underflowing
44532         case.  Ensure exception if result actually underflows.
44533         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
44534         (__erff): Scale by 16 instead of 8 in potentially underflowing
44535         case.  Ensure exception if result actually underflows.
44536         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
44537         (efx8): Remove variable.
44538         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44539         case.  Ensure exception if result actually underflows.
44540         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
44541         (efx8): Remove variable.
44542         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44543         case.  Ensure exception if result actually underflows.
44544         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
44545         (efx8): Remove variable.
44546         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44547         case.  Ensure exception if result actually underflows.
44548         * math/auto-libm-test-in: Add more tests of erf.
44549         * math/auto-libm-test-out: Regenerated.
44551 2014-05-14  Andreas Schwab  <schwab@suse.de>
44553         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
44554         Remove code conditionalized on USE___THREAD.
44556         * config.h.in (HAVE_PT_CHOWN): Define as 0.
44557         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
44558         not definedness.
44560 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44562         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
44563         Define unconditionally.
44564         (__ASSUME_O_CLOEXEC): Likewise.
44565         (__ASSUME_SOCK_CLOEXEC): Likewise.
44566         (__ASSUME_IN_NONBLOCK): Likewise.
44567         (__ASSUME_PIPE2): Likewise.
44568         (__ASSUME_EVENTFD2): Likewise.
44569         (__ASSUME_SIGNALFD4): Likewise.
44570         (__ASSUME_DUP3): Likewise.
44571         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44572         (__ASSUME_DUP3): Do not define.
44573         (__ASSUME_EVENTFD2): Likewise.
44574         (__ASSUME_IN_NONBLOCK): Likewise.
44575         (__ASSUME_O_CLOEXEC): Likewise.
44576         (__ASSUME_PIPE2): Likewise.
44577         (__ASSUME_SIGNALFD4): Likewise.
44578         (__ASSUME_SOCK_CLOEXEC): Likewise.
44579         (__ASSUME_UTIMES): Undefine.
44580         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44581         (__ASSUME_UTIMES): Do not define.
44582         (__ASSUME_O_CLOEXEC): Likewise.
44583         (__ASSUME_SOCK_CLOEXEC): Likewise.
44584         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
44585         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
44586         0x020621].
44587         (__ASSUME_PIPE2): Likewise.
44588         (__ASSUME_EVENTFD2): Likewise.
44589         (__ASSUME_SIGNALFD4): Likewise.
44590         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
44591         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
44592         Do not define.
44593         (__ASSUME_EVENTFD2): Likewise.
44594         (__ASSUME_SIGNALFD4): Likewise.
44595         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
44596         (__ASSUME_32BITUIDS): Likewise.
44597         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44598         (__ASSUME_IPC64): Likewise.
44599         (__ASSUME_ST_INO_64_BIT): Likewise.
44600         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
44601         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
44602         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44603         (__ASSUME_UTIMES): Do not define.
44604         (__ASSUME_PSELECT): Likewise.
44605         (__ASSUME_PPOLL): Likewise.
44606         (__ASSUME_O_CLOEXEC): Likewise.
44607         (__ASSUME_SOCK_CLOEXEC): Likewise.
44608         (__ASSUME_IN_NONBLOCK): Likewise.
44609         (__ASSUME_PIPE2): Likewise.
44610         (__ASSUME_EVENTFD2): Likewise.
44611         (__ASSUME_SIGNALFD4): Likewise.
44612         (__ASSUME_DUP3): Likewise.
44613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44614         (__ASSUME_UTIMES): Likewise.
44615         (__ASSUME_O_CLOEXEC): Likewise.
44616         (__ASSUME_SOCK_CLOEXEC): Likewise.
44617         (__ASSUME_IN_NONBLOCK): Likewise.
44618         (__ASSUME_PIPE2): Likewise.
44619         (__ASSUME_EVENTFD2): Likewise.
44620         (__ASSUME_SIGNALFD4): Likewise.
44621         (__ASSUME_DUP3): Likewise.
44622         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44623         (__ASSUME_UTIMES): Likewise.
44624         (__ASSUME_O_CLOEXEC): Likewise.
44625         (__ASSUME_SOCK_CLOEXEC): Likewise.
44626         (__ASSUME_IN_NONBLOCK): Likewise.
44627         (__ASSUME_PIPE2): Likewise.
44628         (__ASSUME_EVENTFD2): Likewise.
44629         (__ASSUME_SIGNALFD4): Likewise.
44630         (__ASSUME_DUP3): Likewise.
44631         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
44632         Likewise.
44633         (__ASSUME_UTIMES): Likewise.
44634         (__ASSUME_EVENTFD2): Likewise.
44635         (__ASSUME_SIGNALFD4): Likewise.
44636         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44637         (__ASSUME_O_CLOEXEC): Likewise.
44638         (__ASSUME_SOCK_CLOEXEC): Likewise.
44639         (__ASSUME_IN_NONBLOCK): Likewise.
44640         (__ASSUME_PIPE2): Likewise.
44641         (__ASSUME_EVENTFD2): Likewise.
44642         (__ASSUME_SIGNALFD4): Likewise.
44643         (__ASSUME_DUP3): Likewise.
44644         (__ASSUME_UTIMES): Undefine.
44646         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
44647         feclearexcept.  Remove symbol versioning code.
44648         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
44649         symbol versioning code.
44650         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
44651         symbol versioning code.
44652         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
44653         feupdateenv.  Remove symbol versioning code.
44654         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44655         fegetexceptflag.  Remove symbol versioning code.
44656         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44657         fesetexceptflag.  Remove symbol versioning code.
44658         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44659         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44660         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44661         (__posix_fadvise64_l32): Remove prototype.
44662         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44663         code.
44665 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44667         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44668         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44669         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44670         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44672 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44674         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44675         current working directory
44677 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44679         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44680         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44681         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44682         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44683         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44684         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44685         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44686         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44687         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44688         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44689         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44690         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44691         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44692         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44693         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44694         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44695         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44696         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44697         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44698         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44699         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44700         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44701         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44702         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44703         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44704         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44705         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44706         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44707         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44708         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44709         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44710         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44711         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44712         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44713         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44714         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44715         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44716         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44717         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44718         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44719         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44720         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44722         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44723         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44725         * sysdeps/unix/sysv/linux/arm/Makefile
44726         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44727         Add rt-aeabi_unwind_cpp_pr1.
44728         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44729         Add nptl-aeabi_unwind_cpp_pr1.
44730         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44731         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44732         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44733         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44734         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44735         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44737         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44738         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44739         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44740         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44742         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44743         Deconditionalize the code that was previously under [RESET_PID].
44744         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44746         * sysdeps/generic/exit-thread.h: New file.
44747         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44748         * include/unistd.h (__exit_thread): Remove declaration.
44749         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44750         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44751         * csu/libc-start.c: Include <exit-thread.h>.
44752         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44753         * nptl/pthread_create.c: Include <exit-thread.h>.
44754         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44755         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44756         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44757         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44758         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44759         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44760         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44761         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44762         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44763         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44764         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44765         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44766         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44767         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44768         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44769         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44770         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44772 2014-05-13  Andreas Schwab  <schwab@suse.de>
44774         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44776 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44778         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44779         (__ASSUME_UTIMES): Do not condition on kernel version.
44780         (__ASSUME_PSELECT): Define unconditionally.
44781         (__ASSUME_PPOLL): Likewise.
44782         (__ASSUME_ATFCTS): Likewise.
44783         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44784         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44785         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44786         (__ASSUME_UTIMENSAT): Define unconditionally.
44787         (__ASSUME_PRIVATE_FUTEX): Likewise.
44788         (__ASSUME_FALLOCATE): Likewise.
44789         (__ASSUME_O_CLOEXEC): Likewise.
44790         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44791         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44792         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44793         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44794         (__ASSUME_IN_NONBLOCK): Likewise.
44795         (__ASSUME_PIPE2): Likewise.
44796         (__ASSUME_EVENTFD2): Likewise.
44797         (__ASSUME_SIGNALFD4): Likewise.
44798         (__ASSUME_DUP3): Likewise.
44799         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44800         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44801         (__ASSUME_AT_RANDOM): Likewise.
44802         (__ASSUME_PREADV): Likewise.
44803         (__ASSUME_PWRITEV): Likewise.
44804         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44805         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44806         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44807         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44808         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44810         (__ASSUME_O_CLOEXEC): Define unconditionally.
44811         (__ASSUME_PSELECT): Do not undefine conditionally.
44812         (__ASSUME_PPOLL): Likewise.
44813         (__ASSUME_ATFCTS): Likewise.
44814         (__ASSUME_SET_ROBUST_LIST): Likewise.
44815         (__ASSUME_UTIMENSAT): Likewise.
44816         (__ASSUME_FDATASYNC): Define unconditionally.
44817         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44818         (__ASSUME_SIGFRAME_V2): Likewise.
44819         )__ASSUME_EVENTFD2): Likewise.
44820         (__ASSUME_SIGNALFD4): Likewise.
44821         (__ASSUME_PSELECT): Do not undefine conditionally.
44822         (__ASSUME_PPOLL): Likewise.
44823         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44824         (__ASSUME_PSELECT): Define unconditionally.
44825         (__ASSUME_PPOLL): Likewise.
44826         (__ASSUME_O_CLOEXEC): Likewise.
44827         (__ASSUME_SOCK_CLOEXEC): Likewise.
44828         (__ASSUME_IN_NONBLOCK): Likewise.
44829         (__ASSUME_PIPE2): Likewise.
44830         (__ASSUME_EVENTFD2): Likewise.
44831         (__ASSUME_SIGNALFD4): Likewise.
44832         (__ASSUME_DUP3): Likewise.
44833         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44834         (__ASSUME_O_CLOEXEC): Likewise.
44835         (__ASSUME_SOCK_CLOEXEC): Likewise.
44836         (__ASSUME_IN_NONBLOCK): Likewise.
44837         (__ASSUME_PIPE2): Likewise.
44838         (__ASSUME_EVENTFD2): Likewise.
44839         (__ASSUME_SIGNALFD4): Likewise.
44840         (__ASSUME_DUP3): Likewise.
44841         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44842         (__ASSUME_EVENTFD2): Likewise.
44843         (__ASSUME_SIGNALFD4): Likewise.
44844         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44846 2014-05-12  Andreas Schwab  <schwab@suse.de>
44848         [BZ #16932]
44849         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44850         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44851         than maximum RPC packet size.
44852         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44853         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44854         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44855         (_nss_nis_getservbyport_r): Likewise.
44857 2014-05-12  Will Newton  <will.newton@linaro.org>
44859         * malloc/Makefile (tests): Add tst-mallopt.
44860         * malloc/tst-mallopt.c: New file.
44862 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44864         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44865         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44867 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44869         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44870         (tst-tlsmod6.so): Likewise.
44872 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44874         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44876 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44878         [BZ #16064]
44879         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44880         and <dl-procinfo.h>.
44881         (__fegetenv): Save SSE state in envp->__eip if supported.
44882         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44883         envp->__eip if supported.
44884         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44885         and <dl-procinfo.h>.
44886         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44887         __data_offset and __data_selector in environment to 0.  Set SSE
44888         state if supported.
44889         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44890         test-fenv-sse.
44891         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44892         -mfpmath=sse.
44893         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44895 2014-05-09  Will Newton  <will.newton@linaro.org>
44897         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44898         and libc_relro_required for ARM.
44899         * sysdeps/arm/preconfigure: Regenerate.
44901 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44902             Stefan Liebler  <stli@linux.vnet.ibm.com>
44904         * config.make.in (enable-lock-elision): New Makefile variable.
44905         * configure.ac: Likewise.
44906         * configure: Regenerate.
44907         * sysdeps/s390/configure.ac:
44908         Add check for gcc transactions support.
44909         * sysdeps/s390/configure: Regenerate.
44910         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44911         Build elision files if enabled.
44912         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44913         Add lock elision support for s390.
44914         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44915         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44916         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44917         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44918         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44919         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44920         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44921         Likewise.
44922         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44923         Likewise.
44924         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44925         Likewise.
44926         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44927         Likewise.
44928         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44929         (__lll_timedlock_elision, __lll_lock_elision)
44930         (__lll_unlock_elision, __lll_trylock_elision)
44931         (lll_timedlock_elision, lll_lock_elision)
44932         (lll_unlock_elision, lll_trylock_elision): Add.
44933         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44934         (pthread_mutex_t): Add lock elision support for s390.
44936 2014-05-14  Wilco  <wdijkstr@arm.com>
44938         * sysdeps/arm/fclrexcpt.c: Cleanup.
44939         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44940         * sysdeps/arm/feenablxcpt.c: Cleanup.
44941         * sysdeps/arm/fegetenv.c: Cleanup.
44942         * sysdeps/arm/fegetexcept.c: Cleanup.
44943         * sysdeps/arm/fegetround.c: Cleanup.
44944         * sysdeps/arm/feholdexcpt.c: Cleanup.
44945         * sysdeps/arm/fesetenv.c: Cleanup.
44946         * sysdeps/arm/fesetround.c: Cleanup.
44947         * sysdeps/arm/feupdateenv.c: Cleanup.
44948         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44949         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44950         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44951         * sysdeps/arm/ftestexcept.c: Cleanup.
44952         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44953         * sysdeps/arm/setfpucw.c: Cleanup.
44955 2014-05-09  Will Newton  <will.newton@linaro.org>
44957         * sysdeps/arm/armv7/strcmp.S: New file.
44958         * NEWS: Mention addition of ARMv7 optimized strcmp.
44960 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44962         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44963         look for %.ac rather than %.in.
44965         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44966         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44967         * sysdeps/mach/hurd/configure: Regenerated.
44968         * sysdeps/unix/sysv/linux/configure: Regenerated.
44970         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44972 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44974         [BZ# 16922]
44975         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44976         (LONG_SUB): Ditto.
44977         (PTR_SUB): Ditto.
44979 2014-05-07  Andreas Schwab  <schwab@suse.de>
44981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44982         when skipping over non-matching result from nscd.
44984 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44986         [BZ #16876]
44987         * nptl/sockperf.c (client): Check socket return value.
44989         [BZ #16877]
44990         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44991         nscd security class.
44993 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44995         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44996         * sysdeps/arm/unwind.h: ... here.
44998 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45000         [BZ# 16916]
45001         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45002         Define.
45004 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45006         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45007         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45008         multiarch strncpy for PPC64.
45009         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45010         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45012         multiarch optimizations.
45013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45014         (__libc_ifunc_impl_list): Likewise.
45015         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45016         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45017         multiarch stpncpy for PPC64.
45018         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45019         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45021 2014-05-06  Andreas Schwab  <schwab@suse.de>
45023         [BZ #16912]
45024         * gmon/mcount.c (_MCOUNT_DECL): Use
45025         atomic_compare_and_exchange_bool_acq instead of
45026         catomic_compare_and_exchange_bool_acq.
45028 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45030         * elf/Makefile (others, install-bin): Remove pldd.
45031         (pldd-modules): Variable removed.
45032         ($(objpfx)pldd): Target removed.
45033         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45034         (others, install-bin): Append pldd here.
45035         ($(objpfx)pldd): New target.
45037         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45038         to 0, so the first #if test emitted later doesn't see it undefined.
45039         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45040         * sysdeps/gnu/errlist.c: Regenerated.
45042 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45044         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45045         [libc_hidden_builtin_def]: Define to empty value.
45046         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45047         [libc_hidden_builtin_def]: Likewise.
45048         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45049         [libc_hidden_builtin_def]: Likewise.
45050         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45051         [libc_hidden_builtin_def]: Likewise.
45052         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45053         __redirect_memcpy and define ifunc as default hidden symbol.
45054         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45055         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45057 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45059         * locale/iso-4217.def: Reintroduce XDR currency.
45061 2014-05-04  Allan McRae  <allan@archlinux.org>
45063         * po/eo.po: Update Esperanto translation from translation project.
45065 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45067         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45068         and FEATURE_INDEX_MAX to 1.
45069         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45071 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45073         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45074         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45075         * iconvdata/big5.c (ONE_DIRECTION): Define.
45076         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45077         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45078         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45079         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45080         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45081         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45082         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45083         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45084         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45085         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45086         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45087         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45088         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45089         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45090         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45091         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45092         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45093         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45094         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45095         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45096         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45097         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45098         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45099         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45100         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45101         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45102         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45103         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45104         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45105         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45106         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45107         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45108         * iconvdata/johab.c (ONE_DIRECTION): Define.
45109         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45110         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45111         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45112         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45113         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45114         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45115         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45116         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45117         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45118         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45120 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45122         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45123         (_IO_JUMPS_OFFSET): Define to 0.
45125         * nptl/sysdeps/pthread/bits/libc-lock.h
45126         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45127         (__libc_lock_define_initialized_recursive): Always define using
45128         initializer.  Modern compilers treat uninitialized (implicit zero) and
45129         explicit zero initializers the same (i.e. put the datum in bss).
45131 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45133         * nscd/nscd-client.h: Include <string.h>.
45135 2014-05-01  David S. Miller  <davem@davemloft.net>
45137         [BZ #16885]
45138         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45139         multiple zero bytes exist at the end of a string.
45140         Reported by Aurelien Jarno <aurelien@aurel32.net>
45142         * string/test-strcmp.c (check): Add explicit test for situations where
45143         there are multiple zero bytes after the first.
45145 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45147         [BZ #16890]
45148         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45149         when compiling wprintf.
45150         * stdio-common/tstdiomisc.c (t3): New function.
45151         (main): Call it.
45153 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45155         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45156         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45157         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45158         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45160 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45162         * stdlib/longlong.h: Updated from GCC.
45164 2014-05-01  Will Newton  <will.newton@linaro.org>
45165             Bernard Ogden  <bernie.ogden@linaro.org>
45167         * NEWS: Update fixed bug list.
45169         [BZ #15119]
45170         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45172 2014-04-30  David S. Miller  <davem@davemloft.net>
45174         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45175         (libc_feholdexcept_setround_sparc_ctx): New function.
45176         (libc_fesetenv_sparc_ctx): Likewise.
45177         (libc_feupdateenv_sparc_ctx): Likewise.
45178         (libc_feholdsetround_sparc_ctx): Likewise.
45179         (libc_feholdexcept_setround_ctx): Define.
45180         (libc_feholdexcept_setroundf_ctx): Likewise.
45181         (libc_feholdexcept_setroundl_ctx): Likewise.
45182         (libc_fesetenv_ctx): Likewise.
45183         (libc_fesetenvf_ctx): Likewise.
45184         (libc_fesetenvl_ctx): Likewise.
45185         (libc_feupdateenv_ctx): Likewise.
45186         (libc_feupdateenvf_ctx): Likewise.
45187         (libc_feupdateenvl_ctx): Likewise.
45188         (libc_feresetround_ctx): Likewise.
45189         (libc_feresetroundf_ctx): Likewise.
45190         (libc_feresetroundl_ctx): Likewise.
45191         (libc_feholdsetround_ctx): Likewise.
45192         (libc_feholdsetroundf_ctx): Likewise.
45193         (libc_feholdsetroundl_ctx): Likewise.
45195         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45196         with __USE_GNU instead of XOPEN cpp guards.
45198         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45199         0.
45201         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45202         with XOPEN cpp guards.
45204 2014-04-30  Julian Brown  <julian@codesourcery.com>
45206         [BZ #16888]
45207         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45208         handling.
45210 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45212         [BZ #9894]
45213         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45214         Change to 2.6.32.
45215         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45216         * sysdeps/unix/sysv/linux/configure: Regenerated.
45217         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45218         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45219         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45220         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45221         * README: Update reference to required Linux kernel version.
45222         * manual/install.texi (Linux): Update reference to required Linux
45223         kernel headers version.
45224         * INSTALL: Regenerated.
45226         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45227         header inclusion.
45228         [POSIX] (limits.h): Likewise.
45229         [POSIX] (math.h): Likewise.
45230         [POSIX] (sys/wait.h): Likewise.
45231         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45232         function.
45233         [POSIX] (stddef.h): Do not allow header inclusion.
45235 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45237         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45239 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45241         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45242         Return immediately after lll_futex_wake.
45244 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45246         [BZ #16791]
45247         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45248         structure.
45249         (datahead_init_pos): Call datahead_init_common early.
45250         (datahead_init_neg): Likewise.
45252         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45253         datahead_init_neg): New functions.
45254         * nscd/aicache.c (addhstaiX): Use them.
45255         * nscd/grpcache.c (cache_addgr): Likewise.
45256         * nscd/hstcache.c (cache_addhst): Likewise.
45257         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45258         * nscd/netgroupcache.c (do_notfound): Likewise.
45259         (addgetnetgrentX): Likewise.
45260         (addinnetgrX): Likewise.
45261         * nscd/pwdcache.c (cache_addpw): Likewise.
45262         * nscd/servicescache.c (cache_addserv): Likewise.
45264 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45265             Atsushi Onoe  <atsushi@onoe.org>
45267         [BZ #14308]
45268         [BZ #12994]
45269         [BZ #13651]
45270         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45271         one response is valid.
45272         * resolv/res_send.c (send_dg): Check for validity of other
45273         response if the current response is a referral.
45275 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45277         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45279 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45281         [BZ #16823]
45282         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45283         Always divide by positive zero when computing -Inf result.
45284         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45285         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45287 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45289         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45290         FPSCR if value do not change.
45291         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45292         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45293         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45294         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45295         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45296         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45297         function.
45299 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45301         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45302         * sysdeps/unix/sysv/linux/hppa: Move directory from
45303         ports/systeps/unix/sysv/linux/hppa.
45304         * README: Update listing for hppa-*-linux-gnu.
45306 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45308         [BZ #16754]
45309         * manual/stdio.texi (Hook functions): Fix types of stream hook
45310         functions.
45311         [BZ #16854]
45312         * socket/sys/socket.h: Fix typo in comment.
45314 2014-04-28  Wilco  <wdijkstr@arm.com>
45316         * sysdeps/arm/fenv_private.h: New file.
45317         * sysdeps/arm/math_private.h: New file.
45318         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45320 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45322         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45323         with __int128_t.
45324         (La_x86_64_retval): Likewise.
45326 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45328         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45329         fpsr if value didn't change.
45330         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45331         to fpcr if value didn't change.
45332         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45333         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45334         fpsr or fpcr if value didn't change.
45335         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45336         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45337         fpcr if value didn't change.
45338         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45339         to fpsr if value didn't change.
45341 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45343         * nptl/tst-sem3.c: Use test-skeleton.c
45344         (main): Rename to do_test.  Use return instead of
45345         exit.
45346         * nptl/tst-sem4.c: Use test-skeleton.c
45347         (main): Rename to do_test.
45349 2014-04-22  David S. Miller  <davem@davemloft.net>
45351         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45352         (struct sigaction): New struct member __glibc_reserved0, change
45353         type of sa_flags to int.
45355 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45357         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45358         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45360 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45362         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45363         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45365 2014-04-22  Will Newton  <will.newton@linaro.org>
45366             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45368         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45369         (__longjmp): Add longjmp and longjmp_target SystemTap
45370         probes.
45371         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45372         (__sigsetjmp): Add setjmp SystemTap probe.
45374 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45376         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45377         match manual order.
45379 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45381         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45383         * sysdeps/powerpc/fpu/fenv_private.h
45384         (libc_feholdexcept_setroundl_ctx): Define to
45385         libc_feholdexcept_setround_ppc_ctx.
45386         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45387         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45388         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45389         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45391 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45393         * sysdeps/aarch64/math-tests.h: New file.
45395 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45397         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45398         New.
45399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45400         Check and set bit_AVX2_Usable.
45401         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45402         macro.
45403         (bit_AVX2): Likewise.
45404         (index_AVX2_Usable): Likewise.
45405         (CPUID_AVX2): Likewise.
45406         (HAS_AVX2): Likewise.
45408 2014-04-17  Will Newton  <will.newton@linaro.org>
45410         * manual/setjmp.texi (System V contexts): Add note that
45411         calling setcontext on a context created by a call to a
45412         signal handler is undefined.  Update text to note that
45413         setcontext from a signal handler is possible but not
45414         recommended.
45416         [BZ #16629]
45417         * stdlib/tst-setcontext.c: Include signal.h.
45418         (main): Check that the signal stack before and
45419         after swapcontext is the same.
45421         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45422         Re-implement to restore registers in user code and avoid
45423         rt_sigreturn system call.
45425 2014-04-17  Wilco  <wdijkstr@arm.com>
45427         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45428         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45429         * math/test-fenv.c: Skip exception trap tests on targets which only
45430         support non-stop mode.
45432 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45433             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45435         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45436         (libc_feholdsetround_aarch64_ctx)
45437         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45438         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45439         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45440         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45441         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45442         (libc_feresetround_noexl_ctx): Define.
45444 2014-04-16  Richard Henderson  <rth@redhat.com>
45446         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45448         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45449         unwind tables.
45451         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45452         const from the non-libc, non-ldso copy.
45454         * sysdeps/alpha/libm-test-ulps: Regenerate.
45456 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45457             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45459         * sysdeps/aarch64/fpu/math_private.h: New file.
45461 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45463         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45465 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45467         [BZ #16275]
45468         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45469         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45471         Intel MPX bound registers before _dl_profile_fixup.
45472         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45473         registers after _dl_profile_fixup.  Save and restore bound
45474         registers bnd0/bnd1 when calling _dl_call_pltexit.
45475         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45476         (LR_BND_OFFSET): Likewise.
45477         (LRV_BND0_OFFSET): Likewise.
45478         (LRV_BND1_OFFSET): Likewise.
45480 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45482         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45483         to...
45484         * sysdeps/mach/hurd/i386/tls.h: ... here.
45485         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45486         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45487         fields.
45489 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45491         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
45493 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45495         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45497 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45499         [BZ #14770]
45500         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
45501         * sysdeps/s390/configure: Regenerate.
45503         [BZ #16824]
45504         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
45505         Set round-to-nearest internally to reduce error accumulation.
45507 2014-04-16  Alan Modra  <amodra@gmail.com>
45509         [BZ #16740]
45510         [BZ #16619]
45511         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
45512         * math/libm-test.inc (frexp_test_data): Add tests.
45513         * NEWS: Update fixed bug list.
45515 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45517         * benchtests/Makefile: Depend on libraries in build directory.
45518         (bench-math): Separate out math tests.
45519         (bench-pthread): Separate out pthread tests.
45520         (bench): Include math and pthread tests.
45522 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
45524         [BZ #16831]
45525         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
45526         _dl_debug_initialize.
45528         * configure.ac: Remove SELinux header check.
45529         * configure: Regenerate.
45530         * nscd/selinux.c (perms): Array of const char* to permission names.
45531         (nscd_request_avc_has_perm): Call security_deny_unknown to find
45532         default policy. Call string_to_security_class and string_to_av_perm to
45533         translate strings. Enforce default policy and call avs_has_perm with
45534         results of translated strings.
45536 2014-04-13  David S. Miller  <davem@davemloft.net>
45538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45540 2014-04-12  Allan McRae  <allan@archlinux.org>
45542         [BZ #16838]
45543         * manual/string.texi (Collation Functions): Fix qsort argument
45544         order in example.
45545         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45547 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
45549         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
45550         Make the test a no-op if there are no exceptions defined.
45552 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
45554         * elf/Makefile (tests): make tst-dlopen-aout conditional on
45555         enable-hardcoded-path-in-tests
45557 2014-04-11  Will Newton  <will.newton@linaro.org>
45559         * benchtests/Makefile (extra-objs): Add json-lib.o.
45560         (bench-func): Tidy up JSON output.
45561         * benchtests/bench-skeleton.c: Include json-lib.h.
45562         (main): Use JSON library functions to do output of
45563         benchmark results.
45564         * benchtests/bench-timing-type.c (main): Output the
45565         timing type simply, leaving formatting to the user.
45566         * benchtests/json-lib.c: New file.
45567         * benchtests/json-lib.h: Likewise.
45569 2014-04-11  Torvald Riegel  <triegel@redhat.com>
45571         [BZ #15215]
45572         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
45573         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
45574         memory barriers.  Add comments.
45575         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
45576         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
45577         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
45578         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
45579         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45580         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
45582 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45584         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
45585         * sysdeps/s390/s390-64/configure.ac: ... this ...
45586         * sysdeps/s390/configure.ac: ... to here.
45587         * sysdeps/s390/s390-32/configure: Delete file.
45588         * sysdeps/s390/s390-64/configure: Delete file.
45589         * sysdeps/s390/configure: Regenerate.
45591 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
45593         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
45595 2014-04-11  Will Newton  <will.newton@linaro.org>
45597         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
45598         to zero if it is not defined elsewhere.  (mtrim): Test
45599         the value of MALLOC_DEBUG with #if rather than #ifdef.
45601 2014-04-10 Torvald Riegel  <triegel@redhat.com>
45603         * benchtests/pthread_once-inputs: New file.
45604         * benchtests/pthread_once-source.c: New file.
45605         * benchtests/README: Update documentation.
45607 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
45608             H.J. Lu  <hongjiu.lu@intel.com>
45610         [BZ #16275]
45611         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
45612         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
45613         * sysdeps/x86_64/configure: Regenerated.
45614         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
45615         macro.
45616         (REGISTER_SAVE_RAX): Likewise.
45617         (REGISTER_SAVE_RCX): Likewise.
45618         (REGISTER_SAVE_RDX): Likewise.
45619         (REGISTER_SAVE_RSI): Likewise.
45620         (REGISTER_SAVE_RDI): Likewise.
45621         (REGISTER_SAVE_R8): Likewise.
45622         (REGISTER_SAVE_R9): Likewise.
45623         (REGISTER_SAVE_BND0): Likewise.
45624         (REGISTER_SAVE_BND1): Likewise.
45625         (REGISTER_SAVE_BND2): Likewise.
45626         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
45627         bound registers when calling _dl_fixup.
45629 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45631         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
45632         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
45633         of its definition.
45634         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
45635         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
45636         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
45637         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
45638         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
45639         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45640         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
45642 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
45644         [BZ #15514]
45645         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
45646         pathconf(_PC_NAME_MAX).
45648 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45650         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
45651         Remove macro usage.
45652         (__PTHREAD_SPINS): Move definition to ...
45653         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45654         (__PTHREAD_SPINS): ... here.
45655         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45656         (__PTHREAD_SPIN): Likewise.
45657         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45658         (__PTHREAD_SPIN): Likewise.
45659         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45660         (__PTHREAD_SPIN): Likewise.
45661         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45662         (__PTHREAD_SPIN): Likewise.
45663         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45664         (__PTHREAD_SPIN): Likewise.
45665         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45666         (__PTHREAD_SPIN): Likewise.
45667         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45668         (__PTHREAD_SPIN): Likewise.
45669         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45670         (__PTHREAD_SPIN): Likewise.
45671         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45672         (__PTHREAD_SPIN): Likewise.
45673         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45674         (__PTHREAD_SPIN): Likewise.
45675         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45676         (__PTHREAD_SPIN): Likewise.
45677         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45678         (__PTHREAD_SPIN): Likewise.
45680         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45681         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45682         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45683         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45684         imply folder.
45685         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45686         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45687         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45688         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45689         correct imply path.
45690         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45691         strlen symbol for non multi-arch builds.
45692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45693         missing hidden_def and weak_alias.
45695 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45697         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45699 2014-04-07  Will Newton  <will.newton@linaro.org>
45701         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45702         and contents.  [!_LIBC] Remove #ifndef and contents.
45703         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45704         * string/memccpy.c (__memccpy): Use ANSI prototype.
45705         * string/memfrob.c (memfrob): Likewise.
45706         * string/strcoll.c (STRCOLL): Likewise.
45707         * string/strlen.c (strlen): Likewise.
45708         * string/strtok.c (STRTOK): Likewise.
45709         * string/strcat.c: Remove unused #include of memcopy.h.
45710         (strcat): Use ANSI prototype.
45711         * string/strchr.c: Remove unused #include of memcopy.h.
45712         (strchr): Use ANSI prototype.
45713         * string/strcmp.c: Remove unused #include of memcopy.h.
45714         (strcmp): Use ANSI prototype.
45715         * string/strcpy.c: Remove unused #include of memcopy.h.
45716         (strcpy): Use ANSI prototype.
45718 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45720         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45721         * config.make.in (config-extra-cppflags): Set it from
45722         libc_extra_cppflags.
45723         * configure.ac (libc_extra_cflags): Make it accumulate over
45724         configure fragments.
45725         (libc_extra_cppflags): New flag.
45726         * configure. Regenerate.
45727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45728         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45729         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45732         [BZ #16815]
45733         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45734         result for FE_DOWNWARD rounding mode.
45735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45736         Likewise.
45737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45739 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45741         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45742         in function argument name.
45744 2014-04-03  David Svoboda  <svoboda@cert.org>
45746         [BZ #5666]
45747         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45748         explicitly.
45750 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45752         * elf/dl-unmap-segments.h: New file.
45753         * sysdeps/generic/ldsodefs.h
45754         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45755         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45756         * elf/dl-fptr.c: Likewise.
45757         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45758         * sysdeps/aarch64/tlsdesc.c: Likewise.
45759         * sysdeps/arm/tlsdesc.c: Likewise.
45760         * sysdeps/i386/tlsdesc.c: Likewise.
45761         * sysdeps/tile/dl-runtime.c: Likewise.
45762         * sysdeps/x86_64/tlsdesc.c: Likewise.
45763         * elf/dl-load.h: New file.
45764         * elf/dl-load.c: Include it.
45765         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45766         Macros moved to dl-load.h.
45767         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45768         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45769         Use _dl_unmap_segments in place of __munmap.
45770         Break out segment-mapping loop into ...
45771         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45773 2014-04-03  Will Newton  <will.newton@linaro.org>
45775         * elf/dl-lookup.c (do_lookup_x): Remove comment
45776         referring to nested function and move variable
45777         declarations down to before first use.
45779 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45781         [BZ #16799]
45782         [BZ #16800]
45783         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45784         with 0 numerator.
45785         * math/s_catanf.c (__catanf): Likewise.
45786         * math/s_catanh.c (__catanh): Likewise.
45787         * math/s_catanhf.c (__catanhf): Likewise.
45788         * math/s_catanhl.c (__catanhl): Likewise.
45789         * math/s_catanl.c (__catanl): Likewise.
45790         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45791         by positive zero when computing -Inf result.
45792         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45793         (catanh_test): Likewise.
45794         * sysdeps/i386/fpu/libm-test-ulps: Update.
45795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45797         [BZ #16789]
45798         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45799         instead of using underflowing value in computing result.
45800         * math/s_clog10.c (__clog10): Likewise.
45801         * math/s_clog10f.c (__clog10f): Likewise.
45802         * math/s_clog10l.c (__clog10l): Likewise.
45803         * math/s_clogf.c (__clogf): Likewise.
45804         * math/s_clogl.c (__clogl): Likewise.
45805         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45806         (clog10_test): Likewise.
45807         * sysdeps/i386/fpu/libm-test-ulps: Update.
45808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45810 2014-04-02  Alan Modra  <amodra@gmail.com>
45812         [BZ #16739]
45813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45814         output when value is near a power of two.  Use int64_t for lx and
45815         remove casts.  Use decimal rather than hex exponent constants.
45816         Don't use long double multiplication when double will suffice.
45817         * math/libm-test.inc (nextafter_test_data): Add tests.
45818         * NEWS: Add 16739 and 16786 to bug list.
45820         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45822         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45824 2014-04-01  Will Newton  <will.newton@linaro.org>
45826         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45827         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45829 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45831         [BZ #13347]
45832         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45833         * nptl/tst-setuid2.c: New file.
45834         * nptl/Makefile (xtests): Add tst-setuid2.
45836 2014-04-01  Alan Modra  <amodra@gmail.com>
45838         [BZ #16786]
45839         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45841 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45843         [BZ #6803]
45844         [BZ #6804]
45845         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45846         set errno as appropriate.
45847         * math/w_scalbf.c (__scalbf): Likewise.
45848         * math/w_scalbl.c (__scalbl): Likewise.
45849         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45850         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45851         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45852         Add more NaN tests.
45854         [BZ #16349]
45855         * math/w_atan2.c: Include <errno.h>.
45856         (__atan2): Set errno for result underflowing to zero.
45857         * math/w_atan2f.c: Include <errno.h>.
45858         (__atan2f): Set errno for result underflowing to zero.
45859         * math/w_atan2l.c: Include <errno.h>.
45860         (__atan2l): Set errno for result underflowing to zero.
45861         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45862         tests.
45863         * math/auto-libm-test-out: Regenerated.
45865 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45867         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45868         Encode instruction correctly in little endian.
45869         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45870         Likewise.
45871         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45872         Likewise.
45873         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45874         Likewise.
45875         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45876         Likewise.
45878 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45880         [BZ #9894]
45881         * sysdeps/unix/sysv/linux/kernel-features.h
45882         [__sparc__ && !__arch64__ && !__sparc_v9__]
45883         (__ASSUME_SET_ROBUST_LIST): Do not define.
45884         [__sparc__ && !__arch64__ && !__sparc_v9__]
45885         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45886         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45887         Likewise.
45888         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45889         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45890         (__ASSUME_REQUEUE_PI): Likewise.
45891         (__ASSUME_SET_ROBUST_LIST): Likewise.
45892         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45893         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45894         Undefine.
45895         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45896         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45897         Likewise.
45898         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45899         Likewise.
45900         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45901         Likewise.
45902         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45903         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45904         Undefine.
45905         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45906         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45907         Likewise.
45909         [BZ #16648]
45910         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45911         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45912         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45914 2014-03-31  Will Newton  <will.newton@linaro.org>
45916         * benchtests/Makefile (bench): Add ffs and ffsll to list
45917         of tests.
45918         * benchtests/ffs-inputs: New file.
45919         * benchtests/ffsll-inputs: Likewise.
45921 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45923         [BZ #16770]
45924         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45925         too large before casting to int.
45926         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45927         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45928         * math/libm-test.inc (scalb_test_data): Add more tests.
45930 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45932         * benchtests/Makefile (DETAILED_OPT): New make option.
45933         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45934         set.
45935         * benchtests/bench-skeleton.c: Include stdbool.h.
45936         (main): Store and print timings per input.
45937         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45938         member to each argument value.
45939         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45940         (_print_arg_data): Initialize per-input timing to 0.
45942         * benchtests/Makefile (timing-type): New binary.
45943         (bench-clean): Also remove bench-timing-type.
45944         (bench): New target for timing-type.
45945         (bench-func): Print output in JSON format.
45946         * benchtests/bench-skeleton.c (main): Print output in JSON
45947         format.
45948         * benchtests/bench-timing-type.c: New file.
45949         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45950         (TIMING_PRINT_STATS): Remove.
45951         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45952         name separately.
45954         * benchtests/bench-modf.c: Remove.
45955         * benchtests/modf-inputs: New inputs file.
45957 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45959         [BZ #16362]
45960         * math/s_clog10.c (M_PI_LOG10E): New macro.
45961         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45962         imaginary parts are 0.
45963         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45964         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45965         imaginary parts are 0.
45966         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45967         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45968         imaginary parts are 0.
45969         * math/libm-test.inc (clog10_test_data): Update expected results
45970         for when real and imaginary parts are 0.
45972 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45974         * elf/dl-load.c: Finish conversion of __builtin_expect into
45975         __glibc_{un}likely.
45977 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45979         [BZ #16348]
45980         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45981         1+x for argument with exponent below -67.
45982         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45983         Likewise.
45984         * math/auto-libm-test-in: Add more tests of exp.
45985         * math/auto-libm-test-out: Regenerated.
45987 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45989         [BZ #16759]
45990         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45991         (nscd_getnetgrent): Use it.
45993         [BZ #16760]
45994         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45995         of stpcpy.
45997 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45999         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46000         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46001         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46002         (lll_robust_unlock): Remove out of line section. Use cfi
46003         intrinsics.
46004         (LLL_STUB_UNWIND_INFO*): Remove.
46005         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46006         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46007         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46008         (lll_robust_unlock): Remove out of line section. Use cfi
46009         intrinsics.
46010         (LLL_STUB_UNWIND_INFO*): Remove.
46012 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46014         [BZ #16758]
46015         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46016         blank values.
46018 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46020         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46022 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46024         [BZ #16198]
46025         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46026         fnstenv.
46027         * math/test-fenv-preserve.c: New file.
46028         * math/Makefile (tests): Add test-fenv-preserve.
46030 2014-03-26  Will Newton <will.newton@linaro.org>
46032         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46034 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46036         * scripts/versionlist.awk: Partition the version sets and emit all
46037         GLIBC_* (sorted) before all others (sorted).
46039 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46041         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46042         GLIBC_2.2.5 version.
46044 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46046         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46047         calls.
46049         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46050         previous change.
46052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46054 2014-03-25  Andreas Schwab  <schwab@suse.de>
46056         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46057         label to be used after in6ailist is initialized.
46059 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46061         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46062         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46064 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46066         [BZ #16357]
46067         [BZ #16599]
46068         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46069         min_plus_half.
46070         (fp_formats): Update initializers.
46071         (init_fp_formats): Initialize new field.
46072         (output_for_one_input_case): Allow underflow for results up to
46073         min_plus_half.
46074         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46075         * math/auto-libm-test-in: Don't mark some underflows from asin and
46076         atanh as spurious.
46077         * math/auto-libm-test-out: Regenerated.
46078         * sysdeps/i386/fpu/libm-test-ulps: Update.
46079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46081 2014-03-25  Andreas Schwab  <schwab@suse.de>
46083         * libio/Makefile (tst-ftell-partial-wide-ENV)
46084         (tst-ftell-active-handler-ENV): Define.
46086 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46088         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46090 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46092         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46094 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46096         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46097         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46098         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46100 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46102         [BZ #16634]
46103         * elf/dl-load.c (open_verify): Add mode parameter.
46104         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46105         (open_path): Change from boolean 'secure' to complete flag 'mode'
46106         (_dl_map_object): Adjust.
46107         * elf/Makefile (tests): Add tst-dlopen-aout.
46108         * elf/tst-dlopen-aout.c: New test.
46110 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46112         [BZ #16714]
46113         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46114         (struct stat): Rename member pad0 to __glibc_reserved0.
46116         [BZ #16712]
46117         * sysdeps/s390/s390-32/bits/wordsize.h
46118         (__WORDSIZE32_SIZE_ULONG): New define.
46119         * sysdeps/s390/s390-64/bits/wordsize.h
46120         (__WORDSIZE32_SIZE_ULONG): Likewise.
46121         * sysdeps/generic/stdint.h (SIZE_MAX):
46122         Define as UL if __WORDSIZE32_SIZE_ULONG.
46124         [BZ #16713]
46125         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46126         (__glibc_reserved0): New variable.
46127         (sa_flags): Change type to int.
46129         * posix/Makefile (before-compile): Use += before-compile instead
46130         of a :=.
46132         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46133         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46135 2014-03-20  Andreas Schwab  <schwab@suse.de>
46137         [BZ #16743]
46138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46139         non-matching result from nscd.
46141 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46143         * scripts/bench.py: Moved to ...
46144         * benchtests/scripts/bench.py: ... here.
46145         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46147 2014-03-24  Andreas Schwab  <schwab@suse.de>
46149         [BZ #16002]
46150         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46151         alloca_account and account alloca use for struct in6ailist.
46153 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46155         [BZ #16284]
46156         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46157         rounding mode to recompute results that overflow to infinity or
46158         underflow to zero.
46159         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46160         bug 16284.
46161         * math/auto-libm-test-out: Regenerated.
46162         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46163         (ccosh_test): Likewise.
46164         (csin_test_data): Use plus_oflow.
46165         (csin_test): Use ALL_RM_TEST.
46166         (csinh_test_data): Use plus_oflow.
46167         (csinh_test): Use ALL_RM_TEST.
46168         * sysdeps/i386/fpu/libm-test-ulps: Update.
46169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46171 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46173         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46174         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46175         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46177         [BZ #16731]
46178         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46179         when x - 1 is zero.
46180         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46181         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46182         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46183         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46184         argument is 1.
46185         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46186         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46187         zero.
46188         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46189         * sysdeps/i386/fpu/libm-test-ulps: Update.
46190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46192 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46194         * scripts/bench.pl: Remove file.
46195         * scripts/bench.py: New benchmark script.
46196         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46197         * benchtests/README: Mention python dependency.
46198         * scripts/pylintrc: New file.
46199         * scripts/pylint: New file.
46201         * bits/mathdef.h: Use #ifdef instead of #if.
46202         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46203         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46204         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46205         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46206         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46207         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46209 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46210             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46212         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46214         and strpbrk-ppc64 objects.
46215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46216         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46217         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46218         multiarch strpbrk for POWER7.
46219         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46220         multiarch strpbrk for PPC64.
46221         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46222         ifunc selector.
46223         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46224         strpbrk for POWER7.
46226 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46228         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46229         (atan_test): Likewise.
46230         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46231         (atanh_test): Use ALL_RM_TEST.
46232         (atan2_test_data): Likewise.
46233         (cabs_test): Likewise.
46234         (cacosh_test): Likewise.
46235         (carg_test): Likewise.
46236         (casin_test): Likewise.
46237         (casinh_test): Likewise.
46238         (cbrt_test): Likewise.
46239         (csqrt_test): Likewise.
46240         (erf_test): Likewise.
46241         (erfc_test): Likewise.
46242         (pow10_test): Likewise.
46243         (exp2_test): Likewise.
46244         (hypot_test): Likewise.
46245         (j0_test): Likewise.
46246         (j1_test): Likewise.
46247         (lgamma_test): Likewise.
46248         (gamma_test): Likewise.
46249         (sincos_test): Likewise.
46250         (tanh_test): Likewise.
46251         (y0_test): Likewise.
46252         (y1_test): Likewise.
46253         * sysdeps/i386/fpu/libm-test-ulps: Update.
46254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46256 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46258         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46260         and strcspn-ppc64 objects.
46261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46262         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46263         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46264         multiarch strcspn for POWER7.
46265         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46266         multiarch strcspn for PPC64.
46267         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46268         ifunc selector.
46269         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46270         strcspn for POWER7.
46272 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46274         * math/gen-libm-test.pl (generate_testfile): Expect only function
46275         name as argument to AUTO_TESTS_* and pass results for all rounding
46276         modes to parse_args.
46277         (parse_auto_input): Separate inputs of automatic tests from
46278         outputs before storing in %auto_tests.
46279         * math/libm-test.inc (acos_test_data): Update call to
46280         AUTO_TESTS_f_f.
46281         (acos_test): Use ALL_RM_TEST.
46282         (acos_tonearest_test_data): Remove.
46283         (acos_test_tonearest): Likewise.
46284         (acos_towardzero_test_data): Likewise.
46285         (acos_test_towardzero): Likewise.
46286         (acos_downward_test_data): Likewise.
46287         (acos_test_downward): Likewise.
46288         (acos_upward_test_data): Likewise.
46289         (acos_test_upward): Likewise.
46290         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46291         (asin_test_data): Likewise.
46292         (asin_test): Use ALL_RM_TEST.
46293         (asin_tonearest_test_data): Remove.
46294         (asin_test_tonearest): Likewise.
46295         (asin_towardzero_test_data): Likewise.
46296         (asin_test_towardzero): Likewise.
46297         (asin_downward_test_data): Likewise.
46298         (asin_test_downward): Likewise.
46299         (asin_upward_test_data): Likewise.
46300         (asin_test_upward): Likewise.
46301         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46302         (atan_test_data): Likewise.
46303         (atanh_test_data): Likewise.
46304         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46305         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46306         (carg_test_data): Likewise.
46307         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46308         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46309         (ccosh_test_data): Likewise.
46310         (cexp_test_data): Likewise.
46311         (clog_test_data): Likewise.
46312         (clog10_test_data): Likewise.
46313         (cos_test_data): Update call to AUTO_TESTS_f_f.
46314         (cos_test): Use ALL_RM_TEST.
46315         (cos_tonearest_test_data): Remove.
46316         (cos_test_tonearest): Likewise.
46317         (cos_towardzero_test_data): Likewise.
46318         (cos_test_towardzero): Likewise.
46319         (cos_downward_test_data): Likewise.
46320         (cos_test_downward): Likewise.
46321         (cos_upward_test_data): Likewise.
46322         (cos_test_upward): Likewise.
46323         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46324         (cosh_test): Use ALL_RM_TEST.
46325         (cosh_tonearest_test_data): Remove.
46326         (cosh_test_tonearest): Likewise.
46327         (cosh_towardzero_test_data): Likewise.
46328         (cosh_test_towardzero): Likewise.
46329         (cosh_downward_test_data): Likewise.
46330         (cosh_test_downward): Likewise.
46331         (cosh_upward_test_data): Likewise.
46332         (cosh_test_upward): Likewise.
46333         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46334         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46335         (ctan_test_data): Likewise.
46336         (ctan_test): Use ALL_RM_TEST.
46337         (ctan_tonearest_test_data): Remove.
46338         (ctan_test_tonearest): Likewise.
46339         (ctan_towardzero_test_data): Likewise.
46340         (ctan_test_towardzero): Likewise.
46341         (ctan_downward_test_data): Likewise.
46342         (ctan_test_downward): Likewise.
46343         (ctan_upward_test_data): Likewise.
46344         (ctan_test_upward): Likewise.
46345         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46346         (ctanh_test): Use ALL_RM_TEST.
46347         (ctanh_tonearest_test_data): Remove.
46348         (ctanh_test_tonearest): Likewise.
46349         (ctanh_towardzero_test_data): Likewise.
46350         (ctanh_test_towardzero): Likewise.
46351         (ctanh_downward_test_data): Likewise.
46352         (ctanh_test_downward): Likewise.
46353         (ctanh_upward_test_data): Likewise.
46354         (ctanh_test_upward): Likewise.
46355         (erf_test_data): Update call to AUTO_TESTS_f_f.
46356         (erfc_test_data): Likewise.
46357         (exp_test_data): Likewise.
46358         (exp_test): Use ALL_RM_TEST.
46359         (exp_tonearest_test_data): Remove.
46360         (exp_test_tonearest): Likewise.
46361         (exp_towardzero_test_data): Likewise.
46362         (exp_test_towardzero): Likewise.
46363         (exp_downward_test_data): Likewise.
46364         (exp_test_downward): Likewise.
46365         (exp_upward_test_data): Likewise.
46366         (exp_test_upward): Likewise.
46367         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46368         (exp10_test): Use ALL_RM_TEST.
46369         (exp10_tonearest_test_data): Remove.
46370         (exp10_test_tonearest): Likewise.
46371         (exp10_towardzero_test_data): Likewise.
46372         (exp10_test_towardzero): Likewise.
46373         (exp10_downward_test_data): Likewise.
46374         (exp10_test_downward): Likewise.
46375         (exp10_upward_test_data): Likewise.
46376         (exp10_test_upward): Likewise.
46377         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46378         (expm1_test_data): Likewise.
46379         (expm1_test): Use ALL_RM_TEST.
46380         (expm1_tonearest_test_data): Remove.
46381         (expm1_test_tonearest): Likewise.
46382         (expm1_towardzero_test_data): Likewise.
46383         (expm1_test_towardzero): Likewise.
46384         (expm1_downward_test_data): Likewise.
46385         (expm1_test_downward): Likewise.
46386         (expm1_upward_test_data): Likewise.
46387         (expm1_test_upward): Likewise.
46388         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46389         (fma_test): Use ALL_RM_TEST.
46390         (fma_towardzero_test_data): Remove.
46391         (fma_test_towardzero): Likewise.
46392         (fma_downward_test_data): Likewise.
46393         (fma_test_downward): Likewise.
46394         (fma_upward_test_data): Likewise.
46395         (fma_test_upward): Likewise.
46396         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46397         (j0_test_data): Update call to AUTO_TESTS_f_f.
46398         (j1_test_data): Likewise.
46399         (jn_test_data): Update call to AUTO_TESTS_if_f.
46400         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46401         (log_test_data): Update call to AUTO_TESTS_f_f.
46402         (log10_test_data): Likewise.
46403         (log1p_test_data): Likewise.
46404         (log2_test_data): Likewise.
46405         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46406         (pow_tonearest_test_data): Likewise.
46407         (sin_test_data): Update call to AUTO_TESTS_f_f.
46408         (sin_test): Use ALL_RM_TEST.
46409         (sin_tonearest_test_data): Remove.
46410         (sin_test_tonearest): Likewise.
46411         (sin_towardzero_test_data): Likewise.
46412         (sin_test_towardzero): Likewise.
46413         (sin_downward_test_data): Likewise.
46414         (sin_test_downward): Likewise.
46415         (sin_upward_test_data): Likewise.
46416         (sin_test_upward): Likewise.
46417         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46418         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46419         (sinh_test): Use ALL_RM_TEST.
46420         (sinh_tonearest_test_data): Remove.
46421         (sinh_test_tonearest): Likewise.
46422         (sinh_towardzero_test_data): Likewise.
46423         (sinh_test_towardzero): Likewise.
46424         (sinh_downward_test_data): Likewise.
46425         (sinh_test_downward): Likewise.
46426         (sinh_upward_test_data): Likewise.
46427         (sinh_test_upward): Likewise.
46428         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46429         (sqrt_test): Use ALL_RM_TEST.
46430         (sqrt_tonearest_test_data): Remove.
46431         (sqrt_test_tonearest): Likewise.
46432         (sqrt_towardzero_test_data): Likewise.
46433         (sqrt_test_towardzero): Likewise.
46434         (sqrt_downward_test_data): Likewise.
46435         (sqrt_test_downward): Likewise.
46436         (sqrt_upward_test_data): Likewise.
46437         (sqrt_test_upward): Likewise.
46438         (tan_test_data): Update call to AUTO_TESTS_f_f.
46439         (tan_test): Use ALL_RM_TEST.
46440         (tan_tonearest_test_data): Remove.
46441         (tan_test_tonearest): Likewise.
46442         (tan_towardzero_test_data): Likewise.
46443         (tan_test_towardzero): Likewise.
46444         (tan_downward_test_data): Likewise.
46445         (tan_test_downward): Likewise.
46446         (tan_upward_test_data): Likewise.
46447         (tan_test_upward): Likewise.
46448         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46449         (tgamma_test_data): Likewise.
46450         (y0_test_data): Likewise.
46451         (y1_test_data): Likewise.
46452         (yn_test_data): Update call to AUTO_TESTS_if_f.
46453         (main): Do not call removed functions.
46455 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46457         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46458         (ldexp_test_data): Remove.
46459         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46460         scalbn_test_data.
46461         (scalb_test): Use ALL_RM_TEST.
46463 2014-03-19  Andreas Schwab  <schwab@suse.de>
46465         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46467 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46469         [BZ #16649]
46470         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46471         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46472         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46474         (__ASSUME_PREADV): Undefine.
46475         (__ASSUME_PWRITEV): Likewise.
46477 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46479         * bits/mman-linux.h: Add comment about non-Linux use.
46480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46481         bits/mman-linux.h resting place.
46483         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46484         * bits/mman-linux.h: ... here.
46486 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46488         * conform/conformtest.pl: Add standard definition when calling C
46489         preprocessor on data files.
46490         (checknamespace): Remove unused variable.
46492 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46494         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
46495         minus_oflow, plus_uflow and minus_uflow in expected results.
46496         * math/libm-test.inc (scalbn_test_data): Add more tests of
46497         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
46498         minus_uflow.
46499         (scalbn_test): Use ALL_RM_TEST.
46500         (scalbln_test_data): Add more tests of negative arguments.  Use
46501         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
46502         (scalbln_test): Use ALL_RM_TEST.
46504 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46506         * scripts/abilist.awk: Ignore symbols marked with .hidden.
46508 2014-03-18  Will Newton  <will.newton@linaro.org>
46510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
46511         inaccurate comment.
46513 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46515         * Makerules [!subdir] (check-abi): Exit with error status if a
46516         test failed.
46518 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46520         * math/libm-test.inc (nearbyint_test_data): Include all tests used
46521         for rint.  Include results for all rounding modes.
46522         (nearbyint_test): Use ALL_RM_TEST.
46523         (rint_test_data): Include all tests used for nearbyint.
46525 2014-03-17  Will Newton  <will.newton@linaro.org>
46527         * nptl/sysdeps/pthread/pthread.h: Revert previous
46528         change.
46530         * sysdeps/generic/ldsodefs.h: Revert previous
46531         change.
46533         * libio/genops.c: Revert previous change.
46534         * libio/libioP.h: Likewise.
46535         * stdio-common/vfprintf.c: Likewise.
46537         * sysdeps/generic/math_private.h: Revert previous
46538         change.
46540         * sysdeps/generic/math_private.h: Check whether
46541         HAVE_RM_CTX is defined with #ifdef rather
46542         than #if.
46544         * argp/argp-fmtstream.h: Check whether
46545         __STRICT_ANSI__ is defined with #ifdef rather
46546         than #if.
46547         * argp/argp.h: Likewise.
46549         * libio/genops.c: Check whether
46550         _IO_JUMPS_OFFSET is defined with #ifdef rather
46551         than #if.
46552         * libio/libioP.h: Likewise.
46553         * stdio-common/vfprintf.c: Likewise.
46555         * sysdeps/generic/ldsodefs.h: Check whether
46556         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
46557         than #if.
46559         * nptl/sysdeps/pthread/pthread.h: Check
46560         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
46561         its value.
46563 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46565         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
46566         setting O_APPEND.
46567         * libio/tst-ftell-active-handler.c (do_append_test): Add a
46568         test case.
46570         [BZ #16680]
46571         * libio/fileops.c (_IO_file_open): Seek to end of file but
46572         don't cache the offset.
46573         (get_file_offset): Remove function.
46574         (do_ftell): Use cached offset when available.
46575         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
46576         don't cache the offset.
46577         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
46578         case.
46579         (do_one_test): Call it.
46580         (do_ftell_test): Fix up expected old offset for a+ mode.
46581         * libio/wfileops.c (do_ftell_wide): Used cached offset when
46582         available.
46584         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
46585         up test status with function return status.
46586         (do_write_test): Likewise.
46587         (do_append_test): Likewise.
46589         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
46590         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
46591         Remove.
46593 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46595         * math/gen-libm-test.pl (parse_args): Handle results specified for
46596         each rounding mode separately.
46597         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
46598         tests and results from lrint_tonearest_test_data,
46599         lrint_towardzero_test_data, lrint_downward_test_data and
46600         lrint_upward_test_data.
46601         (lrint_test): Use ALL_RM_TEST.
46602         (lrint_tonearest_test_data): Remove.
46603         (lrint_test_tonearest): Likewise.
46604         (lrint_towardzero_test_data): Likewise.
46605         (lrint_test_towardzero): Likewise.
46606         (lrint_downward_test_data): Likewise.
46607         (lrint_test_downward): Likewise.
46608         (lrint_upward_test_data): Likewise.
46609         (lrint_test_upward): Likewise.
46610         (llrint_test_data): Merge in per-rounding-mode tests and results
46611         from llrint_tonearest_test_data, llrint_towardzero_test_data,
46612         llrint_downward_test_data and llrint_upward_test_data.
46613         (llrint_test): Use ALL_RM_TEST.
46614         (llrint_tonearest_test_data): Remove.
46615         (llrint_test_tonearest): Likewise.
46616         (llrint_towardzero_test_data): Likewise.
46617         (llrint_test_towardzero): Likewise.
46618         (llrint_downward_test_data): Likewise.
46619         (llrint_test_downward): Likewise.
46620         (llrint_upward_test_data): Likewise.
46621         (llrint_test_upward): Likewise.
46622         (rint_test_data): Merge in per-rounding-mode tests and results
46623         from rint_tonearest_test_data, rint_towardzero_test_data,
46624         rint_downward_test_data and rint_upward_test_data.  Add
46625         per-rounding-mode results for tests not in those arrays.
46626         (rint_test): Use ALL_RM_TEST.
46627         (rint_tonearest_test_data): Remove.
46628         (rint_test_tonearest): Likewise.
46629         (rint_towardzero_test_data): Likewise.
46630         (rint_test_towardzero): Likewise.
46631         (rint_downward_test_data): Likewise.
46632         (rint_test_downward): Likewise.
46633         (rint_upward_test_data): Likewise.
46634         (rint_test_upward): Likewise.
46635         (main): Don't call removed functions.
46637 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46639         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
46640         "Compiled on ..." crapola.  It is anti-useful.
46642 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
46644         * scripts/evaluate-test.sh: Handle fourth argument to determine
46645         whether test run should stop on failure.
46646         * Makeconfig (stop-on-test-failure): New variable.
46647         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
46648         $(stop-on-test-failure).
46649         * Makefile (tests): Give a summary of results from testing and
46650         exit with failure status if they include an ERROR or FAIL.
46651         (xtests): Likewise.
46652         * manual/install.texi (Configuring and compiling): Mention
46653         stop-on-test-failure=y.
46654         * INSTALL: Regenerated.
46656 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46658         * scripts/versionlist.awk: New file.
46659         * Makerules [$(build-shared) = yes]
46660         (postclean-generated): Add Versions.def, not Versions.def.v and
46661         Versions.def.v.i.
46662         ($(common-objpfx)Versions.def.v.i): Target removed.
46663         ($(common-objpfx)Versions.def): New target.
46664         ($(common-objpfx)Versions.all): Depend on that rather that
46665         $(common-objpfx)Versions.def.v.
46666         * Versions.def: File removed.
46668         * Makeconfig (+gccwarn): Add -Wundef.
46669         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46670         a dl-sysdep.h breaking its contract.
46671         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46672         * include/stackinfo.h: New file.
46673         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46674         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46675         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46676         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46677         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46678         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46679         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46680         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46681         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46682         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46683         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46684         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46685         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46686         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46687         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46689 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46691         [BZ #16707]
46692         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46693         implementation.
46694         * math/libm-test.inc (round_test_data): Add more tests.
46696         [BZ #16706]
46697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46698         implementation.
46699         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46701         [BZ #16701]
46702         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46703         implementation.
46704         * math/libm-test.inc (ceil_test_data): Add more tests.
46706         * math/libm-test.inc (trunc_test_data): Add more tests related to
46707         BZ#16414.
46709 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46711         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46712         with #if rather than #ifdef.
46713         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46715 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46717         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46718         first.  Disable AVX-512 GCC support if assembler doesn't support
46719         it.
46720         * sysdeps/x86_64/configure: Regenerated.
46722 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46724         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46725         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46726         (__old_pthread_attr_setstack): Likewise.
46727         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46728         [!_STACK_GROWS_DOWN]: Likewise.
46730 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46732         * config.make.in (have-bash2): Delete.
46733         * configure.ac (libc_cv_have_bash2): Delete.
46734         * configure: Regenerate.
46735         * elf/Makefile (common-ldd-rewrite): Rename to ...
46736         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46737         (sh-ldd-rewrite): Delete.
46738         (bash-ldd-rewrite): Delete.
46739         (have-bash2): Delete checks.
46740         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46741         ldd-rewrite.
46743         * config.make.in (have-ksh): Delete.
46744         (KSH): Delete.
46745         * configure.ac (libc_cv_have_ksh): Delete.
46746         * configure: Regenerate.
46748         * elf/Makefile: Delete $(have-ksh) check.
46749         ($(objpfx)sotruss): Change KSH to BASH.
46750         * elf/sotruss.ksh: Rename to ...
46751         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46752         function style to match POSIX.  Drop ksh vim mode setting.
46754         * manual/time.texi (Specifying the Time Zone with TZ): Change
46755         Tuesday to Thursday.
46757         * debug/tst-longjmp_chk2.c: Update header comment.
46758         (stackoverflow_handler): Add comment.  Call assert on pass value.
46760 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46762         [BZ #16194]
46763         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46764         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46765         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46766         (La_x86_64_vector): Add zmm.
46767         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46768         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46769         ($(objpfx)tst-audit10): New target.
46770         ($(objpfx)tst-audit10.out): Likewise.
46771         (tst-audit10-ENV): New.
46772         (AVX512-CFLAGS): Likewise.
46773         (CFLAGS-tst-audit10.c): Likewise.
46774         (CFLAGS-tst-auditmod10a.c): Likewise.
46775         (CFLAGS-tst-auditmod10b.c): Likewise.
46776         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46777         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46778         * sysdeps/x86_64/configure: Regenerated.
46779         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46780         AVX-512 zmm register support.
46781         (_dl_x86_64_save_sse): Likewise.
46782         (_dl_x86_64_restore_sse): Likewise.
46783         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46784         size vector registers.
46785         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46786         (ZMM_SIZE): Likewise.
46787         * sysdeps/x86_64/tst-audit10.c: New file.
46788         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46789         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46791 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46793         * configure.ac (HAVE_EHDR_START): New check.
46794         * configure: Regenerated.
46795         * config.h.in (HAVE_EHDR_START): New #undef.
46796         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46797         assuming the lowest-addressed segment maps the start of the file.
46799 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46801         * INSTALL: Regenerated.
46803 2014-03-13  Will Newton  <will.newton@linaro.org>
46805         * manual/setjmp.texi (System V contexts): Improve
46806         clarity and grammar of documentation.
46808 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46810         [BZ #16381]
46811         * elf/Makefile (tests): Add tst-pie2.
46812         (tests-pie): Add tst-pie2.
46813         * elf/tst-pie2.c: New file.
46814         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46815         for ET_EXEC.
46816         * elf/rtld.c (map_doit): Load executable as lt_executable.
46817         (dl_main): Likewise.
46819 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46821         [BZ #16642]
46822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46823         (__ASSUME_PSELECT): Undefine.
46825 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46827         [BZ #16689]
46828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46829         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46830         static build.
46831         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46832         selector for static builds.
46834 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46836         [BZ #16695]
46837         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46838         key in the buffer.
46840 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46842         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46843         IFUNC selector for static builds.
46845 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46847         * sysdeps/mips/math_private.h [__mips_hard_float]
46848         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46849         libc_feresetround_mips_ctx.
46850         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46851         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46852         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46854         [BZ #16677]
46855         * math/s_nextafter.c (__nextafter): Do not return value from
46856         overflowing computation.
46857         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46858         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46859         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46860         Likewise.
46861         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46862         Likewise.
46863         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46864         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46866 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46868         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46869         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46870         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46871         the new mov targetting sp.
46873 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46875         [BZ #16683]
46876         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46877         Define it for static builds as well.
46878         (NO_BZERO_IMPL): Likewise.
46880 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46882         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46883         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46884         multiarch strspn for PPC64.
46885         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46886         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46888         (__libc_ifunc_impl_list): Likewise.
46889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46890         multiarch optimizations
46891         * string/strspn.c (strspn): Using macro to redefine symbol name.
46893 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46894             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46896         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46897         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46898         multiarch strncat for PPC64.
46899         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46900         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46902         (__libc_ifunc_impl_list): Likewise.
46903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46904         multiarch optimizations
46906 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46908         [BZ #16639]
46909         * nscd/nscd.service: Make service type forking.
46911 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46913         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46914         sign in non default rounding modes.
46915         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46917 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46919         * math/libm-test.inc (ALL_RM_TEST): New macro.
46920         (ceil_test): Use ALL_RM_TEST.
46921         (cimag_test): Likewise.
46922         (conj_test): Likewise.
46923         (copysign_test): Likewise.
46924         (cproj_test): Likewise.
46925         (creal_test): Likewise.
46926         (fabs_test): Likewise.
46927         (floor_test): Likewise.
46928         (fmax_test): Likewise.
46929         (fmin_test): Likewise.
46930         (fmod_test): Likewise.
46931         (fpclassify_test): Likewise.
46932         (frexp_test): Likewise.
46933         (ilogb_test): Likewise.
46934         (isfinite_test): Likewise.
46935         (finite_test): Likewise.
46936         (isgreater_test): Likewise.
46937         (isgreaterequal_test): Likewise.
46938         (isinf_test): Likewise.
46939         (isless_test): Likewise.
46940         (islessequal_test): Likewise.
46941         (islessgreater_test): Likewise.
46942         (isnan_test): Likewise.
46943         (isnormal_test): Likewise.
46944         (issignaling_test): Likewise.
46945         (isunordered_test): Likewise.
46946         (logb_test): Likewise.
46947         (logb_downward_test_data): Remove.
46948         (logb_test_downward): Likewise.
46949         (lround_test): Use ALL_RM_TEST.
46950         (llround_test): Likewise.
46951         (modf_test): Likewise.
46952         (nexttoward_test): Likewise.
46953         (remainder_test): Likewise.
46954         (drem_test): Likewise.
46955         (remainder_tonearest_test_data): Likewise.
46956         (remainder_test_tonearest): Likewise.
46957         (drem_test_tonearest): Likewise.
46958         (remainder_towardzero_test_data): Likewise.
46959         (remainder_test_towardzero): Likewise.
46960         (drem_test_towardzero): Likewise.
46961         (remainder_downward_test_data): Likewise.
46962         (remainder_test_downward): Likewise.
46963         (drem_test_downward): Likewise.
46964         (remainder_upward_test_data): Likewise.
46965         (remainder_test_upward): Likewise.
46966         (drem_test_upward): Likewise.
46967         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46968         (round_test): Use ALL_RM_TEST.
46969         (signbit_test): Likewise.
46970         (trunc_test): Likewise.
46971         (significand_test): Likewise.
46972         (main): Don't call removed functions.
46974 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46976         [BZ #16674]
46977         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46978         || __USE_XOPEN2K8].
46979         (ILL_ILLOPN): Likewise.
46980         (ILL_ILLADR): Likewise.
46981         (ILL_ILLTRP): Likewise.
46982         (ILL_PRVOPC): Likewise.
46983         (ILL_PRVREG): Likewise.
46984         (ILL_COPROC): Likewise.
46985         (ILL_BADSTK): Likewise.
46986         (FPE_INTDIV): Likewise.
46987         (FPE_INTOVF): Likewise.
46988         (FPE_FLTDIV): Likewise.
46989         (FPE_FLTOVF): Likewise.
46990         (FPE_FLTUND): Likewise.
46991         (FPE_FLTRES): Likewise.
46992         (FPE_FLTINV): Likewise.
46993         (FPE_FLTSUB): Likewise.
46994         (SEGV_MAPERR): Likewise.
46995         (SEGV_ACCERR): Likewise.
46996         (BUS_ADRALN): Likewise.
46997         (BUS_ADRERR): Likewise.
46998         (BUS_OBJERR): Likewise.
46999         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47000         (TRAP_TRACE): Likewise.
47001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47002         __USE_XOPEN2K8].
47003         (CLD_KILLED): Likewise.
47004         (CLD_DUMPED): Likewise.
47005         (CLD_TRAPPED): Likewise.
47006         (CLD_STOPPED): Likewise.
47007         (CLD_CONTINUED): Likewise.
47008         (POLL_IN): Likewise.
47009         (POLL_OUT): Likewise.
47010         (POLL_MSG): Likewise.
47011         (POLL_ERR): Likewise.
47012         (POLL_PRI): Likewise.
47013         (POLL_HUP): Likewise.
47014         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47015         Likewise.
47016         (ILL_ILLOPN): Likewise.
47017         (ILL_ILLADR): Likewise.
47018         (ILL_ILLTRP): Likewise.
47019         (ILL_PRVOPC): Likewise.
47020         (ILL_PRVREG): Likewise.
47021         (ILL_COPROC): Likewise.
47022         (ILL_BADSTK): Likewise.
47023         (FPE_INTDIV): Likewise.
47024         (FPE_INTOVF): Likewise.
47025         (FPE_FLTDIV): Likewise.
47026         (FPE_FLTOVF): Likewise.
47027         (FPE_FLTUND): Likewise.
47028         (FPE_FLTRES): Likewise.
47029         (FPE_FLTINV): Likewise.
47030         (FPE_FLTSUB): Likewise.
47031         (SEGV_MAPERR): Likewise.
47032         (SEGV_ACCERR): Likewise.
47033         (BUS_ADRALN): Likewise.
47034         (BUS_ADRERR): Likewise.
47035         (BUS_OBJERR): Likewise.
47036         (BUS_MCEERR_AR): Likewise.
47037         (BUS_MCEERR_AO): Likewise.
47038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47039         (TRAP_TRACE): Likewise.
47040         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47041         __USE_XOPEN2K8].
47042         (CLD_KILLED): Likewise.
47043         (CLD_DUMPED): Likewise.
47044         (CLD_TRAPPED): Likewise.
47045         (CLD_STOPPED): Likewise.
47046         (CLD_CONTINUED): Likewise.
47047         (POLL_IN): Likewise.
47048         (POLL_OUT): Likewise.
47049         (POLL_MSG): Likewise.
47050         (POLL_ERR): Likewise.
47051         (POLL_PRI): Likewise.
47052         (POLL_HUP): Likewise.
47053         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47054         (ILL_ILLOPN): Likewise.
47055         (ILL_ILLADR): Likewise.
47056         (ILL_ILLTRP): Likewise.
47057         (ILL_PRVOPC): Likewise.
47058         (ILL_PRVREG): Likewise.
47059         (ILL_COPROC): Likewise.
47060         (ILL_BADSTK): Likewise.
47061         (FPE_INTDIV): Likewise.
47062         (FPE_INTOVF): Likewise.
47063         (FPE_FLTDIV): Likewise.
47064         (FPE_FLTOVF): Likewise.
47065         (FPE_FLTUND): Likewise.
47066         (FPE_FLTRES): Likewise.
47067         (FPE_FLTINV): Likewise.
47068         (FPE_FLTSUB): Likewise.
47069         (SEGV_MAPERR): Likewise.
47070         (SEGV_ACCERR): Likewise.
47071         (BUS_ADRALN): Likewise.
47072         (BUS_ADRERR): Likewise.
47073         (BUS_OBJERR): Likewise.
47074         (BUS_MCEERR_AR): Likewise.
47075         (BUS_MCEERR_AO): Likewise.
47076         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47077         (TRAP_TRACE): Likewise.
47078         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47079         __USE_XOPEN2K8].
47080         (CLD_KILLED): Likewise.
47081         (CLD_DUMPED): Likewise.
47082         (CLD_TRAPPED): Likewise.
47083         (CLD_STOPPED): Likewise.
47084         (CLD_CONTINUED): Likewise.
47085         (POLL_IN): Likewise.
47086         (POLL_OUT): Likewise.
47087         (POLL_MSG): Likewise.
47088         (POLL_ERR): Likewise.
47089         (POLL_PRI): Likewise.
47090         (POLL_HUP): Likewise.
47091         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47092         Likewise.
47093         (ILL_ILLOPN): Likewise.
47094         (ILL_ILLADR): Likewise.
47095         (ILL_ILLTRP): Likewise.
47096         (ILL_PRVOPC): Likewise.
47097         (ILL_PRVREG): Likewise.
47098         (ILL_COPROC): Likewise.
47099         (ILL_BADSTK): Likewise.
47100         (ILL_BADIADDR): Likewise.
47101         (ILL_BREAK): Likewise.
47102         (FPE_INTDIV): Likewise.
47103         (FPE_INTOVF): Likewise.
47104         (FPE_FLTDIV): Likewise.
47105         (FPE_FLTOVF): Likewise.
47106         (FPE_FLTUND): Likewise.
47107         (FPE_FLTRES): Likewise.
47108         (FPE_FLTINV): Likewise.
47109         (FPE_FLTSUB): Likewise.
47110         (FPE_DECOVF): Likewise.
47111         (FPE_DECDIV): Likewise.
47112         (FPE_DECERR): Likewise.
47113         (FPE_INVASC): Likewise.
47114         (FPE_INVDEC): Likewise.
47115         (SEGV_MAPERR): Likewise.
47116         (SEGV_ACCERR): Likewise.
47117         (SEGV_PSTKOVF): Likewise.
47118         (BUS_ADRALN): Likewise.
47119         (BUS_ADRERR): Likewise.
47120         (BUS_OBJERR): Likewise.
47121         (BUS_MCEERR_AR): Likewise.
47122         (BUS_MCEERR_AO): Likewise.
47123         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47124         (TRAP_TRACE): Likewise.
47125         (TRAP_BRANCH): Likewise.
47126         (TRAP_HWBKPT): Likewise.
47127         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47128         __USE_XOPEN2K8].
47129         (CLD_KILLED): Likewise.
47130         (CLD_DUMPED): Likewise.
47131         (CLD_TRAPPED): Likewise.
47132         (CLD_STOPPED): Likewise.
47133         (CLD_CONTINUED): Likewise.
47134         (POLL_IN): Likewise.
47135         (POLL_OUT): Likewise.
47136         (POLL_MSG): Likewise.
47137         (POLL_ERR): Likewise.
47138         (POLL_PRI): Likewise.
47139         (POLL_HUP): Likewise.
47140         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47141         (ILL_ILLOPN): Likewise.
47142         (ILL_ILLADR): Likewise.
47143         (ILL_ILLTRP): Likewise.
47144         (ILL_PRVOPC): Likewise.
47145         (ILL_PRVREG): Likewise.
47146         (ILL_COPROC): Likewise.
47147         (ILL_BADSTK): Likewise.
47148         (FPE_INTDIV): Likewise.
47149         (FPE_INTOVF): Likewise.
47150         (FPE_FLTDIV): Likewise.
47151         (FPE_FLTOVF): Likewise.
47152         (FPE_FLTUND): Likewise.
47153         (FPE_FLTRES): Likewise.
47154         (FPE_FLTINV): Likewise.
47155         (FPE_FLTSUB): Likewise.
47156         (SEGV_MAPERR): Likewise.
47157         (SEGV_ACCERR): Likewise.
47158         (BUS_ADRALN): Likewise.
47159         (BUS_ADRERR): Likewise.
47160         (BUS_OBJERR): Likewise.
47161         (BUS_MCEERR_AR): Likewise.
47162         (BUS_MCEERR_AO): Likewise.
47163         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47164         (TRAP_TRACE): Likewise.
47165         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47166         __USE_XOPEN2K8].
47167         (CLD_KILLED): Likewise.
47168         (CLD_DUMPED): Likewise.
47169         (CLD_TRAPPED): Likewise.
47170         (CLD_STOPPED): Likewise.
47171         (CLD_CONTINUED): Likewise.
47172         (POLL_IN): Likewise.
47173         (POLL_OUT): Likewise.
47174         (POLL_MSG): Likewise.
47175         (POLL_ERR): Likewise.
47176         (POLL_PRI): Likewise.
47177         (POLL_HUP): Likewise.
47178         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47179         (ILL_ILLOPN): Likewise.
47180         (ILL_ILLADR): Likewise.
47181         (ILL_ILLTRP): Likewise.
47182         (ILL_PRVOPC): Likewise.
47183         (ILL_PRVREG): Likewise.
47184         (ILL_COPROC): Likewise.
47185         (ILL_BADSTK): Likewise.
47186         (FPE_INTDIV): Likewise.
47187         (FPE_INTOVF): Likewise.
47188         (FPE_FLTDIV): Likewise.
47189         (FPE_FLTOVF): Likewise.
47190         (FPE_FLTUND): Likewise.
47191         (FPE_FLTRES): Likewise.
47192         (FPE_FLTINV): Likewise.
47193         (FPE_FLTSUB): Likewise.
47194         (SEGV_MAPERR): Likewise.
47195         (SEGV_ACCERR): Likewise.
47196         (BUS_ADRALN): Likewise.
47197         (BUS_ADRERR): Likewise.
47198         (BUS_OBJERR): Likewise.
47199         (BUS_MCEERR_AR): Likewise.
47200         (BUS_MCEERR_AO): Likewise.
47201         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47202         (TRAP_TRACE): Likewise.
47203         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47204         __USE_XOPEN2K8].
47205         (CLD_KILLED): Likewise.
47206         (CLD_DUMPED): Likewise.
47207         (CLD_TRAPPED): Likewise.
47208         (CLD_STOPPED): Likewise.
47209         (CLD_CONTINUED): Likewise.
47210         (POLL_IN): Likewise.
47211         (POLL_OUT): Likewise.
47212         (POLL_MSG): Likewise.
47213         (POLL_ERR): Likewise.
47214         (POLL_PRI): Likewise.
47215         (POLL_HUP): Likewise.
47216         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47217         (ILL_ILLOPN): Likewise.
47218         (ILL_ILLADR): Likewise.
47219         (ILL_ILLTRP): Likewise.
47220         (ILL_PRVOPC): Likewise.
47221         (ILL_PRVREG): Likewise.
47222         (ILL_COPROC): Likewise.
47223         (ILL_BADSTK): Likewise.
47224         (FPE_INTDIV): Likewise.
47225         (FPE_INTOVF): Likewise.
47226         (FPE_FLTDIV): Likewise.
47227         (FPE_FLTOVF): Likewise.
47228         (FPE_FLTUND): Likewise.
47229         (FPE_FLTRES): Likewise.
47230         (FPE_FLTINV): Likewise.
47231         (FPE_FLTSUB): Likewise.
47232         (SEGV_MAPERR): Likewise.
47233         (SEGV_ACCERR): Likewise.
47234         (BUS_ADRALN): Likewise.
47235         (BUS_ADRERR): Likewise.
47236         (BUS_OBJERR): Likewise.
47237         (BUS_MCEERR_AR): Likewise.
47238         (BUS_MCEERR_AO): Likewise.
47239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47240         (TRAP_TRACE): Likewise.
47241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47242         __USE_XOPEN2K8].
47243         (CLD_KILLED): Likewise.
47244         (CLD_DUMPED): Likewise.
47245         (CLD_TRAPPED): Likewise.
47246         (CLD_STOPPED): Likewise.
47247         (CLD_CONTINUED): Likewise.
47248         (POLL_IN): Likewise.
47249         (POLL_OUT): Likewise.
47250         (POLL_MSG): Likewise.
47251         (POLL_ERR): Likewise.
47252         (POLL_PRI): Likewise.
47253         (POLL_HUP): Likewise.
47254         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47255         (ILL_ILLOPN): Likewise.
47256         (ILL_ILLADR): Likewise.
47257         (ILL_ILLTRP): Likewise.
47258         (ILL_PRVOPC): Likewise.
47259         (ILL_PRVREG): Likewise.
47260         (ILL_COPROC): Likewise.
47261         (ILL_BADSTK): Likewise.
47262         (ILL_DBLFLT): Likewise.
47263         (ILL_HARDWALL): Likewise.
47264         (FPE_INTDIV): Likewise.
47265         (FPE_INTOVF): Likewise.
47266         (FPE_FLTDIV): Likewise.
47267         (FPE_FLTOVF): Likewise.
47268         (FPE_FLTUND): Likewise.
47269         (FPE_FLTRES): Likewise.
47270         (FPE_FLTINV): Likewise.
47271         (FPE_FLTSUB): Likewise.
47272         (SEGV_MAPERR): Likewise.
47273         (SEGV_ACCERR): Likewise.
47274         (BUS_ADRALN): Likewise.
47275         (BUS_ADRERR): Likewise.
47276         (BUS_OBJERR): Likewise.
47277         (BUS_MCEERR_AR): Likewise.
47278         (BUS_MCEERR_AO): Likewise.
47279         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47280         (TRAP_TRACE): Likewise.
47281         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47282         __USE_XOPEN2K8].
47283         (CLD_KILLED): Likewise.
47284         (CLD_DUMPED): Likewise.
47285         (CLD_TRAPPED): Likewise.
47286         (CLD_STOPPED): Likewise.
47287         (CLD_CONTINUED): Likewise.
47288         (POLL_IN): Likewise.
47289         (POLL_OUT): Likewise.
47290         (POLL_MSG): Likewise.
47291         (POLL_ERR): Likewise.
47292         (POLL_PRI): Likewise.
47293         (POLL_HUP): Likewise.
47294         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47295         (ILL_ILLOPN): Likewise.
47296         (ILL_ILLADR): Likewise.
47297         (ILL_ILLTRP): Likewise.
47298         (ILL_PRVOPC): Likewise.
47299         (ILL_PRVREG): Likewise.
47300         (ILL_COPROC): Likewise.
47301         (ILL_BADSTK): Likewise.
47302         (FPE_INTDIV): Likewise.
47303         (FPE_INTOVF): Likewise.
47304         (FPE_FLTDIV): Likewise.
47305         (FPE_FLTOVF): Likewise.
47306         (FPE_FLTUND): Likewise.
47307         (FPE_FLTRES): Likewise.
47308         (FPE_FLTINV): Likewise.
47309         (FPE_FLTSUB): Likewise.
47310         (SEGV_MAPERR): Likewise.
47311         (SEGV_ACCERR): Likewise.
47312         (BUS_ADRALN): Likewise.
47313         (BUS_ADRERR): Likewise.
47314         (BUS_OBJERR): Likewise.
47315         (BUS_MCEERR_AR): Likewise.
47316         (BUS_MCEERR_AO): Likewise.
47317         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47318         (TRAP_TRACE): Likewise.
47319         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47320         __USE_XOPEN2K8].
47321         (CLD_KILLED): Likewise.
47322         (CLD_DUMPED): Likewise.
47323         (CLD_TRAPPED): Likewise.
47324         (CLD_STOPPED): Likewise.
47325         (CLD_CONTINUED): Likewise.
47326         (POLL_IN): Likewise.
47327         (POLL_OUT): Likewise.
47328         (POLL_MSG): Likewise.
47329         (POLL_ERR): Likewise.
47330         (POLL_PRI): Likewise.
47331         (POLL_HUP): Likewise.
47332         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47333         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47335         [BZ #16670]
47336         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47337         before #include of <time.h>.
47338         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47339         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47340         (test-xfail-UNIX98/sched.h/conform): Likewise.
47342 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47344         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47345         error absence of trapping exception support.
47346         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47348 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47350         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47351         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47352         * timezone/Makefile (testdata): Move definition above include of
47353         Rules.
47354         (test-zones): New variable.
47355         (tests-special): Add zone files.
47356         (build-testdata): Use $(evaluate-test).
47358         * elf/Makefile (tests-special): Rename tests to end with .out.
47359         ($(objpfx)noload-mem): Likewise.
47360         ($(objpfx)tst-leaks1-mem): Likewise.
47361         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47362         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47363         $(objpfx)test-iconvconfig.out.
47364         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47365         set -e inside subshell and redirect output to file.
47366         * iconvdata/Makefile (generated): Rename tests to end with .out.
47367         Correct type.
47368         (tests-special): Rename tests to end with .out.
47369         ($(objpfx)mtrace-tst-loading): Likewise.
47370         * intl/Makefile (generated): Likewise.
47371         (tests-special): Likewise.
47372         ($(objpfx)mtrace-tst-gettext): Likewise.
47373         * misc/Makefile (generated): Likewise.
47374         (tests-special): Likewise.
47375         ($(objpfx)tst-error1-mem): Likewise.
47376         * nptl/Makefile (tests-special): Likewise.
47377         ($(objpfx)tst-stack3-mem): Likewise.
47378         (generated): Likewise.
47379         * posix/Makefile (generated): Likewise.
47380         (tests-special): Likewise.
47381         (xtests-special): Likewise.
47382         ($(objpfx)tst-fnmatch-mem): Likewise.
47383         ($(objpfx)bug-regex2-mem): Likewise.
47384         ($(objpfx)bug-regex14-mem): Likewise.
47385         ($(objpfx)bug-regex21-mem): Likewise.
47386         ($(objpfx)bug-regex31-mem): Likewise.
47387         ($(objpfx)tst-vfork3-mem): Likewise.
47388         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47389         ($(objpfx)tst-pcre-mem): Likewise.
47390         ($(objpfx)tst-boost-mem): Likewise.
47391         ($(objpfx)bug-ga2-mem): Likewise.
47392         ($(objpfx)bug-glob2-mem): Likewise.
47393         * resolv/Makefile (generate): Likewise.
47394         (tests-special): Likewise.
47395         (xtests-special): Likewise.
47396         (generated): Likewise.
47397         ($(objpfx)mtrace-tst-leaks): Likewise.
47398         ($(objpfx)mtrace-tst-leaks2): Likewise.
47400         * scripts/merge-test-results.sh: New file.
47401         * Makefile (tests-special-notdir): New variable.
47402         (tests): Run merge-test-results.sh.
47403         (xtests): Likewise.
47404         * Rules (tests-special-notdir): New variable.
47405         (xtests-special-notdir): Likewise.
47406         (tests): Run merge-test-results.sh
47407         (xtests): Likewise.
47409         * Makeconfig (test-xfail-name): New variable.
47410         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47411         compute variable name for expected failures.
47412         * conform/Makefile (conformtest-headers-data): New variable.
47413         (conformtest-standards): Likewise.
47414         (conformtest-headers-ISO): Likewise.
47415         (conformtest-headers-ISO99): Likewise.
47416         (conformtest-headers-ISO11): Likewise.
47417         (conformtest-headers-POSIX): Likewise.
47418         (conformtest-headers-XPG3): Likewise.
47419         (conformtest-headers-XPG4): Likewise.
47420         (conformtest-headers-UNIX98): Likewise.
47421         (conformtest-headers-XOPEN2K): Likewise.
47422         (conformtest-headers-POSIX2008): Likewise.
47423         (conformtest-headers-XOPEN2K8): Likewise.
47424         (conformtest-header-list-base): Likewise.
47425         (conformtest-header-list-tests): Likewise.
47426         (conformtest-header-base): Likewise.
47427         (conformtest-header-tests): Likewise.
47428         (tests-special): Add $(conformtest-header-list-tests).  If
47429         [$(fast-check) && !$(cross-compiling)], add
47430         $(conformtest-header-tests) instead of
47431         $(objpfx)run-conformtest.out.
47432         (generated): Add $(conformtest-header-list-base).  If
47433         [$(fast-check) && !$(cross-compiling)], add
47434         $(conformtest-header-base).  Remove previous setting.
47435         ($(conformtest-header-list-tests)): New target.
47436         (test-xfail-run-conformtest): Remove variable.
47437         ($(objpfx)run-conformtest.out): Remove target.
47438         (test-xfail-ISO11/complex.h/conform): New variable.
47439         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47440         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47441         (test-xfail-XPG3/varargs.h/conform): Likewise.
47442         (test-xfail-XPG4/varargs.h/conform): Likewise.
47443         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47444         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47445         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47446         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47447         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47448         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47449         (test-xfail-XPG3/ftw.h/conform): Likewise.
47450         (test-xfail-XPG3/grp.h/conform): Likewise.
47451         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47452         (test-xfail-XPG3/limits.h/conform): Likewise.
47453         (test-xfail-XPG3/pwd.h/conform): Likewise.
47454         (test-xfail-XPG3/search.h/conform): Likewise.
47455         (test-xfail-XPG3/signal.h/conform): Likewise.
47456         (test-xfail-XPG3/stdio.h/conform): Likewise.
47457         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47458         (test-xfail-XPG3/string.h/conform): Likewise.
47459         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47460         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47461         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47462         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47463         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47464         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47465         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47466         (test-xfail-XPG3/termios.h/conform): Likewise.
47467         (test-xfail-XPG3/time.h/conform): Likewise.
47468         (test-xfail-XPG3/unistd.h/conform): Likewise.
47469         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47470         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47471         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47472         (test-xfail-XPG4/netdb.h/conform): Likewise.
47473         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47474         (test-xfail-XPG4/signal.h/conform): Likewise.
47475         (test-xfail-XPG4/stdio.h/conform): Likewise.
47476         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47477         (test-xfail-XPG4/stropts.h/conform): Likewise.
47478         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47479         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47480         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47481         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47482         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47483         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47484         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47485         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47486         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47487         (test-xfail-XPG4/termios.h/conform): Likewise.
47488         (test-xfail-XPG4/ucontext.h/conform): Likewise.
47489         (test-xfail-XPG4/unistd.h/conform): Likewise.
47490         (test-xfail-XPG4/utmpx.h/conform): Likewise.
47491         (test-xfail-POSIX/sched.h/conform): Likewise.
47492         (test-xfail-POSIX/signal.h/conform): Likewise.
47493         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47494         (test-xfail-POSIX/tar.h/conform): Likewise.
47495         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
47496         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
47497         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
47498         (test-xfail-UNIX98/netdb.h/conform): Likewise.
47499         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
47500         (test-xfail-UNIX98/sched.h/conform): Likewise.
47501         (test-xfail-UNIX98/signal.h/conform): Likewise.
47502         (test-xfail-UNIX98/stdio.h/conform): Likewise.
47503         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
47504         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47505         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
47506         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
47507         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
47508         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
47509         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
47510         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
47511         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
47512         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
47513         (test-xfail-UNIX98/unistd.h/conform): Likewise.
47514         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
47515         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
47516         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
47517         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
47518         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
47519         (test-xfail-XOPEN2K/math.h/conform): Likewise.
47520         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
47521         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
47522         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
47523         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
47524         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
47525         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
47526         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
47527         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
47528         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
47529         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
47530         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
47531         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
47532         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
47533         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
47534         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
47535         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
47536         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
47537         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
47538         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
47539         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
47540         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
47541         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
47542         (test-xfail-POSIX2008/signal.h/conform): Likewise.
47543         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
47544         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
47545         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
47546         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
47547         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
47548         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
47549         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
47550         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
47551         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
47552         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
47553         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
47554         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
47555         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
47556         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
47557         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
47558         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
47559         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
47560         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
47561         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
47562         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
47563         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
47564         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
47565         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
47566         (conformtest-cc-flags): Likewise.
47567         ($(conformtest-header-tests): New target.
47568         * conform/check-header-lists.sh: New file.
47569         * conform/run-conformtest.sh: Remove.
47571         * conform/conformtest.pl: Allow ' and \ in values given for
47572         constants.
47573         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
47574         inclusion.
47575         [POSIX] (sys/types.h): Likewise.
47576         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
47577         inclusion.
47578         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
47579         inclusion.
47580         * conform/data/signal.h-data (SIGIO): Remove expectation.
47581         [XPG3] (SIGBUS): Do not expect.
47582         [POSIX || XPG3] (SIGPOLL): Likewise.
47583         [POSIX || XPG3] (SIGPROF): Likewise.
47584         [POSIX || XPG3] (SIGSYS): Likewise.
47585         [XPG3] (SIGTRAP): Likewise.
47586         [POSIX || XPG3] (SIGURG): Likewise.
47587         [POSIX || XPG3] (SIGVTALRM): Likewise.
47588         [POSIX || XPG3] (SIGXCPU): Likewise.
47589         [POSIX || XPG3] (SIGXFSZ): Likewise.
47590         [POSIX] (SA_SIGINFO): Expect.
47591         [XPG3] (siginfo_t): Do not expect type or contents.
47592         [POSIX] (si_pid): Do not expect element.
47593         [POSIX] (si_uid): Likewise.
47594         [POSIX] (si_addr): Likewise.
47595         [POSIX] (si_status): Likewise.
47596         [POSIX] (si_band): Likewise.
47597         [XPG4] (si_value): Likewise.
47598         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
47599         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
47600         [POSIX || XPG3] (ILL_ILLADR): Likewise.
47601         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
47602         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
47603         [POSIX || XPG3] (ILL_PRVREG): Likewise.
47604         [POSIX || XPG3] (ILL_COPROC): Likewise.
47605         [POSIX || XPG3] (ILL_BADSTK): Likewise.
47606         [POSIX || XPG3] (FPE_INTDIV): Likewise.
47607         [POSIX || XPG3] (FPE_INTOVF): Likewise.
47608         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
47609         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
47610         [POSIX || XPG3] (FPE_FLTUND): Likewise.
47611         [POSIX || XPG3] (FPE_FLTRES): Likewise.
47612         [POSIX || XPG3] (FPE_FLTINV): Likewise.
47613         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
47614         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
47615         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
47616         [POSIX || XPG3] (BUS_ADRALN): Likewise.
47617         [POSIX || XPG3] (BUS_ADRERR): Likewise.
47618         [POSIX || XPG3] (BUS_OBJERR): Likewise.
47619         [POSIX || XPG3] (CLD_EXITED): Likewise.
47620         [POSIX || XPG3] (CLD_KILLED): Likewise.
47621         [POSIX || XPG3] (CLD_DUMPED): Likewise.
47622         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
47623         [POSIX || XPG3] (CLD_STOPPED): Likewise.
47624         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
47625         [POSIX || XPG3] (POLL_IN): Likewise.
47626         [POSIX || XPG3] (POLL_OUT): Likewise.
47627         [POSIX || XPG3] (POLL_MSG): Likewise.
47628         [POSIX || XPG3] (POLL_ERR): Likewise.
47629         [POSIX || XPG3] (POLL_PRI): Likewise.
47630         [POSIX || XPG3] (POLL_HUP): Likewise.
47631         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
47632         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
47633         (SIG*): Do not allow.
47634         [XPG3] (si_*): Likewise.
47635         [XPG3] (SI_*): Likewise.
47636         [XPG3 || XPG4] (sigev_*): Likewise.
47637         [XPG3 || XPG4] (SIGEV_*): Likewise.
47638         [XPG3 || XPG4] (sival_*): Likewise.
47639         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
47640         [POSIX || XPG3] (BUS_*): Likewise.
47641         [POSIX || XPG3] (CLD_*): Likewise.
47642         [POSIX || XPG3] (FPE_*): Likewise.
47643         [POSIX || XPG3] (ILL_*): Likewise.
47644         [POSIX || XPG3] (POLL_*): Likewise.
47645         [POSIX || XPG3] (SEGV_*): Likewise.
47646         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
47647         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
47648         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
47649         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
47650         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
47651         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
47652         Specify type and value.
47653         (TVERSLEN): Likewise.
47654         (REGTYPE): Likewise.
47655         (AREGTYPE): Likewise.
47656         (LNKTYPE): Likewise.
47657         (SYMTYPE): Likewise.
47658         (CHRTYPE): Likewise.
47659         (BLKTYPE): Likewise.
47660         (DIRTYPE): Likewise.
47661         (FIFOTYPE): Likewise.
47662         (CONTTYPE): Likewise.
47663         (TSUID): Likewise.
47664         (TSGID): Likewise.
47665         (TSVTX): Likewise.
47666         (TUREAD): Likewise.
47667         (TUWRITE): Likewise.
47668         (TUEXEC): Likewise.
47669         (TGREAD): Likewise.
47670         (TGWRITE): Likewise.
47671         (TGEXEC): Likewise.
47672         (TOREAD): Likewise.
47673         (TOWRITE): Likewise.
47674         (TOEXEC): Likewise.
47675         [POSIX] (TSVTX): Expect constant.
47677 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47679         * Makefile (tests): Change dependencies to ....
47680         (tests-special): ... additions to this variable.
47681         (tests): Depend on $(tests-special).
47682         * Makerules (check-abi-list): New variable.
47683         (check-abi): Depend on $(check-abi-list).
47684         [$(subdir) = elf] (tests-special): Add
47685         $(objpfx)check-abi-libc.out.
47686         [$(build-shared) = yes && subdir] (tests-special): Add
47687         $(check-abi-list).
47688         [$(build-shared) = yes && subdir] (tests): Do not depend on
47689         check-abi.
47690         * Rules (tests): Depend on $(tests-special).
47691         (xtests): Depend on $(xtests-special).
47692         * catgets/Makefile (tests): Change dependencies to ....
47693         (tests-special): ... additions to this variable.
47694         * conform/Makefile (tests): Change dependencies to ....
47695         (tests-special): ... additions to this variable.
47696         * elf/Makefile (tests): Change dependencies to ....
47697         (tests-special): ... additions to this variable.
47698         * grp/Makefile (tests): Change dependencies to ....
47699         (tests-special): ... additions to this variable.
47700         * iconv/Makefile (xtests): Change dependencies to ....
47701         (xtests-special): ... additions to this variable.
47702         * iconvdata/Makefile (tests): Change dependencies to ....
47703         (tests-special): ... additions to this variable.
47704         * intl/Makefile (tests): Change dependencies to ....
47705         (tests-special): ... additions to this variable.  Also add
47706         $(objpfx)tst-gettext.out.
47707         * io/Makefile (tests): Change dependencies to ....
47708         (tests-special): ... additions to this variable.
47709         * libio/Makefile (tests): Change dependencies to ....
47710         (tests-special): ... additions to this variable.
47711         * malloc/Makefile (tests): Change dependencies to ....
47712         (tests-special): ... additions to this variable.
47713         * misc/Makefile (tests): Change dependencies to ....
47714         (tests-special): ... additions to this variable.
47715         * nptl/Makefile (tests): Change dependencies to ....
47716         (tests-special): ... additions to this variable.
47717         * nptl_db/Makefile (tests): Change dependencies to ....
47718         (tests-special): ... additions to this variable.
47719         * posix/Makefile (tests): Change dependencies to ....
47720         (tests-special): ... additions to this variable.
47721         (xtests): Change dependencies to ....
47722         (xtests-special): ... additions to this variable.
47723         * resolv/Makefile (tests): Change dependencies to ....
47724         (tests-special): ... additions to this variable.
47725         (xtests): Change dependencies to ....
47726         (xtests-special): ... additions to this variable.
47727         * stdio-common/Makefile (tests): Change dependencies to ....
47728         (tests-special): ... additions to this variable.
47729         (do-tst-unbputc): Remove target.
47730         (do-tst-printf): Likewise.
47731         * stdlib/Makefile (tests): Change dependencies to ....
47732         (tests-special): ... additions to this variable.
47733         * string/Makefile (tests): Change dependencies to ....
47734         (tests-special): ... additions to this variable.
47735         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47736         (tests-special): ... additions to this variable.
47738         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47739         whole file.
47740         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47741         whole file.
47742         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47743         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47745         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47746         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47747         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47748         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47749         * conform/data/libgen.h-data [XPG3]: Likewise.
47750         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47751         * conform/data/ndbm.h-data [XPG3]: Likewise.
47752         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47753         * conform/data/netdb.h-data [XPG3]: Likewise.
47754         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47755         * conform/data/poll.h-data [XPG3]: Likewise.
47756         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47757         * conform/data/strings.h-data [XPG3]: Likewise.
47758         * conform/data/stropts.h-data [XPG3]: Likewise.
47759         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47760         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47761         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47762         Likewise.
47763         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47764         * conform/data/sys/time.h-data [XPG3]: Likewise.
47765         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47766         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47767         * conform/data/sys/un.h-data [XPG3]: Likewise.
47768         * conform/data/syslog.h-data [XPG3]: Likewise.
47769         * conform/data/ucontext.h-data [XPG3]: Likewise.
47770         * conform/data/utmpx.h-data [XPG3]: Likewise.
47771         * conform/data/varargs.h-data [UNIX98]: Enable file.
47773         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47775         * math/libm-test.inc (struct test_f_f_data): Move expected results
47776         into structure for each rounding mode.
47777         (struct test_ff_f_data): Likewise.
47778         (struct test_ff_f_data_nexttoward): Likewise.
47779         (struct test_fi_f_data): Likewise.
47780         (struct test_fl_f_data): Likewise.
47781         (struct test_if_f_data): Likewise.
47782         (struct test_fff_f_data): Likewise.
47783         (struct test_c_f_data): Likewise.
47784         (struct test_f_f1_data): Likewise.
47785         (struct test_fF_f1_data): Likewise.
47786         (struct test_ffI_f1_data): Likewise.
47787         (struct test_c_c_data): Likewise.
47788         (struct test_cc_c_data): Likewise.
47789         (struct test_f_i_data): Likewise.
47790         (struct test_ff_i_data): Likewise.
47791         (struct test_f_l_data): Likewise.
47792         (struct test_f_L_data): Likewise.
47793         (struct test_fFF_11_data): Likewise.
47794         (RM_): New macro.
47795         (RM_FE_DOWNWARD): Likewise.
47796         (RM_FE_TONEAREST): Likewise.
47797         (RM_FE_TOWARDZERO): Likewise.
47798         (RM_FE_UPWARD): Likewise.
47799         (RUN_TEST_LOOP_f_f): Update references to expected results.
47800         (RUN_TEST_LOOP_2_f): Likewise.
47801         (RUN_TEST_LOOP_fff_f): Likewise.
47802         (RUN_TEST_LOOP_c_f): Likewise.
47803         (RUN_TEST_LOOP_f_f1): Likewise.
47804         (RUN_TEST_LOOP_fF_f1): Likewise.
47805         (RUN_TEST_LOOP_fI_f1): Likewise.
47806         (RUN_TEST_LOOP_ffI_f1): Likewise.
47807         (RUN_TEST_LOOP_c_c): Likewise.
47808         (RUN_TEST_LOOP_cc_c): Likewise.
47809         (RUN_TEST_LOOP_f_i): Likewise.
47810         (RUN_TEST_LOOP_f_i_tg): Likewise.
47811         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47812         (RUN_TEST_LOOP_f_b): Likewise.
47813         (RUN_TEST_LOOP_f_b_tg): Likewise.
47814         (RUN_TEST_LOOP_f_l): Likewise.
47815         (RUN_TEST_LOOP_f_L): Likewise.
47816         (RUN_TEST_LOOP_fFF_11): Likewise.
47817         * math/gen-libm-test.pl (parse_args): Output four copies of
47818         expected results for each test.
47820         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47821         (__ASSUME_UTIMES): Remove.
47822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47823         (__ASSUME_UTIMES): Likewise.
47825         * math/gen-auto-libm-tests.c: Update comment on output format.
47826         (output_for_one_input_case): Generate before-rounding and
47827         after-rounding information as conditions on output flags not
47828         floating-point format.
47829         * math/auto-libm-test-out: Regenerated.
47830         * math/gen-libm-test.pl (cond_value): New function.
47831         (or_cond_value): Use cond_value.
47832         (generate_testfile): Handle conditional exceptions.
47834 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47836         * math/libm-test.inc (max_valid_error): New variable.
47837         (init_max_error): Take new argument specifying whether function
47838         results are exactly determined.  Set max_valid_error and bound
47839         other variables for errors based on this argument.
47840         (set_max_error): Do not record results above max_valid_error.
47841         (check_float_internal): Only accept errors of up to 0.5ulps if
47842         also at most max_valid_error.
47843         (START): Take new argument EXACT and pass it to init_max_error.
47844         (acos_test): Update call to START.
47845         (acos_test_tonearest): Likewise.
47846         (acos_test_towardzero): Likewise.
47847         (acos_test_downward): Likewise.
47848         (acos_test_upward): Likewise.
47849         (acosh_test): Likewise.
47850         (asin_test): Likewise.
47851         (asin_test_tonearest): Likewise.
47852         (asin_test_towardzero): Likewise.
47853         (asin_test_downward): Likewise.
47854         (asin_test_upward): Likewise.
47855         (asinh_test): Likewise.
47856         (atan_test): Likewise.
47857         (atanh_test): Likewise.
47858         (atan2_test): Likewise.
47859         (cabs_test): Likewise.
47860         (cacos_test): Likewise.
47861         (cacosh_test): Likewise.
47862         (carg_test): Likewise.
47863         (casin_test): Likewise.
47864         (casinh_test): Likewise.
47865         (catan_test): Likewise.
47866         (catanh_test): Likewise.
47867         (cbrt_test): Likewise.
47868         (ccos_test): Likewise.
47869         (ccosh_test): Likewise.
47870         (ceil_test): Likewise.
47871         (cexp_test): Likewise.
47872         (cimag_test): Likewise.
47873         (clog_test): Likewise.
47874         (clog10_test): Likewise.
47875         (conj_test): Likewise.
47876         (copysign_test): Likewise.
47877         (cos_test): Likewise.
47878         (cos_test_tonearest): Likewise.
47879         (cos_test_towardzero): Likewise.
47880         (cos_test_downward): Likewise.
47881         (cos_test_upward): Likewise.
47882         (cosh_test): Likewise.
47883         (cosh_test_tonearest): Likewise.
47884         (cosh_test_towardzero): Likewise.
47885         (cosh_test_downward): Likewise.
47886         (cosh_test_upward): Likewise.
47887         (cpow_test): Likewise.
47888         (cproj_test): Likewise.
47889         (creal_test): Likewise.
47890         (csin_test): Likewise.
47891         (csinh_test): Likewise.
47892         (csqrt_test): Likewise.
47893         (ctan_test): Likewise.
47894         (ctan_test_tonearest): Likewise.
47895         (ctan_test_towardzero): Likewise.
47896         (ctan_test_downward): Likewise.
47897         (ctan_test_upward): Likewise.
47898         (ctanh_test): Likewise.
47899         (ctanh_test_tonearest): Likewise.
47900         (ctanh_test_towardzero): Likewise.
47901         (ctanh_test_downward): Likewise.
47902         (ctanh_test_upward): Likewise.
47903         (erf_test): Likewise.
47904         (erfc_test): Likewise.
47905         (exp_test): Likewise.
47906         (exp_test_tonearest): Likewise.
47907         (exp_test_towardzero): Likewise.
47908         (exp_test_downward): Likewise.
47909         (exp_test_upward): Likewise.
47910         (exp10_test): Likewise.
47911         (exp10_test_tonearest): Likewise.
47912         (exp10_test_towardzero): Likewise.
47913         (exp10_test_downward): Likewise.
47914         (exp10_test_upward): Likewise.
47915         (pow10_test): Likewise.
47916         (exp2_test): Likewise.
47917         (expm1_test): Likewise.
47918         (expm1_test_tonearest): Likewise.
47919         (expm1_test_towardzero): Likewise.
47920         (expm1_test_downward): Likewise.
47921         (expm1_test_upward): Likewise.
47922         (fabs_test): Likewise.
47923         (fdim_test): Likewise.
47924         (floor_test): Likewise.
47925         (fma_test): Likewise.
47926         (fma_test_towardzero): Likewise.
47927         (fma_test_downward): Likewise.
47928         (fma_test_upward): Likewise.
47929         (fmax_test): Likewise.
47930         (fmin_test): Likewise.
47931         (fmod_test): Likewise.
47932         (fpclassify_test): Likewise.
47933         (frexp_test): Likewise.
47934         (hypot_test): Likewise.
47935         (ilogb_test): Likewise.
47936         (isfinite_test): Likewise.
47937         (finite_test): Likewise.
47938         (isgreater_test): Likewise.
47939         (isgreaterequal_test): Likewise.
47940         (isinf_test): Likewise.
47941         (isless_test): Likewise.
47942         (islessequal_test): Likewise.
47943         (islessgreater_test): Likewise.
47944         (isnan_test): Likewise.
47945         (isnormal_test): Likewise.
47946         (issignaling_test): Likewise.
47947         (isunordered_test): Likewise.
47948         (j0_test): Likewise.
47949         (j1_test): Likewise.
47950         (jn_test): Likewise.
47951         (ldexp_test): Likewise.
47952         (lgamma_test): Likewise.
47953         (gamma_test): Likewise.
47954         (lrint_test): Likewise.
47955         (lrint_test_tonearest): Likewise.
47956         (lrint_test_towardzero): Likewise.
47957         (lrint_test_downward): Likewise.
47958         (lrint_test_upward): Likewise.
47959         (llrint_test): Likewise.
47960         (llrint_test_tonearest): Likewise.
47961         (llrint_test_towardzero): Likewise.
47962         (llrint_test_downward): Likewise.
47963         (llrint_test_upward): Likewise.
47964         (log_test): Likewise.
47965         (log10_test): Likewise.
47966         (log1p_test): Likewise.
47967         (log2_test): Likewise.
47968         (logb_test): Likewise.
47969         (logb_test_downward): Likewise.
47970         (lround_test): Likewise.
47971         (llround_test): Likewise.
47972         (modf_test): Likewise.
47973         (nearbyint_test): Likewise.
47974         (nextafter_test): Likewise.
47975         (nexttoward_test): Likewise.
47976         (pow_test): Likewise.
47977         (pow_test_tonearest): Likewise.
47978         (pow_test_towardzero): Likewise.
47979         (pow_test_downward): Likewise.
47980         (pow_test_upward): Likewise.
47981         (remainder_test): Likewise.
47982         (drem_test): Likewise.
47983         (remainder_test_tonearest): Likewise.
47984         (drem_test_tonearest): Likewise.
47985         (remainder_test_towardzero): Likewise.
47986         (drem_test_towardzero): Likewise.
47987         (remainder_test_downward): Likewise.
47988         (drem_test_downward): Likewise.
47989         (remainder_test_upward): Likewise.
47990         (drem_test_upward): Likewise.
47991         (remquo_test): Likewise.
47992         (rint_test): Likewise.
47993         (rint_test_tonearest): Likewise.
47994         (rint_test_towardzero): Likewise.
47995         (rint_test_downward): Likewise.
47996         (rint_test_upward): Likewise.
47997         (round_test): Likewise.
47998         (scalb_test): Likewise.
47999         (scalbn_test): Likewise.
48000         (scalbln_test): Likewise.
48001         (signbit_test): Likewise.
48002         (sin_test): Likewise.
48003         (sin_test_tonearest): Likewise.
48004         (sin_test_towardzero): Likewise.
48005         (sin_test_downward): Likewise.
48006         (sin_test_upward): Likewise.
48007         (sincos_test): Likewise.
48008         (sinh_test): Likewise.
48009         (sinh_test_tonearest): Likewise.
48010         (sinh_test_towardzero): Likewise.
48011         (sinh_test_downward): Likewise.
48012         (sinh_test_upward): Likewise.
48013         (sqrt_test): Likewise.
48014         (sqrt_test_tonearest): Likewise.
48015         (sqrt_test_towardzero): Likewise.
48016         (sqrt_test_downward): Likewise.
48017         (sqrt_test_upward): Likewise.
48018         (tan_test): Likewise.
48019         (tan_test_tonearest): Likewise.
48020         (tan_test_towardzero): Likewise.
48021         (tan_test_downward): Likewise.
48022         (tan_test_upward): Likewise.
48023         (tanh_test): Likewise.
48024         (tgamma_test): Likewise.
48025         (trunc_test): Likewise.
48026         (y0_test): Likewise.
48027         (y1_test): Likewise.
48028         (yn_test): Likewise.
48029         (significand_test): Likewise.
48031         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48032         individual tests in comment.
48033         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48034         (prev_max_error): New variable.
48035         (prev_real_max_error): Likewise.
48036         (prev_imag_max_error): Likewise.
48037         (compare_ulp_data): Don't refer to test names in comment.
48038         (find_test_ulps): Remove function.
48039         (find_function_ulps): Likewise.
48040         (find_complex_function_ulps): Likewise.
48041         (init_max_error): Take function name as argument.  Look up ulps
48042         for that function.
48043         (print_ulps): Remove function.
48044         (print_max_error): Use prev_max_error instead of calling
48045         find_function_ulps.
48046         (print_complex_max_error): Use prev_real_max_error and
48047         prev_imag_max_error instead of calling find_complex_function_ulps.
48048         (check_float_internal): Take max_ulp parameter instead of calling
48049         find_test_ulps.  Don't call print_ulps.
48050         (check_float): Update call to check_float_internal.
48051         (check_complex): Update calls to check_float_internal.
48052         (START): Pass argument to init_max_error.
48053         * math/gen-libm-test.pl (%results): Don't include "kind"
48054         information.
48055         (parse_ulps): Don't handle ulps of individual tests.
48056         (print_ulps_file): Likewise.
48057         (output_ulps): Likewise.
48058         * math/README.libm-test: Update.
48059         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48060         individual tests.
48061         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48062         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48063         * sysdeps/arm/libm-test-ulps: Likewise.
48064         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48065         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48066         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48067         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48068         * sysdeps/microblaze/libm-test-ulps: Likewise.
48069         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48070         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48071         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48072         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48073         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48074         * sysdeps/sh/libm-test-ulps: Likewise.
48075         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48076         * sysdeps/tile/libm-test-ulps: Likewise.
48077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48079 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48081         * math/libm-test.inc (print_complex_max_error): Check separately
48082         whether real and imaginary errors are within allowed range and
48083         pass 0 to print_complex_function_ulps instead of value within
48084         allowed range.
48086 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48088         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48089         formatting.
48090         (get_handles_fopen): Likewise.
48091         (do_write_test): Likewise.
48093         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48095         * libio/fileops.c (do_ftell): Use cached offset when
48096         available.
48097         * libio/iofwide.c (do_ftell_wide): Likewise.
48098         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48099         _IO_file_attach.
48100         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48102         [BZ #16532]
48103         * libio/libioP.h (get_file_offset): New function.
48104         * libio/fileops.c (get_file_offset): Likewise.
48105         (do_ftell): Likewise.
48106         (_IO_new_file_seekoff): Split out ftell logic.
48107         * libio/wfileops.c (do_ftell_wide): Likewise.
48108         (_IO_wfile_seekoff): Split out ftell logic.
48109         * libio/tst-ftell-active-handler.c: New test case.
48110         * libio/Makefile (tests): Add it.
48112 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48114         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48115         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48117 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48119         [BZ #16639]
48120         * nscd/connections.c (nscd_init): Call do_exit.
48121         (start_threads): Call do_exit and notify_parent.
48122         (begin_drop_privileges): Call do_exit.
48123         (finish_drop_privileges): Likewise.
48124         * nscd/selinux.c (preserve_capabilities): Likewise.
48125         (install_real_capabilities): Likewise.
48126         (nscd_selinux_enabled): Likewise.
48127         (avc_create_thread): Likewise.
48128         (avc_alloc_lock): Likewise.
48129         (nscd_avc_init): Likewise.
48130         * nscd/nscd.c (parent_fd): New static variable.
48131         (main): Create a pipe between parent and child processes.
48132         Skip closing parent_fd.
48133         (monitor_child): New function.
48134         (do_exit): Likewise.
48135         (notify_parent): Likewise.
48136         * nscd/nscd.h (notify_parent): Likewise.
48137         (do_exit): Likewise.
48139 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48141         * malloc/malloc.c (__libc_calloc): Revert last change.
48143 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48147 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48149         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48151         implementation.
48152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48153         (__libc_ifunc_impl_list): Likewise.
48154         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48155         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48156         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48157         * string/strrchr.c: Define STRRCHR.
48159 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48161         * benchtest/bench-strtok.c (simple_strtok): Delete.
48162         (strtok_string): Use as benchmark.
48163         * string/strtok (STRTOK): New macro.
48165 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48167         * manual/threads.texi: Add header and standard comments to all
48168         functions.
48170         * elf/dl-lookup.c (check_match): New function.
48171         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48172         (do_lookup_x): Remove nested function check_match. Use non-nested
48173         function check_match.
48175 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48177         * csu/Makefile (generated, before-compile): Use += rather than =.
48178         * catgets/Makefile (generated, generated-dirs): Likewise.
48179         * debug/Makefile (generated): Likewise.
48180         * dlfcn/Makefile (generated): Likewise.
48181         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48182         * iconvdata/Makefile (before-compile, generated): Likewise.
48183         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48184         * libio/Makefile (generated): Likewise.
48185         * malloc/Makefile (generated): Likewise.
48186         * manual/Makefile (generated, generated-dirs): Likewise.
48187         * misc/Makefile (generated): Likewise.
48188         * posix/Makefile (generated): Likewise.
48189         * resolv/Makefile (generated): Likewise.
48190         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48191         * timezone/Makefile (generated, generated-dirs): Likewise.
48193         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48195 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48198         power8 implementation.
48199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48200         file: POWER8 llround ifunc implementation.
48201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48202         (__lllround): Add POWER8 implementation.
48203         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48204         POWER8 llround implementation.
48206         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48207         power8 implementation.
48208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48209         file: POWER8 llrint ifunc implementation.
48210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48211         Add POWER8 implementation.
48212         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48213         POWER8 llrint implementation.
48215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48216         power8 implementation.
48217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48218         file: POWER8 finite ifunc implementation.
48219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48220         Add POWER8 implementation.
48221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48222         Likewise.
48223         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48224         POWER8 finite implementation.
48225         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48228         power8 implementation.
48229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48230         file: POWER8 isinf ifunc implementation.
48231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48232         POWER8 implementation.
48233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48234         Likewise.
48235         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48236         isinf implementation.
48237         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48239         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48240         (INIT_ARCH): Add hwcap2 initialization.
48241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48242         power8 implementation.
48243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48244         file: POWER8 isnan ifunc implementation.
48245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48246         POWER8 implementation.
48247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48248         Likewise.
48249         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48250         isnan implementation.
48251         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48253 2014-02-27  Joey Ye  <joey.ye@arm.com>
48255         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48256         (_FP_NANFRAC_Q): Set to zero.
48258 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48260         [BZ #16623]
48261         * math/auto-libm-test-in: New test inputs.
48262         * math/auto-libm-test-out: Regenerate.
48263         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48264         and DA.
48265         (__cos): Likewise.
48266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48268 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48270         * scripts/evaluate-test.sh: Take new argument indicating whether
48271         failure is expected.
48272         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48273         indicating whether failure is expected.
48274         * conform/Makefile (test-xfail-run-conformtest): New variable.
48275         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48276         level.
48277         * posix/Makefile (test-xfail-annexc): New variable.
48278         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48280 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48282         * argp/Makefile: Include Makeconfig immediately after defining
48283         subdir.
48284         * assert/Makefile: Likewise.
48285         * benchtests/Makefile: Likewise.
48286         * catgets/Makefile: Likewise.
48287         * conform/Makefile: Likewise.
48288         * crypt/Makefile: Likewise.
48289         * csu/Makefile: Likewise.
48290         (all): Remove target.
48291         * ctype/Makefile: Include Makeconfig immediately after defining
48292         subdir.
48293         * debug/Makefile: Likewise.
48294         * dirent/Makefile: Likewise.
48295         * dlfcn/Makefile: Likewise.
48296         * gmon/Makefile: Likewise.
48297         * gnulib/Makefile: Likewise.
48298         * grp/Makefile: Likewise.
48299         * gshadow/Makefile: Likewise.
48300         * hesiod/Makefile: Likewise.
48301         * hurd/Makefile: Likewise.
48302         (all): Remove target.
48303         * iconvdata/Makefile: Include Makeconfig immediately after
48304         defining subdir.
48305         * inet/Makefile: Likewise.
48306         * intl/Makefile: Likewise.
48307         * io/Makefile: Likewise.
48308         * libio/Makefile: Likewise.
48309         (all): Remove target.
48310         * locale/Makefile: Include Makeconfig immediately after defining
48311         subdir.
48312         * login/Makefile: Likewise.
48313         * mach/Makefile: Likewise.
48314         (all): Remove target.
48315         * malloc/Makefile: Include Makeconfig immediately after defining
48316         subdir.
48317         (all): Remove target.
48318         * manual/Makefile: Include Makeconfig immediately after defining
48319         subdir.
48320         * math/Makefile: Likewise.
48321         * misc/Makefile: Likewise.
48322         * nis/Makefile: Likewise.
48323         * nss/Makefile: Likewise.
48324         * po/Makefile: Likewise.
48325         (all): Remove target.
48326         * posix/Makefile: Include Makeconfig immediately after defining
48327         subdir.
48328         * pwd/Makefile: Likewise.
48329         * resolv/Makefile: Likewise.
48330         * resource/Makefile: Likewise.
48331         * rt/Makefile: Likewise.
48332         * setjmp/Makefile: Likewise.
48333         * shadow/Makefile: Likewise.
48334         * signal/Makefile: Likewise.
48335         * socket/Makefile: Likewise.
48336         * soft-fp/Makefile: Likewise.
48337         * stdio-common/Makefile: Likewise.
48338         * stdlib/Makefile: Likewise.
48339         * streams/Makefile: Likewise.
48340         * string/Makefile: Likewise.
48341         * sunrpc/Makefile: Likewise.
48342         (all): Remove target.
48343         * sysvipc/Makefile: Include Makeconfig immediately after defining
48344         subdir.
48345         * termios/Makefile: Likewise.
48346         * time/Makefile: Likewise.
48347         * timezone/Makefile: Likewise.
48348         (all): Remove target.
48349         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48350         subdir.
48351         * wctype/Makefile: Likewise.
48353 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48355         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48356         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48357         (libc_feholdexcept_setround_mips): Ditto.
48358         (libc_feholdsetround): New.
48359         (libc_feholdsetroundf): New.
48360         (libc_feholdsetroundl): New.
48361         (libc_feupdateenv_test_mips): New.
48362         (libc_feupdateenv_test): New.
48363         (libc_feupdateenv_testf): New.
48364         (libc_feupdateenv_testl): New.
48365         (libc_feresetround): New.
48366         (libc_feresetroundf): New.
48367         (libc_feresetroundl): New.
48368         (libc_fetestexcept_mips): New.
48369         (libc_fetestexcept): New.
48370         (libc_fetestexceptf): New.
48371         (libc_fetestexceptl): New.
48372         (HAVE_RM_CTX): New.
48373         (libc_feholdexcept_setround_mips_ctx): New.
48374         (libc_feholdexcept_setround_ctx): New.
48375         (libc_feholdexcept_setroundf_ctx): New.
48376         (libc_feholdexcept_setroundl_ctx): New.
48377         (libc_fesetenv_mips_ctx): New.
48378         (libc_fesetenv_ctx): New.
48379         (libc_fesetenv_ctxf): New.
48380         (libc_fesetenv_ctxl): New.
48381         (libc_feupdateenv_mips_ctx): New.
48382         (libc_feupdateenv_ctx): New.
48383         (libc_feupdateenvf_ctx): New.
48384         (libc_feupdateenvl_ctx): New.
48385         (libc_feholdsetround_mips_ctx): New.
48386         (libc_feholdsetround_ctx): New.
48387         (libc_feholdsetroundf_ctx): New.
48388         (libc_feholdsetroundl_ctx): New.
48389         (libc_feresetround_mips_ctx): New.
48390         (libc_feresetround_ctx): New.
48391         (libc_feresetroundf_ctx): New.
48392         (libc_feresetroundl_ctx): New.
48394 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48396         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48398         * manual/ipc.texi: New file.
48399         * manual/Makefile (chapters): Add ipc.
48400         * manual/job.texi: Add "Inter-Process Communication" to next.
48401         * manual/process.texi: Add "Inter-Process Communication" to prev.
48403 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48407 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48409         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48411         * manual/arith.texi: Fix spaces after sentences.
48412         * manual/charset.texi: Likewise.
48413         * manual/errno.texi: Likewise.
48414         * manual/install.texi: Likewise.
48415         * manual/llio.texi: Likewise.
48416         * manual/locale.texi: Likewise.
48417         * manual/maint.texi: Likewise.
48418         * manual/math.texi: Likewise.
48419         * manual/memory.texi: Likewise.
48420         * manual/message.texi: Likewise.
48421         * manual/probes.texi: Likewise.
48422         * manual/resource.texi: Likewise.
48423         * manual/signal.texi: Likewise.
48424         * manual/socket.texi: Likewise.
48425         * manual/stdio.texi: Likewise.
48426         * manual/string.texi: Likewise.
48427         * manual/time.texi: Likewise.
48428         * manual/users.texi: Likewise.
48430 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48432         [BZ #16632]
48433         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48434         _DEFAULT_SOURCE is defined.
48436 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48437             Carlos O'Donell  <carlos@redhat.com>
48439         [BZ #16613]
48440         * elf/dl-tls.c (_dl_count_modids): New function.
48441         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48442         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48443         audit library and increment generation counter.
48444         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48445         * elf/tst-audit9.c: New file.
48446         * elf/tst-auditmod9a.c: New file.
48447         * elf/tst-auditmod9b.c: New file.
48448         * elf/Makefile: Add rules to build and run tst-audit9.
48450 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48452         [BZ #15347]
48453         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48455 2014-02-25  Will Newton  <will.newton@linaro.org>
48457         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48458         (__longjmp): Restore sp and lr before restoring callee
48459         saved registers.  Add longjmp and longjmp_target
48460         SystemTap probe point.
48461         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48462         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48463         Define to zero to match jmpbuf layout.
48464         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48465         (__sigsetjmp): Save sp and lr before saving callee
48466         saved registers.  Add setjmp SystemTap probe point.
48468 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48470         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48472 2014-02-24  Andreas Schwab  <schwab@suse.de>
48474         [BZ #15804]
48475         * elf/pldd.c (wait_for_ptrace_stop): New function.
48476         (main): Call it after attaching.
48478 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48480         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48481         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48482         Versions files is now verboten.
48483         * hurd/Versions (libc: GLIBC_2.0):
48484         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48485         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48486         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48487         * mach/Versions: Likewise.
48489         * csu/Versions: Remove unused %include.
48490         * resolv/Versions: Likewise.
48492 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
48494         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
48495         ($(objpfx)check-local-headers.out): Likewise.
48496         ($(objpfx)begin-end-check.out): Likewise.
48497         * Makerules (check-abi-%.out): Likewise.
48498         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
48499         ($(objpfx)test2.cat): Likewise.
48500         ($(objpfx)de/libc.cat): Likewise.
48501         ($(objpfx)test-gencat.out): Likewise.
48502         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
48503         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
48504         ($(objpfx)noload-mem): Likewise.
48505         ($(objpfx)tst-pathopt.out): Likewise.
48506         ($(objpfx)tst-rtld-load-self.out): Likewise.
48507         ($(objpfx)tst-array1-cmp.out): Likewise.
48508         ($(objpfx)tst-array1-static-cmp.out): Likewise.
48509         ($(objpfx)tst-array2-cmp.out): Likewise.
48510         ($(objpfx)tst-array3-cmp.out): Likewise.
48511         ($(objpfx)tst-array4-cmp.out): Likewise.
48512         ($(objpfx)tst-array5-cmp.out): Likewise.
48513         ($(objpfx)tst-array5-static-cmp.out): Likewise.
48514         ($(objpfx)check-textrel.out): Likewise.
48515         ($(objpfx)check-execstack.out): Likewise.
48516         ($(objpfx)check-localplt.out): Likewise.
48517         ($(objpfx)order2-cmp.out): Likewise.
48518         ($(objpfx)tst-leaks1-mem): Likewise.
48519         ($(objpfx)tst-leaks1-static-mem): Likewise.
48520         ($(objpfx)tst-initorder-cmp.out): Likewise.
48521         ($(objpfx)tst-initorder2-cmp.out): Likewise.
48522         ($(objpfx)tst-unused-dep.out): Likewise.
48523         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
48524         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
48525         * iconv/Makefile (test-iconvconfig): Likewise.
48526         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
48527         ($(objpfx)iconv-test.out): Likewise.
48528         ($(objpfx)tst-tables.out): Likewise.
48529         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
48530         ($(objpfx)tst-gettext.out): Likewise.
48531         ($(objpfx)tst-translit.out): Likewise.
48532         ($(objpfx)tst-gettext2.out): Likewise.
48533         ($(objpfx)tst-gettext4.out): Likewise.
48534         ($(objpfx)tst-gettext6.out): Likewise.
48535         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
48536         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
48537         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
48538         ($(objpfx)tst-fopenloc-mem.out): Likewise.
48539         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
48540         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
48541         * posix/Makefile ($(objpfx)globtest.out): Likewise.
48542         ($(objpfx)wordexp-tst.out): Likewise.
48543         ($(objpfx)annexc.out): Likewise.
48544         ($(objpfx)tst-fnmatch-mem): Likewise.
48545         ($(objpfx)bug-regex2-mem): Likewise.
48546         ($(objpfx)bug-regex14-mem): Likewise.
48547         ($(objpfx)bug-regex21-mem): Likewise.
48548         ($(objpfx)bug-regex31-mem): Likewise.
48549         ($(objpfx)tst-vfork3-mem): Likewise.
48550         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48551         ($(objpfx)tst-pcre-mem): Likewise.
48552         ($(objpfx)tst-boost-mem): Likewise.
48553         ($(objpfx)tst-getconf.out): Likewise.
48554         ($(objpfx)bug-ga2-mem): Likewise.
48555         ($(objpfx)bug-glob2-mem): Likewise.
48556         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
48557         ($(objpfx)mtrace-tst-leaks2): Likewise.
48558         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
48559         ($(objpfx)tst-printf.out): Likewise.
48560         ($(objpfx)tst-setvbuf1.out): Likewise.
48561         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
48562         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
48563         ($(objpfx)tst-fmtmsg.out): Likewise.
48564         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
48565         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
48567         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
48568         * bits/sigaction.h [__USE_MISC]: Likewise.
48569         * bits/waitstatus.h: Update #endif comments.
48570         * ctype/ctype.h: Likewise.
48571         * dirent/dirent.h: Likewise.
48572         [__USE_MISC]: Remove redundant conditionals.
48573         * grp/grp.h: Update #endif comments.
48574         [__USE_GNU]: Remove redundant conditionals.
48575         [__USE_MISC]: Likewise.
48576         * inet/netinet/in.h [__USE_GNU]: Likewise.
48577         * io/sys/stat.h [__USE_MISC]: Likewise.
48578         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
48579         * libio/bits/stdio.h: Update #endif comments.
48580         [__USE_MISC]: Remove redundant conditionals.
48581         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
48582         * libio/stdio.h: Update #endif comments.
48583         [__USE_MISC]: Remove redundant conditionals.
48584         * math/bits/math-finite.h [__USE_MISC]: Likewise.
48585         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
48586         * math/math.h: Update #else and #endif comments.
48587         [__USE_MISC]: Remove redundant conditionals.
48588         * misc/sys/uio.h: Update #endif comments.
48589         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
48590         * posix/glob.h [__USE_MISC]: Likewise.
48591         * posix/sys/types.h: Update #endif comments.
48592         [__USE_MISC]: Remove redundant conditionals.
48593         * posix/sys/wait.h: Update #endif comments.
48594         [__USE_MISC]: Remove redundant conditionals.
48595         * posix/unistd.h: Update #endif comments.
48596         [__USE_MISC]: Remove redundant conditionals.
48597         * pwd/pwd.h [__USE_GNU]: Likewise.
48598         [__USE_MISC]: Likewise.
48599         * resolv/netdb.h [__USE_GNU]: Likewise.
48600         * signal/signal.h: Update #endif comments.
48601         [__USE_MISC]: Remove redundant conditionals.
48602         * stdlib/stdlib.h: Update #else and #endif comments.
48603         [__USE_MISC]: Remove redundant conditionals.
48604         [__USE_GNU]: Likewise.
48605         * string/bits/string2.h [__USE_MISC]: Likewise.
48606         * string/string.h: Update #endif comments.
48607         [__USE_MISC]: Remove redundant conditionals.
48608         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
48609         Likewise.
48610         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
48611         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
48612         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
48613         Likewise.
48614         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
48615         Likewise.
48616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
48617         comments.
48618         [__USE_MISC]: Remove redundant conditionals.
48619         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
48620         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
48621         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
48622         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
48623         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
48624         Likewise.
48625         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
48626         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
48627         Likewise.
48628         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
48629         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
48630         Likewise.
48631         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
48632         Likewise.
48633         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
48634         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
48635         Likewise.
48636         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
48637         Likewise.
48638         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
48639         * sysdeps/x86/bits/string.h: Update #endif comments.
48640         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
48641         conditionals.
48642         * time/sys/time.h: Update #endif comments.
48643         * time/time.h: Likewise.
48644         [__USE_MISC]: Remove redundant conditionals.
48646 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
48648         [BZ #16600]
48649         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
48651 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
48653         * Versions.def (librt): Add GLIBC_2.17.
48655 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48657         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48658         synonym for _SYS_AUXV_H to allow direct inclusion.
48659         * sysdeps/sparc/bits/hwcap.h: Likewise.
48660         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48661         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48662         * sysdeps/sparc/sysdep.h: Likewise.
48664 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48666         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48668 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48670         * benchtests/bench-strrchr.c: Print length instead of position.
48672 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48674         [BZ #16611]
48675         * sysdeps/unix/sysv/linux/kernel-features.h
48676         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48677         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48678         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48679         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48680         Likewise.
48681         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48682         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48683         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48684         (__ASSUME_SENDMMSG): Define instead of using previous
48685         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48686         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48687         (__ASSUME_SENDMMSG_SYSCALL): Define.
48688         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48689         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48690         Likewise.
48691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48692         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48693         Likewise.
48694         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48695         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48696         Likewise.
48697         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48698         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48699         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48700         [__ASSUME_SENDMMSG]: Change conditionals to
48701         [__ASSUME_SENDMMSG_SOCKETCALL].
48702         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48703         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48704         Define.
48705         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48706         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48707         Likewise.
48708         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48709         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48710         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48711         [!__ASSUME_SENDMMSG]: Change conditional to
48712         [!__ASSUME_SENDMMSG_SOCKETCALL].
48713         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48714         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48715         Define.
48717         [BZ #16610]
48718         * sysdeps/unix/sysv/linux/kernel-features.h
48719         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48720         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48721         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48722         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48723         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48724         [__i386__ || __sparc__]
48725         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48726         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48727         (__ASSUME_RECVMMSG): Define instead of using previous
48728         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48729         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48730         (__ASSUME_RECVMMSG_SYSCALL): Define.
48731         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48732         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48733         Likewise.
48734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48735         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48736         Likewise.
48737         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48738         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48739         Likewise.
48740         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48741         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48742         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48743         [__ASSUME_RECVMMSG]: Change condition to
48744         [__ASSUME_RECVMMSG_SOCKETCALL].
48745         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48746         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48747         Define.
48748         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48749         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48751         Likewise.
48752         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48753         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48754         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48755         [!__ASSUME_RECVMMSG]: Change condition to
48756         [!__ASSUME_RECVMMSG_SOCKETCALL].
48757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48758         (__ASSUME_RECVMMSG_SYSCALL): Define.
48760         [BZ #16609]
48761         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48762         __powerpc__ || __s390__ || __sh__ || __sparc__]
48763         (__ASSUME_SOCKETCALL): Define.
48764         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48765         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48766         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48767         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48768         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48769         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48770         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48771         (__ASSUME_ACCEPT4): Define instead of using previous
48772         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48773         __powerpc__ || __sparc__ || __s390__)] condition.
48774         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48775         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48776         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48777         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48778         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48779         [!__ASSUME_ACCEPT4]: Change condition to
48780         [!__ASSUME_ACCEPT4_SOCKETCALL].
48781         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48782         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48783         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48784         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48785         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48786         __ASSUME_ACCEPT4_SYSCALL.
48787         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48788         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48789         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48790         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48791         __ASSUME_ACCEPT4_SYSCALL.
48792         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48793         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48794         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48795         [__ASSUME_ACCEPT4]: Change condition to
48796         [__ASSUME_ACCEPT4_SOCKETCALL].
48797         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48798         (__ASSUME_SOCKETCALL): Define.
48799         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48800         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48801         (__ASSUME_SOCKETCALL): Define.
48802         (__ASSUME_ACCEPT4): Remove.
48803         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48804         Define.
48805         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48806         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48807         Likewise.
48808         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48809         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48811         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48812         macro.
48813         (HWCAP_ARM_LPAE): Likewise.
48814         (HWCAP_ARM_EVTSTRM): Likewise.
48815         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48816         Add vpfd32, lpae and evtstrm.
48817         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48818         Increase to 22.
48820 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48822         * math/auto-libm-test-in: Add tests of clog10.
48823         * math/auto-libm-test-out: Regenerated.
48824         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48825         * sysdeps/i386/fpu/libm-test-ulps: Update.
48826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48828 2014-02-18  Andreas Schwab  <schwab@suse.de>
48830         [BZ #16574]
48831         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48832         Store non-zero if the second buffer was newly allocated.
48833         (send_dg): Likewise.
48834         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48835         to send_vc and send_dg.
48836         (res_nsend): Pass NULL for ansp2_malloced.
48837         * resolv/res_query.c (__libc_res_nquery): Add parameter
48838         answerp2_malloced and pass it down to __libc_res_nsend.
48839         (res_nquery): Pass additional NULL to __libc_res_nquery.
48840         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48841         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48842         second answer buffer if answerp2_malloced was set.
48843         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48844         (__libc_res_nquerydomain): Add parameter
48845         answerp2_malloced and pass it down to __libc_res_nquery.
48846         (res_nquerydomain): Pass additional NULL to
48847         __libc_res_nquerydomain.
48848         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48849         additional NULL to __libc_res_nsend and __libc_res_nquery.
48850         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48851         additional NULL to __libc_res_nsearch.
48852         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48853         parameter of __libc_res_nsearch to check for separately allocated
48854         second buffer.
48855         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48856         __libc_res_nquery.
48857         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48858         additional NULL to __libc_res_nquery.
48859         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48860         __libc_res_nsearch.
48861         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48862         * include/resolv.h: Update prototypes of __libc_res_nquery,
48863         __libc_res_nsearch, __libc_res_nsend.
48865 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48867         * math/auto-libm-test-in: Add tests of fma.
48868         * math/auto-libm-test-out: Regenerated.
48869         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48870         (fma_towardzero_test_data): Likewise.
48871         (fma_downward_test_data): Likewise.
48872         (fma_upward_test_data): Likewise.
48873         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48874         mpc_mode.
48875         (rounding_modes): Add values for new field.
48876         (func_calc_method): Add value mpfr_fff_f.
48877         (func_calc_desc): Add mpfr_fff_f union field.
48878         (test_function): Add field exact_args.
48879         (FUNC): Add macro argument EXACT_ARGS.
48880         (FUNC_mpfr_f_f): Update call to FUNC.
48881         (FUNC_mpfr_f_f): Likewise.
48882         (FUNC_mpfr_ff_f): Likewise.
48883         (FUNC_mpfr_if_f): Likewise.
48884         (FUNC_mpc_c_f): Likewise.
48885         (FUNC_mpc_c_c): Likewise.
48886         (test_functions): Add fma.  Update calls to FUNC.
48887         (handle_input_arg): Add argument exact_args.
48888         (add_test): Update call to handle_input_arg.
48889         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48890         (output_for_one_input_case): Update call to calc_generic_results.
48891         Recalculate exact zero results in each rounding mode.
48893         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48894         non-negative before setting low bit.
48895         * math/auto-libm-test-in: Mark one asin test possibly having
48896         spurious underflow.
48897         * math/auto-libm-test-out: Regenerated.
48898         * sysdeps/i386/fpu/libm-test-ulps: Update.
48899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48901 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48903         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48904         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48905         ports/sysdeps/unix/sysv/linux/microblaze.
48906         * README: Add missing listing for microblaze*-*-linux-gnu.
48908 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48910         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48911         duplicate code
48913 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48915         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48916         * sysdeps/unix/sysv/linux/ia64: Move directory from
48917         ports/sysdeps/unix/sysv/linux/ia64.
48918         * README: Update listing for ia64-*-linux-gnu.
48920 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48921             Joseph Myers  <joseph@codesourcery.com>
48923         * Makeconfig (test-name): New variable.
48924         (evaluate-test): Likewise.
48925         * Makerules (do-test-clean): Remove .test-result files.
48926         (common-mostlyclean): Likewise.
48927         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48928         * scripts/evaluate-test.sh: New file.
48930 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48932         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48933         separate $(objpfx)tst-fopenloc-cmp.out and
48934         $(objpfx)tst-fopenloc-mem.out targets.
48935         (tests): Update dependencies.
48936         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48937         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48938         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48939         (tst-rxspencer-no-utf8-ARGS): New variable.
48940         (tst-rxspencer-no-utf8-ENV): Likewise.
48941         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48942         instead of $(objpfx)tst-rxspencer-mem.
48943         ($(objpfx)tst-rxspencer-mem): Change target to
48944         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48945         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48946         * posix/tst-rxspencer-no-utf8.c: New file.
48948         * elf/Makefile ($(objpfx)order.out): Remove rule.
48949         [$(run-built-tests) = yes] (tests): Depend on
48950         $(objpfx)order-cmp.out.
48951         ($(objpfx)order-cmp.out): New rule.
48952         [$(run-built-tests) = yes] (tests): Depend on
48953         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48954         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48955         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48956         $(objpfx)tst-array5-static-cmp.out.
48957         ($(objpfx)tst-array1.out): Remove rule.
48958         ($(objpfx)tst-array1-cmp.out): New rule.
48959         ($(objpfx)tst-array1-static.out): Remove rule.
48960         ($(objpfx)tst-array1-static-cmp.out): New rule.
48961         ($(objpfx)tst-array2.out): Remove rule.
48962         ($(objpfx)tst-array2-cmp.out): New rule.
48963         ($(objpfx)tst-array3.out): Remove rule.
48964         ($(objpfx)tst-array3-cmp.out): New rule.
48965         ($(objpfx)tst-array4.out): Remove rule.
48966         ($(objpfx)tst-array4-cmp.out): New rule.
48967         ($(objpfx)tst-array5.out): Remove rule.
48968         ($(objpfx)tst-array5-cmp.out): New rule.
48969         ($(objpfx)tst-array5-static.out): Remove rule.
48970         ($(objpfx)tst-array5-static-cmp.out): New rule.
48971         [$(run-built-tests) = yes] (tests): Depend on
48972         $(objpfx)order2-cmp.out.
48973         ($(objpfx)order2.out): Remove rule.
48974         ($(objpfx)order2-cmp.out): New rule.
48975         ($(objpfx)tst-initorder.out): Remove rule.
48976         [$(run-built-tests) = yes] (tests): Depend on
48977         $(objpfx)tst-initorder-cmp.out.
48978         ($(objpfx)tst-initorder-cmp.out): New rule.
48979         ($(objpfx)tst-initorder2.out): Remove rule.
48980         [$(run-built-tests) = yes] (tests): Depend on
48981         $(objpfx)tst-initorder2-cmp.out.
48982         ($(objpfx)tst-initorder2-cmp.out): New rule.
48983         [$(run-built-tests) = yes] (tests): Depend on
48984         $(objpfx)tst-unused-dep-cmp.out.
48985         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48986         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48987         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48988         on $(objpfx)tst-setvbuf1-cmp.out.
48989         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48990         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48991         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48992         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48993         ($(objpfx)tst-svc.out): Remove rule.
48994         ($(objpfx)tst-svc-cmp.out): New rule.
48996 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48998         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48999         * ctype/ctype.h [__USE_MISC]: Likewise.
49000         * dirent/dirent.h [__USE_MISC]: Likewise.
49001         * grp/grp.h [__USE_MISC]: Likewise.
49002         * io/fcntl.h [__USE_MISC]: Likewise.
49003         * io/sys/stat.h [__USE_MISC]: Likewise.
49004         * libio/stdio.h [__USE_MISC]: Likewise.
49005         * posix/unistd.h [__USE_MISC]: Likewise.
49006         * pwd/pwd.h [__USE_MISC]: Likewise.
49007         * stdlib.h [__USE_MISC]: Likewise.
49008         * string/bits/string2.h [__USE_MISC]: Likewise.
49009         * string/string.h [__USE_MISC]: Likewise.
49010         * time/time.h [__USE_MISC]: Likewise.
49012 2014-02-13  Andreas Schwab  <schwab@suse.de>
49014         [BZ #16574]
49015         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49016         second answer buffer if it was separately allocated.
49018 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49020         * sysdeps/mips/math-tests.h: Include <features.h>.
49021         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49022         (ROUNDING_TESTS_long_double): Do not define.
49023         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49024         (EXCEPTION_TESTS_long_double): Likewise.
49025         * sysdeps/mips/mips64/libm-test-ulps: Update.
49027         * include/features.h (__USE_BSD): Remove macro definitions.
49028         (__USE_SVID): Likewise.
49029         (_BSD_SOURCE): Likewise.
49030         (_SVID_SOURCE): Likewise.
49031         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49032         from definition of _DEFAULT_SOURCE.
49033         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49034         [_DEFAULT_SOURCE].
49035         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49036         * bits/mman.h [__USE_BSD]: Likewise.
49037         * bits/termios.h [__USE_BSD]: Likewise.
49038         * bits/waitstatus.h [__USE_BSD]: Likewise.
49039         * ctype/ctype.h [__USE_SVID]: Likewise.
49040         * dirent/dirent.h [__USE_BSD]: Likewise.
49041         * grp/grp.h [__USE_SVID]: Likewise.
49042         [__USE_BSD]: Likewise.
49043         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49044         * io/fcntl.h [__USE_BSD]: Likewise.
49045         * io/ftw.h [__USE_BSD]: Likewise.
49046         * io/sys/stat.h [__USE_BSD]: Likewise.
49047         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49048         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49049         * libio/stdio.h [__USE_SVID]: Likewise.
49050         [__USE_BSD]: Likewise.
49051         * math/math.h [__USE_SVID]: Likewise.
49052         [__USE_BSD]: Likewise.
49053         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49054         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49055         * misc/search.h [__USE_SVID]: Likewise.
49056         * misc/sys/mman.h [__USE_BSD]: Likewise.
49057         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49058         * misc/sys/uio.h [__USE_BSD]: Likewise.
49059         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49060         * posix/glob.h [__USE_BSD]: Likewise.
49061         * posix/regex.h [__USE_BSD]: Likewise.
49062         * posix/sys/types.h [__USE_BSD]: Likewise.
49063         [__USE_SVID]: Likewise.
49064         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49065         * posix/sys/wait.h [__USE_BSD]: Likewise.
49066         [__USE_SVID]: Likewise.
49067         * posix/unistd.h [__USE_BSD]: Likewise.
49068         [__USE_SVID]: Likewise.
49069         * pwd/pwd.h [__USE_SVID]: Likewise.
49070         * resolv/netdb.h [__USE_BSD]: Likewise.
49071         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49072         * signal/signal.h [__USE_BSD]: Likewise.
49073         [__USE_SVID]: Likewise.
49074         * socket/sys/socket.h [__USE_BSD]: Likewise.
49075         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49076         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49077         [__USE_SVID]: Likewise.
49078         * string/bits/string2.h [__USE_BSD]: Likewise.
49079         [__USE_SVID]: Likewise.
49080         * string/bits/string3.h [__USE_BSD]: Likewise.
49081         * string/endian.h [__USE_BSD]: Likewise.
49082         * string/string.h [__USE_SVID]: Likewise.
49083         [__USE_BSD]: Likewise.
49084         * string/strings.h [__USE_BSD]: Likewise.
49085         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49086         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49087         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49088         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49089         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49090         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49091         Likewise.
49092         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49093         Likewise.
49094         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49095         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49096         Likewise.
49097         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49098         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49099         Likewise.
49100         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49101         Likewise.
49102         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49103         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49104         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49105         Likewise.
49106         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49107         Likewise.
49108         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49109         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49110         * termios/termios.h [__USE_BSD]: Likewise.
49111         * time/sys/time.h [__USE_BSD]: Likewise.
49112         * time/time.h [__USE_BSD]: Likewise.
49113         [__USE_SVID]: Likewise.
49115         * Makefile (subdir_targets): Remove subdir_lint.out.
49117         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49118         (do-tst-printf): Likewise.
49119         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49120         $(objpfx)tst-printf.out.
49122         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49124         * Makerules (check-abi-%): Change target to
49125         $(objpfx)check-abi-%.out.
49126         (check-abi target): Update dependencies.
49127         (check-abi-pattern variable): Redirect output of diff to $@.
49128         (check-abi variable): Likewise.
49129         * elf/Makefile (check-abi): Update dependencies.
49131         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49132         unused.
49133         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49134         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49135         subnormal range.
49136         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49137         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49138         value has largest subnormal exponent.
49139         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49140         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49141         * sysdeps/aarch64/soft-fp/sfp-machine.h
49142         (_FP_TININESS_AFTER_ROUNDING): New macro.
49143         * sysdeps/alpha/soft-fp/sfp-machine.h
49144         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49145         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49146         Likewise.
49147         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49148         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49149         * sysdeps/mips/soft-fp/sfp-machine.h
49150         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49151         * sysdeps/powerpc/soft-fp/sfp-machine.h
49152         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49153         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49154         Likewise.
49155         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49156         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49157         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49158         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49159         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49160         Likewise.
49162 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49164         [BZ #16545]
49165         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49166         model 1.
49168 2014-02-12  Richard Henderson  <rth@redhat.com>
49170         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49171         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49172         * sysdeps/unix/sysv/linux/alpha: Move directory from
49173         ports/sysdeps/unix/sysv/linux/alpha.
49174         * README: Update listing for alpha-*-linux-gnu.
49176 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49178         * include/features.h: Update comment documenting feature test
49179         macros.
49180         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49181         _DEFAULT_SOURCE.
49182         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49183         (_SVID_SOURCE): Likewise.
49184         (_DEFAULT_SOURCE): Update description of default features.
49185         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49186         with _GNU_SOURCE.
49187         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49188         (S_ISVTX): Likewise.
49189         * manual/math.texi (Mathematical Constants): Likewise.
49190         * manual/signal.texi (Interrupted Primitives): Likewise.
49191         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49192         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49193         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49194         Don't refer to _SVID_SOURCE in warning text.
49196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49198         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49199         already defined.
49200         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49201         * sysdeps/mips/dl-lookup.c: Remove.
49202         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49204 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49206         [BZ #16447]
49207         * math/auto-libm-test-in: Add testcase for expl.
49208         * math/auto-libm-test-out: Regenerate.
49209         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49210         calculation of unsafe.
49211         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49213 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49215         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49216         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49217         ports/sysdeps/unix/sysv/linux/aarch64.
49218         * README: Update listing for aarch64*-*-linux-gnu.
49220 2014-02-11  Will Newton  <will.newton@linaro.org>
49222         * manual/probes.texi (Mathematical Function Probes): Use
49223         "triggered" instead of "hit".
49225         * manual/probes.texi (Internal Probes): Add documentation
49226         of setjmp, longjmp and longjmp_target probes.
49228         * include/stap-probe.h: Add comment about probe argument
49229         format.
49231         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49232         definition.  (tr_where, tr_freehook, tr_mallochook,
49233         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49235 2014-02-11  David S. Miller  <davem@davemloft.net>
49237         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49238         processing int_tests.
49240 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49242         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49243         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49244         * sysdeps/unix/sysv/linux/mips: Move directory from
49245         ports/sysdeps/unix/sysv/linux/mips.
49246         * README: Update listing for mips-*-linux-gnu and
49247         mips64-*-linux-gnu.
49249 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49251         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49252         * sysdeps/unix/sysv/linux/m68k: Move directory from
49253         ports/sysdeps/unix/sysv/linux/m68k.
49254         * README: Update listing for m68k-*-linux-gnu.
49256 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49258         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49259         * sysdeps/unix/sysv/linux/generic: Move directory from
49260         ports/sysdeps/unix/sysv/linux/generic.
49261         * sysdeps/unix/sysv/linux/tile: Move directory from
49262         ports/sysdeps/unix/sysv/linux/tile.
49263         * README: Update listing for tile*-*-linux-gnu.
49265 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49267         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49268         __builtin_expect.
49269         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49270         * catgets/open_catalog.c (__open_catalog): Likewise.
49271         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49272         * debug/confstr_chk.c: Likewise.
49273         * debug/fread_chk.c (__fread_chk): Likewise.
49274         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49275         * debug/getgroups_chk.c: Likewise.
49276         * debug/mbsnrtowcs_chk.c: Likewise.
49277         * debug/mbsrtowcs_chk.c: Likewise.
49278         * debug/mbstowcs_chk.c: Likewise.
49279         * debug/memcpy_chk.c: Likewise.
49280         * debug/memmove_chk.c: Likewise.
49281         * debug/mempcpy_chk.c: Likewise.
49282         * debug/memset_chk.c: Likewise.
49283         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49284         * debug/strcat_chk.c (__strcat_chk): Likewise.
49285         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49286         * debug/strncat_chk.c (__strncat_chk): Likewise.
49287         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49288         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49289         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49290         * debug/wcpncpy_chk.c: Likewise.
49291         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49292         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49293         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49294         * debug/wcsncpy_chk.c: Likewise.
49295         * debug/wcsnrtombs_chk.c: Likewise.
49296         * debug/wcsrtombs_chk.c: Likewise.
49297         * debug/wcstombs_chk.c: Likewise.
49298         * debug/wmemcpy_chk.c: Likewise.
49299         * debug/wmemmove_chk.c: Likewise.
49300         * debug/wmempcpy_chk.c: Likewise.
49301         * debug/wmemset_chk.c: Likewise.
49302         * dirent/scandirat.c (SCANDIRAT): Likewise.
49303         * dlfcn/dladdr1.c (dladdr1): Likewise.
49304         * dlfcn/dladdr.c (dladdr): Likewise.
49305         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49306         * dlfcn/dlerror.c (__dlerror): Likewise.
49307         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49308         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49309         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49310         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49311         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49312         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49313         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49314         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49315         Likewise.
49316         * elf/dl-conflict.c: Likewise.
49317         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49318         * elf/dl-dst.h: Likewise.
49319         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49320         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49321         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49322         * elf/dl-init.c (call_init, _dl_init): Likewise.
49323         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49324         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49325         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49326         Likewise.
49327         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49328         Likewise.
49329         * elf/dl-minimal.c (__libc_memalign): Likewise.
49330         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49331         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49332         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49333         * elf/dl-sym.c (do_sym): Likewise.
49334         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49335         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49336         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49337         * elf/dl-writev.h (_dl_writev): Likewise.
49338         * elf/ldconfig.c (search_dir): Likewise.
49339         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49340         (dl_main): Likewise.
49341         * elf/setup-vdso.h (setup_vdso): Likewise.
49342         * grp/compat-initgroups.c (compat_call): Likewise.
49343         * grp/fgetgrent.c (fgetgrent): Likewise.
49344         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49345         * grp/putgrent.c (putgrent): Likewise.
49346         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49347         Likewise.
49348         * hurd/hurdinit.c: Likewise.
49349         * iconvdata/8bit-gap.c (struct): Likewise.
49350         * iconvdata/ansi_x3.110.c : Likewise.
49351         * iconvdata/big5.c : Likewise.
49352         * iconvdata/big5hkscs.c : Likewise.
49353         * iconvdata/cp1255.c: Likewise.
49354         * iconvdata/cp1258.c : Likewise.
49355         * iconvdata/cp932.c : Likewise.
49356         * iconvdata/euc-cn.c: Likewise.
49357         * iconvdata/euc-jisx0213.c : Likewise.
49358         * iconvdata/euc-jp.c: Likewise.
49359         * iconvdata/euc-jp-ms.c : Likewise.
49360         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49361         * iconvdata/gb18030.c : Likewise.
49362         * iconvdata/gbbig5.c (const): Likewise.
49363         * iconvdata/gbgbk.c: Likewise.
49364         * iconvdata/gbk.c : Likewise.
49365         * iconvdata/ibm1364.c : Likewise.
49366         * iconvdata/ibm930.c : Likewise.
49367         * iconvdata/ibm932.c: Likewise.
49368         * iconvdata/ibm933.c : Likewise.
49369         * iconvdata/ibm935.c : Likewise.
49370         * iconvdata/ibm937.c : Likewise.
49371         * iconvdata/ibm939.c : Likewise.
49372         * iconvdata/ibm943.c: Likewise.
49373         * iconvdata/iso_11548-1.c: Likewise.
49374         * iconvdata/iso-2022-cn.c : Likewise.
49375         * iconvdata/iso-2022-cn-ext.c : Likewise.
49376         * iconvdata/iso-2022-jp-3.c: Likewise.
49377         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49378         * iconvdata/iso-2022-kr.c : Likewise.
49379         * iconvdata/iso646.c (gconv_end): Likewise.
49380         * iconvdata/iso_6937-2.c : Likewise.
49381         * iconvdata/iso_6937.c : Likewise.
49382         * iconvdata/iso8859-1.c: Likewise.
49383         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49384         * iconvdata/shift_jisx0213.c : Likewise.
49385         * iconvdata/sjis.c : Likewise.
49386         * iconvdata/t.61.c : Likewise.
49387         * iconvdata/tcvn5712-1.c : Likewise.
49388         * iconvdata/tscii.c: Likewise.
49389         * iconvdata/uhc.c : Likewise.
49390         * iconvdata/unicode.c (gconv_end): Likewise.
49391         * iconvdata/utf-16.c (gconv_end): Likewise.
49392         * iconvdata/utf-32.c (gconv_end): Likewise.
49393         * iconvdata/utf-7.c (base64): Likewise.
49394         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49395         * iconv/gconv_close.c (__gconv_close): Likewise.
49396         * iconv/gconv_open.c (__gconv_open): Likewise.
49397         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49398         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49399         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49400         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49401         (ucs4le_internal_loop_single): Likewise.
49402         * iconv/iconv.c (iconv): Likewise.
49403         * iconv/iconv_close.c: Likewise.
49404         * iconv/loop.c (SINGLE): Likewise.
49405         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49406         * include/atomic.h: Likewise.
49407         * inet/inet6_option.c (option_alloc): Likewise.
49408         * intl/bindtextdom.c (set_binding_values): Likewise.
49409         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49410         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49411         * intl/localealias.c (read_alias_file): Likewise.
49412         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49413         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49414         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49415         * libio/fmemopen.c (fmemopen): Likewise.
49416         * libio/iofgets.c (_IO_fgets): Likewise.
49417         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49418         * libio/iofgetws.c (fgetws): Likewise.
49419         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49420         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49421         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49422         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49423         * locale/findlocale.c (_nl_find_locale): Likewise.
49424         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49425         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49426         Likewise.
49427         * locale/setlocale.c (setlocale): Likewise.
49428         * login/programs/pt_chown.c (main): Likewise.
49429         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49430         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49431         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49432         (mmap, mmap64, mremap, munmap): Likewise.
49433         * math/e_exp2l.c: Likewise.
49434         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49435         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49436         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49437         * math/s_catan.c (__catan): Likewise.
49438         * math/s_catanf.c (__catanf): Likewise.
49439         * math/s_catanh.c (__catanh): Likewise.
49440         * math/s_catanhf.c (__catanhf): Likewise.
49441         * math/s_catanhl.c (__catanhl): Likewise.
49442         * math/s_catanl.c (__catanl): Likewise.
49443         * math/s_ccosh.c (__ccosh): Likewise.
49444         * math/s_ccoshf.c (__ccoshf): Likewise.
49445         * math/s_ccoshl.c (__ccoshl): Likewise.
49446         * math/s_cexp.c (__cexp): Likewise.
49447         * math/s_cexpf.c (__cexpf): Likewise.
49448         * math/s_cexpl.c (__cexpl): Likewise.
49449         * math/s_clog10.c (__clog10): Likewise.
49450         * math/s_clog10f.c (__clog10f): Likewise.
49451         * math/s_clog10l.c (__clog10l): Likewise.
49452         * math/s_clog.c (__clog): Likewise.
49453         * math/s_clogf.c (__clogf): Likewise.
49454         * math/s_clogl.c (__clogl): Likewise.
49455         * math/s_csin.c (__csin): Likewise.
49456         * math/s_csinf.c (__csinf): Likewise.
49457         * math/s_csinh.c (__csinh): Likewise.
49458         * math/s_csinhf.c (__csinhf): Likewise.
49459         * math/s_csinhl.c (__csinhl): Likewise.
49460         * math/s_csinl.c (__csinl): Likewise.
49461         * math/s_csqrt.c (__csqrt): Likewise.
49462         * math/s_csqrtf.c (__csqrtf): Likewise.
49463         * math/s_csqrtl.c (__csqrtl): Likewise.
49464         * math/s_ctan.c (__ctan): Likewise.
49465         * math/s_ctanf.c (__ctanf): Likewise.
49466         * math/s_ctanh.c (__ctanh): Likewise.
49467         * math/s_ctanhf.c (__ctanhf): Likewise.
49468         * math/s_ctanhl.c (__ctanhl): Likewise.
49469         * math/s_ctanl.c (__ctanl): Likewise.
49470         * math/w_pow.c: Likewise.
49471         * math/w_powf.c: Likewise.
49472         * math/w_powl.c: Likewise.
49473         * math/w_scalb.c (sysv_scalb): Likewise.
49474         * math/w_scalbf.c (sysv_scalbf): Likewise.
49475         * math/w_scalbl.c (sysv_scalbl): Likewise.
49476         * misc/error.c (error_tail): Likewise.
49477         * misc/pselect.c (__pselect): Likewise.
49478         * nis/nis_callback.c (__nis_create_callback): Likewise.
49479         * nis/nis_call.c (__nisfind_server): Likewise.
49480         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49481         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49482         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49483         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49484         * nis/nis_lookup.c (nis_lookup): Likewise.
49485         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49486         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49487         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
49488         * nis/nis_xdr.c (xdr_endpoint): Likewise.
49489         * nis/nss_compat/compat-grp.c (getgrent_next_file)
49490         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
49491         * nis/nss_compat/compat-initgroups.c (add_group)
49492         (internal_getgrent_r): Likewise.
49493         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
49494         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
49495         * nis/nss_compat/compat-spwd.c (getspent_next_file)
49496         (internal_getspnam_r): Likewise.
49497         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
49498         (_nss_nis_getaliasbyname_r): Likewise.
49499         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
49500         (_nss_nis_getntohost_r): Likewise.
49501         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
49502         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
49503         (_nss_nis_getgrgid_r): Likewise.
49504         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
49505         (internal_nis_gethostent_r, internal_gethostbyname2_r)
49506         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
49507         (_nss_nis_gethostbyname4_r): Likewise.
49508         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
49509         (initgroups_netid): Likewise.
49510         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
49511         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
49512         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
49513         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
49514         (_nss_nis_getprotobynumber_r): Likewise.
49515         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
49516         (_nss_nis_getsecretkey): Likewise.
49517         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
49518         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
49519         (_nss_nis_getpwuid_r): Likewise.
49520         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
49521         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
49522         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
49523         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
49524         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
49525         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
49526         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
49527         Likewise.
49528         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
49529         (_nss_nisplus_getntohost_r): Likewise.
49530         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
49531         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
49532         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
49533         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
49534         Likewise.
49535         * nis/nss_nisplus/nisplus-initgroups.c
49536         (_nss_nisplus_initgroups_dyn): Likewise.
49537         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
49538         (_nss_nisplus_getnetbyaddr_r): Likewise.
49539         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
49540         (_nss_nisplus_getprotobynumber_r): Likewise.
49541         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
49542         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
49543         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
49544         Likewise.
49545         * nis/nss_nisplus/nisplus-service.c
49546         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
49547         (_nss_nisplus_getservbyport_r): Likewise.
49548         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
49549         (_nss_nisplus_getspnam_r): Likewise.
49550         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
49551         Likewise.
49552         * nscd/aicache.c (addhstaiX): Likewise.
49553         * nscd/cache.c (cache_search, prune_cache): Likewise.
49554         * nscd/connections.c (register_traced_file, send_ro_fd)
49555         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
49556         (main_loop_epoll): Likewise.
49557         * nscd/grpcache.c (addgrbyX): Likewise.
49558         * nscd/hstcache.c (addhstbyX): Likewise.
49559         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49560         * nscd/mem.c (gc, mempool_alloc): Likewise.
49561         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
49562         (addinnetgrX): Likewise.
49563         * nscd/nscd-client.h (__nscd_acquire_maplock)
49564         (__nscd_drop_map_ref): Likewise.
49565         * nscd/nscd_getai.c (__nscd_getai): Likewise.
49566         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
49567         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
49568         Likewise.
49569         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
49570         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49571         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
49572         (__nscd_get_map_ref): Likewise.
49573         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
49574         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
49575         Likewise.
49576         * nscd/pwdcache.c (addpwbyX): Likewise.
49577         * nscd/selinux.c (preserve_capabilities): Likewise.
49578         * nscd/servicescache.c (addservbyX): Likewise.
49579         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
49580         * posix/fnmatch.c (fnmatch): Likewise.
49581         * posix/getopt.c (_getopt_internal_r): Likewise.
49582         * posix/glob.c (glob, glob_in_dir): Likewise.
49583         * posix/wordexp.c (exec_comm_child): Likewise.
49584         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
49585         (getanswer_r, gaih_getanswer_slice): Likewise.
49586         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
49587         * resolv/res_init.c: Likewise.
49588         * resolv/res_mkquery.c (res_nmkquery): Likewise.
49589         * resolv/res_query.c (__libc_res_nquery): Likewise.
49590         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
49591         Likewise.
49592         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
49593         * stdio-common/perror.c (perror): Likewise.
49594         * stdio-common/printf_fp.c (___printf_fp): Likewise.
49595         * stdio-common/tmpnam.c (tmpnam): Likewise.
49596         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49597         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
49598         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
49599         Likewise.
49600         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
49601         * stdlib/putenv.c (putenv): Likewise.
49602         * stdlib/setenv.c (__add_to_environ): Likewise.
49603         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49604         * stdlib/strtol_l.c (INTERNAL): Likewise.
49605         * string/memmem.c (memmem): Likewise.
49606         * string/strerror.c (strerror): Likewise.
49607         * string/strnlen.c (__strnlen): Likewise.
49608         * string/test-memmem.c (simple_memmem): Likewise.
49609         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
49610         * sunrpc/pm_getport.c (__get_socket): Likewise.
49611         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
49612         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
49613         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
49614         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
49615         Likewise.
49616         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
49617         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
49618         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
49619         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
49620         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
49621         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
49622         Likewise.
49623         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
49624         Likewise.
49625         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
49626         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
49627         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49628         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
49629         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
49630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
49631         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49632         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
49633         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
49634         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
49635         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49636         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
49637         Likewise.
49638         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
49639         Likewise.
49640         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
49641         Likewise.
49642         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
49643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49644         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
49645         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
49646         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
49647         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
49648         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49649         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
49650         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
49651         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
49652         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
49653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49654         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49655         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49657         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49658         Likewise.
49659         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49660         Likewise.
49661         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49662         Likewise.
49663         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49664         Likewise.
49665         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49667         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49668         Likewise.
49669         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49670         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49671         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49672         * sysdeps/posix/sleep.c: Likewise.
49673         * sysdeps/posix/tempname.c: Likewise.
49674         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49675         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49676         Likewise.
49677         * sysdeps/powerpc/powerpc32/dl-machine.h
49678         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49679         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49680         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49681         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49682         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49683         Likewise.
49684         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49685         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49686         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49687         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49688         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49689         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49690         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49691         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49692         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49693         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49694         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49695         (elf_machine_lazy_rel): Likewise.
49696         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49698         (elf_machine_lazy_rel): Likewise.
49699         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49700         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49701         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49702         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49703         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49704         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49705         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49707         Likewise.
49708         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49709         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49710         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49711         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49712         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49713         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49714         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49715         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49716         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49717         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49718         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49719         Likewise.
49720         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49721         (__posix_fallocate64_l64): Likewise.
49722         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49723         (posix_fallocate): Likewise.
49724         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49725         Likewise.
49726         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49727         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49728         (getifaddrs_internal): Likewise.
49729         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49730         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49731         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49732         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49733         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49734         (__posix_fallocate64_l64): Likewise.
49735         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49736         Likewise.
49737         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49738         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49739         (__get_clockfreq): Likewise.
49740         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49741         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49742         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49745         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49746         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49747         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49748         Likewise.
49749         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49750         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49751         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49752         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49753         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49754         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49755         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49756         Likewise.
49757         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49758         (posix_fallocate): Likewise.
49759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49760         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49761         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49762         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49763         (elf_machine_rela, elf_machine_rela_relative)
49764         (elf_machine_lazy_rel): Likewise.
49765         * time/asctime.c (asctime_internal): Likewise.
49766         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49767         * time/tzset.c (__tzset_parse_tz): Likewise.
49768         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49769         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49770         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49771         * wcsmbs/wcsmbsload.h: Likewise.
49773         [BZ #15894]
49774         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49776         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49777         (arena_get2): Remove THREAD_STATS conditionals.
49778         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49779         (__malloc_stats, int): Likewise.
49781 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49783         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49784         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49786         * manual/setjmp.texi: Fix typos/grammar errors.
49788         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49789         Only return early when n is <= 0.  Delete unused return statement.
49791         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49792         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49793         * debug/tst-longjmp_chk3.c: New file.
49795         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49796         (test_main): Replace code with set_fortify_handler call.
49797         * debug/test-strcpy_chk.c: Likewise.
49798         * debug/tst-chk1.c: Likewise.
49799         * debug/tst-longjmp_chk.c: Likewise.
49800         * test-skeleton.c: Include fcntl.h & paths.h
49801         (set_fortify_handler): Define.
49803         * debug/tst-longjmp_chk.c: Add header comment and include
49804         ../test-skeleton.c.
49805         (do_test): Mark static.
49806         (TEST_FUNCTION): Define.
49808         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49809         (IP_PMTUDISC_INTERFACE): Likewise.
49810         (IP_MULTICAST_IF): Likewise.
49811         (IP_MULTICAST_TTL): Likewise.
49812         (IP_MULTICAST_LOOP): Likewise.
49813         (IP_ADD_MEMBERSHIP): Likewise.
49814         (IP_DROP_MEMBERSHIP): Likewise.
49815         (IP_UNBLOCK_SOURCE): Likewise.
49816         (IP_BLOCK_SOURCE): Likewise.
49817         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49818         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49819         (IP_MSFILTER): Likewise.
49820         (MCAST_JOIN_GROUP): Likewise.
49821         (MCAST_BLOCK_SOURCE): Likewise.
49822         (MCAST_UNBLOCK_SOURCE): Likewise.
49823         (MCAST_LEAVE_GROUP): Likewise.
49824         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49825         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49826         (MCAST_MSFILTER): Likewise.
49827         (IP_MULTICAST_ALL): Likewise.
49828         (IP_UNICAST_IF): Likewise.
49830         * timezone/Makefile: Delete $(have-ksh) check.
49831         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49832         * timezone/tzselect.ksh: Add +x mode bits.
49834         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49835         (ANON_INODE_FS_MAGIC): Likewise.
49836         (BDEVFS_MAGIC): Likewise.
49837         (BINFMTFS_MAGIC): Likewise.
49838         (BTRFS_TEST_MAGIC): Likewise.
49839         (CRAMFS_MAGIC_WEND): Likewise.
49840         (DEBUGFS_MAGIC): Likewise.
49841         (ECRYPTFS_SUPER_MAGIC): Likewise.
49842         (EXT3_SUPER_MAGIC): Likewise.
49843         (EXT4_SUPER_MAGIC): Likewise.
49844         (FUTEXFS_SUPER_MAGIC): Likewise.
49845         (HOSTFS_SUPER_MAGIC): Likewise.
49846         (HUGETLBFS_MAGIC): Likewise.
49847         (MINIX3_SUPER_MAGIC): Likewise.
49848         (MTD_INODE_FS_MAGIC): Likewise.
49849         (NILFS_SUPER_MAGIC): Likewise.
49850         (OPENPROM_SUPER_MAGIC): Likewise.
49851         (PIPEFS_MAGIC): Likewise.
49852         (PSTOREFS_MAGIC): Likewise.
49853         (QNX6_SUPER_MAGIC): Likewise.
49854         (RAMFS_MAGIC): Likewise.
49855         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49856         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49857         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49858         (SECURITYFS_MAGIC): Likewise.
49859         (SELINUX_MAGIC): Likewise.
49860         (SMACK_MAGIC): Likewise.
49861         (SOCKFS_MAGIC): Likewise.
49862         (SQUASHFS_MAGIC): Likewise.
49863         (STACK_END_MAGIC): Likewise.
49864         (TMPFS_MAGIC): Likewise.
49865         (USBDEVICE_SUPER_MAGIC): Likewise.
49866         (V9FS_MAGIC): Likewise.
49867         (XENFS_SUPER_MAGIC): Likewise.
49868         (CRAMFS_MAGIC): Fix typo in comment.
49869         (EXT2_SUPER_MAGIC): Update comment.
49870         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49872 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49874         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49875         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49876         * sysdeps/unix/sysv/linux/arm: Move directory from
49877         ports/sysdeps/unix/sysv/linux/arm.
49878         * README: Update listing for arm-*-linux-gnueabi.
49880         * README: Remove mention of am33.
49882 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49884         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49885         than the comma operator, to avoid "rhs of comma has no effect"
49886         compiler warnings.
49887         (__sigfillset, __sigandset, __sigorset): Likewise.
49888         * include/signal.h (__sigemptyset): Likewise.
49889         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49891 2014-02-07  Allan McRae  <allan@archlinux.org>
49893         * version.h (RELEASE): Set to "development".
49894         (VERSION): Set to "2.19.90"
49895         * NEWS: Add 2.20 section.
49897 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49899         [BZ #16529]
49900         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49902 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49904         * manual/contrib.texi: Update entry for Carlos O'Donell,
49905         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49907 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49909         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49911         * sysdeps/unix/sysv/linux/kernel-features.h
49912         [__LINUX_KERNEL_VERSION >= 0x020621]
49913         (__ASSUME_PROC_PID_TASK_COMM): Define.
49915 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49917         [BZ #16398]
49918         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49919         conversion when destination buffer does not have enough space.
49920         * libio/tst-ftell-partial-wide.c: New test case.
49921         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49923         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49924         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49925         Leonard and Allan McRae.
49927 2014-02-04  David S. Miller  <davem@davemloft.net>
49929         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49930         32-bit.
49932 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49935         New file
49936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49937         New file
49938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49939         New file.
49940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49941         New file.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49943         New file.
49944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49945         New file.
49946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49947         New file.
49948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49949         New file.
49950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49951         New file.
49952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49953         New file.
49954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49955         New file.
49956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49957         New file.
49958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49959         New file.
49961 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49963         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49964         * shlib-versions: Likewise.
49966 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49967             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49969         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49970         (abilist-pattern): New variable, set to %-le.abilist.
49972         * Makerules (abilist-pattern): New variable.
49973         (vpath): Use $(abilist-pattern) in place of %.abilist.
49974         (check-abi-% pattern rule): Likewise.
49975         (check-abi, update-abi): Likewise.
49977 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49981 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49983         * manual/startup.texi: Add next, previous, and top entries for
49984         the `Program Arguments' and `Environment Variables' nodes.
49986 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49988         * manual/macros.texi: Add comments before MTASC-safety macros.
49990         * manual/users.texi: Document MTASC-safety properties.
49992         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49993         (pthread_getspecific, pthread_setspecific): Format with
49994         @deftypefun, and add @safety note.
49995         * manual/signal.texi: Move comments that analyze the above
49996         functions to their home place.
49998 2014-02-03  Allan McRae  <allan@archlinux.org>
50000         * po/sl.po: Update Slovenian translation from translation project.
50002 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50004         * manual/time.texi (timegm): Add missing blank after @c.
50005         Reported by Joseph Myers <joseph@codesourcery.com>.
50007 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50009         * manual/check-safety.sh: New.
50010         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50012         * manual/terminal.texi: Document MTASC-safety properties.
50014         * manual/filesys.texi: Document MTASC-safety properties.
50016         * manual/errno.texi: Document MTASC-safety properties.
50018         * manual/intro.texi: Document safety identifiers and
50019         conditionals.
50021         * manual/string.texi (wcstok): Fix prototype.
50022         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50024         * manual/time.texi: Document MTASC-safety properties.
50026         * manual/string.texi: Document MTASC-safety properties.
50028         * manual/threads.texi: Document MTASC-safety properties.
50030         * manual/stdio.texi: Document MTASC-safety properties.
50032         * manual/syslog.texi: Document MTASC-safety properties.
50034         * manual/sysinfo.texi: Document MTASC-safety properties.
50036         * manual/startup.texi: Document MTASC-safety properties.
50038         * manual/socket.texi: Document MTASC-safety properties.
50040         * manual/signal.texi: Document MTASC-safety properties.
50042 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50044         * manual/setjmp.texi: Document MTASC-safety properties.
50046         * manual/search.texi: Document MTASC-safety properties.
50048         * manual/resource.texi: Document MTASC-safety properties.
50050         * manual/process.texi: Document MTASC-safety properties.
50052         * manual/platform.texi: Document MTASC-safety properties.
50054         * manual/pipe.texi: Document MTASC-safety properties.
50056         * manual/pattern.texi: Document MTASC-safety properties.
50058         * manual/message.texi: Document MTASC-safety properties.
50060         [BZ #12751]
50061         * manual/memory.texi: Document MTASC-safety properties.
50063         * manual/math.texi: Document MTASC-safety properties.
50065         * manual/locale.texi: Document MTASC-safety properties.
50067         * manual/llio.texi: Document MTASC-safety properties.
50069         * manual/libdl.texi: New.
50071         * manual/lang.texi: Document MTASC-safety properties.
50073         * manual/job.texi: Document MTASC-safety properties.
50075         * manual/getopt.texi: Document MTASC-safety properties.
50077         * manual/ctype.texi: Document MTASC-safety properties.
50079 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50081         [BZ #16046]
50082         * csu/libc-tls.c (static_map): Remove variable.
50083         (__libc_setup_tls): Use main executable's link map for TLS data.
50084         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50085         casing for LM_ID_BASE and GL(dl_nns).
50086         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50087         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50088         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50089         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50090         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50091         member.
50092         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50093         l_phnum members.
50095 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50097         * manual/debug.texi: Document MTASC-safety properties.
50099 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50101         [BZ #16510]
50102         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50103         of __x86_64__ when disabling x87 inline functions.
50105 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50107         * manual/charset.texi: Document MTASC-safety properties.
50109         * manual/crypt.texi: Document MTASC-safety properties.
50111         * manual/conf.texi: Document MTASC-safety properties.
50113         * manual/arith.texi: Document MTASC-safety properties.
50115         * manual/argp.texi: Document MTASC-safety properties.
50117         * manual/macros.texi: Introduce macros to document multi
50118         thread, asynchronous signal and asynchronous cancellation
50119         safety properties.
50120         * manual/intro.texi: Introduce the properties themselves.
50122 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50124         * sysdeps/sh/sh4/Makefile: New file.
50126 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50128         * math/gen-libm-test.pl ($srcdir): New variable.
50129         ($auto_input): Use it.
50131 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50133         [BZ #16506]
50134         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50135         access beyond array bounds when parsing netgroups file.
50137         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50138         the old buffer before realloc.
50140 2014-01-27  Allan McRae  <allan@archlinux.org>
50142         * po/fr.po: Update French translation from translation project.
50144 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50146         * sysdeps/sh/libm-test-ulps: Regenerate.
50148 2014-01-24  David S. Miller  <davem@davemloft.net>
50150         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50152 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50154         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50155         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50157 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         [BZ #16474]
50160         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50161         string pointers after reallocation.
50163 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50165         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50166         __SH4A__ instead of __SH_FPU_ANY__.
50168 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50170         * sysdeps/sh/fpu_control.h: New file.
50171         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50172         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50173         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50174         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50175         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50176         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50177         * sysdeps/sh/sys/ucontext.h: Remove.
50178         * sysdeps/sh/sys: Remove directory.
50180 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50182         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50183         s390/sys/ucontext.h.
50184         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50185         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50187 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50189         [BZ #15605]
50190         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50192 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50194         [BZ#16431]
50195         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50196         Adjust the vDSO correctly for internal calls.
50197         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50199 2014-01-20  Allan McRae  <allan@archlinux.org>
50201         * po/ca.po: Update Catalan translation from translation project.
50203 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50205         * sysdeps/s390/sotruss-lib.c: New file.
50207 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50209         [BZ#16430]
50210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50211         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50212         local calls issues by not having a PLT stub required for IFUNC calls.
50213         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50215 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50217         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50218         * math/test-fpucw-static.c: Likewise.
50220 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50222         [BZ #16453]
50223         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50225 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50227         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50228         implementation for powerpc.
50230 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50232         [BZ #14782]
50233         * sysdeps/posix/system.c (__libc_system): Do not enable
50234         asynchronous cancellation.
50236 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50238         [BZ #16427]
50239         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50240         handling only for numbers special also in the IEEE case.
50242 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50244         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50246 2014-01-11  Allan McRae  <allan@archlinux.org>
50248         * po/bg.po: Update Bulgarian translation from translation project.
50250         * po/de.po: Update German translation from translation project.
50252 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50254         * sysdeps/generic/gcc-compat.h: New file.
50256 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50258         * benchtests/asin-inputs: Correct slow inputs.
50259         * benchtests/acos-inputs: Likewise.
50261 2014-01-10  Allan McRae  <allan@archlinux.org>
50263         * po:sv.po: Update Swedish translation from translation project.
50265         * po/vi.po: Update Vietnamese translation from translation project.
50267         * po/eo.po: Update Esperanto translation from translation project.
50269         * po/cs.po: Update Czech translation from translation project.
50271         * po/nl.po: Update Dutch translation from translation project.
50273         * po/pl.po: Update Polish translation from translation project.
50275         * po/ru.po: Update Russian translation from translation project.
50277         * po/uk.po: Update Ukrainian translation from translation project.
50279 2014-01-08  Brooks Moses  <bmoses@google.com>
50281         * elf/dl-load.c: Fix comment typo.
50283 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50285         * po/header.pot: Rename to...
50286         * po/pot.header: ... this.
50287         * po/Makefile: Use pot.header.
50289 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50290             Maxim Kuvyrkov  <maxim@kugelworks.com>
50292         [BZ #16394]
50293         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50294         SRC and DEST against LEN.
50296 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50298         [BZ #16414]
50299         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50300         implementation.
50301         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50303 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50307 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #16408]
50310         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50311         for large positive arguments.
50313 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50315         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50317         * math/auto-libm-test-in: Mark various tests with
50318         xfail-rounding:ldbl-128ibm.
50319         * math/auto-libm-test-out: Regenerated.
50321         [BZ #16407]
50322         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50323         Increase overflow threshold.
50325 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50327         [BZ #14286]
50328         * stdio-common/vfprintf.c: Check for integer overflow.
50330 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50332         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50333         the first argument and return value of __tls_get_addr_internal.
50335 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50337         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50338         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50340 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50342         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50343         * sysdeps/s390/rtld-global-offsets.sym: New file.
50344         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50345         GLIBC_2.19 symbol.
50346         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50347         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50348         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50349         ... this.
50350         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50351         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50352         ... this.
50353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50354         Regenerate.
50355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50356         Regenerate.
50357         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50358         halfs of GPRs for high_gprs contexts.
50359         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50360         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50361         field.
50362         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50363         uc_flags field.
50364         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50365         64 bit versions:
50366         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50367         for high GPRs (uc_high_gprs) and for future extensions
50368         (__reserved).
50369         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50370         for future extensions (__reserved).
50371         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50372         64 bit versions:
50373         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50374         SC_HIGHGPRS offset definition.
50375         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50376         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50378         * Versions.def: Add GLIBC_2.19 for libpthread.
50379         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50380         siglongjmp for libpthread with GLIBC_2.19 symver.
50381         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50382         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50383         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50384         * sysdeps/s390/__longjmp.c: New file.
50385         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50386         * sysdeps/s390/longjmp.c: New file.
50387         * sysdeps/s390/setjmp.S: New file.
50388         * sysdeps/s390/sigjmp.S: New file.
50389         * sysdeps/s390/v1-longjmp.c: New file.
50390         * sysdeps/s390/v1-setjmp.h: New file.
50391         * sysdeps/s390/v1-sigjmp.c: New file.
50392         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50393         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50394         GLIBC_2.19 version.
50395         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50396         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50397         versioned symbols for ____longjmp_chk.
50398         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50399         Likewise.
50400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50401         Regenerate.
50402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50403         Regenerate.
50404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50405         Regenerate.
50406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50407         Regenerate.
50408         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50409         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50410         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50411         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50412         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50413         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50414         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50415         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50416         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50417         * sysdeps/s390/rtld-__longjmp.c: New file.
50418         * sysdeps/s390/rtld-setjmp.S: New file.
50420 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50422         [BZ #16400]
50423         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50424         Return -__logl (x) for small positive arguments without evaluating
50425         a polynomial.
50427 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50429         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50430         Rename to ...
50431         (__ptrace_peeksiginfo_args): ... this.
50432         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50433         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50434         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50436 2014-01-06  Allan McRae  <allan@archlinux.org>
50438         * inet/netinet/in.h: Fix typo in comment.
50440 2014-01-05  Andreas Jaeger  <aj@suse.de>
50442         * sysdeps/i386/fpu/libm-test-ulps: Update.
50444 2014-01-05  Allan McRae  <allan@archlinux.org>
50446         * po/libc.pot: Regenerated.
50448         * malloc/memusagestat.c: Fix gettext call formatting.
50450 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50452         * nscd/nscd.c: Improve usage() output.
50454 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50456         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50457         * sysdeps/unix/sysv/linux/configure: Regenerated.
50458         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50459         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50461 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50463         [BZ #16390]
50464         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50465         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50467 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50469         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50470         extra tokens at end of #undef directive.
50471         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50472         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50473         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50475 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50477         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50479         * math/auto-libm-test-in: Mark various tests with
50480         xfail-rounding:ldbl-128ibm.
50481         * math/auto-libm-test-out: Regenerated.
50483 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50485         [BZ #16386]
50486         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50487         numbers with subnormal high part when calculating exponent.
50489         [BZ #16385]
50490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50491         fabs.
50493         [BZ #16384]
50494         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
50495         M_LN2l.
50496         (__ieee754_acoshl): Use __log1pl not __log1p.
50498 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
50500         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
50501         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
50502         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
50503         (grow_heap, heap_trim, _int_new_arena, get_free_list)
50504         (reused_arena, arena_get2): Convert to GNU style.
50505         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
50506         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
50507         (memalign_check, __malloc_set_state): Likewise.
50508         * malloc/mallocbug.c (main): Likewise.
50509         * malloc/malloc.c (__malloc_assert, malloc_init_state)
50510         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
50511         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
50512         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
50513         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
50514         (__posix_memalign, malloc_info): Likewise.
50515         * malloc/malloc.h: Likewise.
50516         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
50517         (mallochook, memalignhook, reallochook, mabort): Likewise.
50518         * malloc/mcheck.h: Likewise.
50519         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
50520         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
50521         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
50522         * malloc/morecore.c (__default_morecore): Likewise.
50523         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
50524         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
50525         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
50526         (print_and_abort): Likewise.
50527         * malloc/obstack.h: Likewise.
50528         * malloc/set-freeres.c (__libc_freeres): Likewise.
50529         * malloc/tst-mallocstate.c (main): Likewise.
50530         * malloc/tst-mtrace.c (main): Likewise.
50531         * malloc/tst-realloc.c (do_test): Likewise.
50533 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50535         [BZ #16366]
50536         * nscd/netgroupcache.c (do_notfound): New function.
50537         (addgetnetgrentX): Use it.
50539         [BZ # 16365]
50540         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
50541         NSS_STATUS_NOTFOUND.
50543 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
50545         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50548 2014-01-01  Allan McRae  <allan@archlinux.org>
50550         * scripts/update-copyrights: Update configure input file suffix.
50552         * NEWS: Update copyright year.
50553         * catgets/gencat.c: Likewise.
50554         * csu/version.c: Likewise.
50555         * debug/catchsegv.sh: Likewise.
50556         * debug/pcprofiledump.c: Likewise.
50557         * debug/xtrace.sh: Likewise.
50558         * elf/ldconfig.c: Likewise.
50559         * elf/ldd.bash.in: Likewise.
50560         * elf/pldd.c: Likewise.
50561         * elf/sotruss.ksh: Likewise.
50562         * elf/sprof.c: Likewise.
50563         * iconv/iconv_prog.c: Likewise.
50564         * iconv/iconvconfig.c: Likewise.
50565         * locale/programs/locale.c: Likewise.
50566         * locale/programs/localedef.c: Likewise.
50567         * login/programs/pt_chown.c: Likewise.
50568         * malloc/memusage.sh: Likewise.
50569         * malloc/memusagestat.c: Likewise.
50570         * malloc/mtrace.pl: Likewise.
50571         * manual/libc.texinfo: Likewise.
50572         * nscd/nscd.c: Likewise.
50573         * nss/getent.c: Likewise.
50574         * nss/makedb.c: Likewise.
50575         * posix/getconf.c: Likewise.
50576         * scripts/test-installation.pl: Likewise.
50578         * All files with FSF copyright notices: Update copyright dates
50579         using scripts/update-copyrights.
50580         * intl/plural.c: Regenerated.
50581         * locale/programs/charmap-kw.h: Likewise.
50582         * locale/programs/locfile-kw.h: Likewise.
50584 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
50586         * sysdeps/unix/sysv/linux/configure: Regenerated.
50587         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
50588         the linux/fanotify.h header.
50589         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
50590         HAVE_LINUX_FANOTIFY_H is defined.
50592 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50594         * benchtests/cos-inputs: New inputs.
50595         * benchtests/sin-inputs: Likewise.
50597         * benchtests/atan-inputs: New inputs. Fix name of multiple
50598         precision fallback inputs.
50600         * benchtests/atanh-inputs: New inputs.
50601         * benchtests/tanh-inputs: Likewise.
50603         * benchtests/acosh-inputs: New inputs.
50604         * benchtests/asinh-inputs: Likewise.
50606         * benchtests/cosh-inputs: New inputs.
50607         * benchtests/sinh-inputs: Likewise.
50609         * benchtests/acos-inputs: Add more inputs.
50610         * benchtests/asin-inputs: Likewise.
50612 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
50614         [BZ #16375]
50615         * manual/arith.texi: Fix spelling.
50616         * manual/charset.texi: Likewise.
50617         * manual/errno.texi: Likewise.
50618         * manual/filesys.texi: Likewise.
50619         * manual/lang.texi: Likewise.
50620         * manual/llio.texi: Likewise.
50621         * manual/locale.texi: Likewise.
50622         * manual/message.texi: Likewise.
50623         * manual/resource.texi: Likewise.
50624         * manual/search.texi: Likewise.
50625         * manual/setjmp.texi: Likewise.
50626         * manual/stdio.texi: Likewise.
50627         * manual/string.texi: Likewise.
50628         * manual/sysinfo.texi: Likewise.
50629         * manual/time.texi: Likewise.
50631 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
50633         * po/sl.po: New file.
50635 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
50637         * .gitignore: Add core/.gdbinit/.gdb_history.
50639 2013-12-27  Allan McRae  <allan@archlinux.org>
50641         [BZ #16369]
50642         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
50643         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
50645 2013-12-24  Brooks Moses  <bmoses@google.com>
50647         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
50648         all compilers that claim C++98 compliance, not just GCC.
50649         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
50650         Likewise.
50652 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50654         * NEWS: Restore accidentally deleted bug-fix entries.
50656 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50657             Ondřej Bílka  <neleai@seznam.cz>
50659         [BZ #15073]
50660         * malloc/malloc.c (_int_free): Perform sanity check only if we
50661         have_lock.
50663 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50665         [BZ #12986]
50666         * manual/stdio.texi (String Input Conversions): Clarify that character
50667         classes are not supported.
50669 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50673 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50675         [BZ #16337]
50676         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50677         Calculate results for small negative arguments directly rather
50678         than using reflection formula with special underflow handling.
50680         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50681         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50682         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50683         (fchflags): Likewise.
50684         (revoke): Likewise.
50685         (setlogin): Likewise.
50686         (sigaltstack): Likewise.
50687         (wait4): Likewise.
50688         (sigblock): Remove.
50689         (sigsetmask): Likewise.
50690         (wait3): Likewise.
50691         (waitpid): Likewise.
50692         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50693         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50694         file.
50695         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50696         * sysdeps/unix/bsd/Makefile: ... here.
50697         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50698         * sysdeps/unix/bsd/Versions: ... here.
50699         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50700         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50701         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50702         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50703         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50704         * sysdeps/unix/bsd/sigblock.c: ... here.
50705         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50706         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50707         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50708         * sysdeps/unix/bsd/sigvec.c: ... here.
50709         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50710         * sysdeps/unix/bsd/tcdrain.c: ... here.
50711         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50712         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50713         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50714         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50715         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50716         * sysdeps/unix/bsd/wait.c: ... here.
50717         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50718         * sysdeps/unix/bsd/wait3.c: ... here.
50719         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50720         * sysdeps/unix/bsd/waitpid.c: ... here.
50722 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50724         [BZ #16356]
50725         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50726         round-to-nearest for [!USE_AS_EXPM1L].
50727         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50728         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50729         more tests of exp and exp10.  Expect some exp10 tests to miss
50730         exceptions or fail in directed rounding modes.
50731         * math/auto-libm-test-out: Regenerated.
50732         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50733         (exp10_test_tonearest): New function.
50734         (exp10_towardzero_test_data): New array.
50735         (exp10_test_towardzero): New function.
50736         (exp10_downward_test_data): New array.
50737         (exp10_test_downward): New function.
50738         (exp10_upward_test_data): New array.
50739         (exp10_test_upward): New function.
50740         (main): Call the new functions.
50741         * sysdeps/i386/fpu/libm-test-ulps: Update.
50742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50744 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50746         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50747         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50748         * math/auto-libm-test-out: Regenerated.
50749         * math/libm-test.inc (acosh_test_data): Add more tests.
50750         (atanh_test_data): Likewise.
50751         (ceil_test_data): Likewise.
50752         (copysign_test_data): Likewise.
50753         * sysdeps/i386/fpu/libm-test-ulps: Update.
50754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50756         * timezone/checktab.awk: Update from tzcode 2013i.
50757         * timezone/private.h: Likewise.
50758         * timezone/scheck.c: Likewise.
50759         * timezone/tzfile.h: Likewise.
50760         * timezone/tzselect.ksh: Likewise.
50761         * timezone/zdump.c: Likewise.
50762         * timezone/zic.c: Likewise.
50764         * math/auto-libm-test-in: Add tests of cpow.
50765         * math/auto-libm-test-out: Regenerated.
50766         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50768         mpc_cc_c.
50769         (func_calc_desc): Add mpc_cc_c union field.
50770         (test_functions): Add cpow.
50771         (special_fill_2pi): New function.
50772         (special_real_inputs): Add 2pi.
50773         (calc_generic_results): Handle mpc_cc_c.
50774         * sysdeps/i386/fpu/libm-test-ulps: Update.
50775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50777         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50778         csqrt, ctan and ctanh.
50779         * math/auto-libm-test-out: Regenerated.
50780         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50781         (TEST_COND_x86): Likewise.
50782         (ccos_test_data): Use AUTO_TESTS_c_c.
50783         (ccosh_test_data): Likewise.
50784         (cexp_test_data): Likewise.
50785         (clog_test_data): Likewise.
50786         (csqrt_test_data): Likewise.
50787         (ctan_test_data): Likewise.
50788         (ctan_tonearest_test_data): Likewise.
50789         (ctan_towardzero_test_data): Likewise.
50790         (ctan_downward_test_data): Likewise.
50791         (ctan_upward_test_data): Likewise.
50792         (ctanh_test_data): Likewise.
50793         (ctanh_tonearest_test_data): Likewise.
50794         (ctanh_towardzero_test_data): Likewise.
50795         (ctanh_downward_test_data): Likewise.
50796         (ctanh_upward_test_data): Likewise.
50797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50798         mpc_c_c.
50799         (func_calc_desc): Add mpc_c_c union field.
50800         (FUNC_mpc_c_c): New macro.
50801         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50802         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50803         ctanh.
50804         (special_fill_min_subnorm_p120): New function.
50805         (special_real_inputs): Add min_subnorm_p120.
50806         (calc_generic_results): Handle mpc_c_c.
50807         * sysdeps/i386/fpu/libm-test-ulps: Update.
50808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50810 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50812         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50813         (do_sin_slow): New functions.
50814         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50815         (cslow2, csloww1, csloww2): Use the new functions.
50817         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50818         Use M to change sign of result instead of X.  Assume X is
50819         positive.
50820         (csloww1): Likewise.
50821         (__sin): Adjust.
50822         (__cos): Adjust.
50824         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50825         arguments A and DA.
50826         (__sin): Adjust.
50827         (__cos): Likewise.
50829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50830         (__cos): Likewise.
50831         (sloww1): Don't adjust sign of DX.
50832         (csloww1): Likewise.
50833         (sloww2): Use X directly and don't adjust sign of DX.
50834         (csloww2): Likewise.
50836 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50838         * math/auto-libm-test-in: Add tests of cabs and carg.
50839         * math/auto-libm-test-out: Regenerated.
50840         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50841         (carg_test_data): Likewise.
50842         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50843         mpc_c_f.
50844         (func_calc_desc): Add mpc_c_f union field.
50845         (test_functions): Add cabs and carg.
50846         (calc_generic_results): Handle mpc_c_f.
50848         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50849         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50850         as a macro and a compat symbol.
50851         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50852         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50853         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50854         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50855         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50856         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50857         not use .hidden.
50858         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50859         Likewise.
50860         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50861         Likewise.
50862         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50863         Likewise.
50864         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50865         Likewise.
50866         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50867         Likewise.
50868         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50869         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50870         from GLIBC_2.3.2.
50872 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50876 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50878         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50879         trailing whitespace removed.
50880         * scripts/config.guess: Update to version 2013-11-29.
50881         * scripts/config.sub: Update to version 2013-10-01.
50883         * math/auto-libm-test-in: Add tests of sincos.
50884         * math/auto-libm-test-out: Regenerated.
50885         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50886         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50887         mpfr_f_11.
50888         (func_calc_desc): Add mpfr_f_11 union field.
50889         (test_functions): Add sincos.
50890         (calc_generic_results): Handle mpfr_f_11.
50891         * sysdeps/i386/fpu/libm-test-ulps: Update.
50892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50894 2013-12-19  Andreas Schwab  <schwab@suse.de>
50896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50897         CALL_MCOUNT.
50898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50899         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50900         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50902 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50904         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50905         * sysdeps/i386/fpu/libm-test-ulps: Update.
50906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50908         [BZ #16293]
50909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50910         round-to-nearest mode when using frndint.
50911         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50912         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50913         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50914         Likewise.
50915         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50916         sinh test to fail.
50917         * math/auto-libm-test-out: Regenerated.
50918         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50919         (TEST_COND_x86): Likewise.
50920         (expm1_tonearest_test_data): New array.
50921         (expm1_test_tonearest): New function.
50922         (expm1_towardzero_test_data): New array.
50923         (expm1_test_towardzero): New function.
50924         (expm1_downward_test_data): New array.
50925         (expm1_test_downward): New function.
50926         (expm1_upward_test_data): New array.
50927         (expm1_test_upward): New function.
50928         (main): Run the new test functions.
50929         * sysdeps/i386/fpu/libm-test-ulps: Update.
50930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50932         * include/features.h: Update comment documenting feature test
50933         macros.  Mention _DEFAULT_SOURCE in comment.
50934         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50935         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50936         _BSD_SOURCE and _SVID_SOURCE.
50937         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50938         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50939         !_SVID_SOURCE]: Likewise.
50940         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50941         (__USE_POSIX_IMPLICITLY): Define.
50942         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50943         (_POSIX_SOURCE): Undefine and redefine.
50944         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50945         (_POSIX_C_SOURCE): Likewise.
50946         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50947         (Feature Test Macros): Update documentation of default features.
50949 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50951         * benchtests/Makefile: Add bench-strtok.
50952         * benchtests/bench-strtok.c: New file: strtok benchtest.
50954 2013-12-19  Allan McRae  <allan@archlinux.org>
50956         * manual/install.texi: Suppress menu for plain text output.
50957         * INSTALL: Regenerated.
50959 2013-12-18  Brooks Moses  <bmoses@google.com>
50961         [BZ #15846]
50962         * misc/getauxval.c: Include errno.h.
50963         (__getauxval): Set errno to ENOENT if the requested type is not
50964         found.
50965         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50966         don't declare with __attribute_const__.
50967         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50968         * manual/startup.texi: Document that getauxval sets errno.
50970 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50972         * math/auto-libm-test-in: Add tests of jn and yn.
50973         * math/auto-libm-test-out: Regenerated.
50974         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50975         (yn_test_data): Likewise.
50976         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50977         mpfr_if_f.
50978         (func_calc_desc): Add mpfr_if_f union field.
50979         (FUNC_mpfr_if_f): New macro.
50980         (test_functions): Add jn and yn.
50981         (calc_generic_results): Assert type of second input for
50982         mpfr_ff_f.  Handle mpfr_if_f.
50983         (output_for_one_input_case): Disable all checking for arguments
50984         fitting floating-point types in case of an integer argument.
50985         * sysdeps/i386/fpu/libm-test-ulps: Update.
50986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50989         Don't expect fegetround reference in libm.so.
50991 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50993         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50994         $(config-cflags-nofma).
50996 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50998         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50999         * math/auto-libm-test-out: Regenerated.
51001         [BZ #16338]
51002         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51003         to determine exponent and adjust argument to have exponent of -1.
51004         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51005         log2.
51006         * math/auto-libm-test-out: Regenerated.
51007         * sysdeps/i386/fpu/libm-test-ulps: Update.
51008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51010 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51012         * manual/probes.texi: Remove cases when per-thread arenas are
51013         disabled.
51015 2013-12-18  Andreas Schwab  <schwab@suse.de>
51017         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51018         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51019         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51020         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51021         * sysdeps/i386/i686/multiarch/Makefile: Update.
51022         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51024 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51026         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51027         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51029 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51031         [BZ #15968]
51032         Support TZ transition times < 00:00:00.
51033         This is needed for version-3 tz-format files; it supports time
51034         stamps past 2037 for America/Godthab (the only entry in the tz
51035         database for which this change is relevant).
51036         * manual/time.texi (TZ Variable): Document transition times
51037         from -167:59:59 through -00:00:01.
51038         * time/tzset.c (tz_rule): Time of day is now signed.
51039         (__tzset_parse_tz): Parse negative time of day.
51041         Document TZ transition times >= 25:00:00.
51042         * manual/time.texi (TZ Variable): Document transition times from
51043         25:00:00 through 167:59:59.  These are already supported, and this
51044         support will help with version-3 tz-format files.
51046         * manual/time.texi (TZ Variable): Modernize North America example
51047         to reflect current (i.e., 2007-and-later) daylight saving rules.
51049         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51051 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51053         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51054         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51055         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51057         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51058         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51059         * sysdeps/unix/bsd/clock.c: Likewise.
51060         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51061         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51062         * sysdeps/unix/bsd/init-posix.c: Likewise.
51063         * sysdeps/unix/bsd/poll.c: Likewise.
51064         * sysdeps/unix/bsd/ptsname.c: Likewise.
51065         * sysdeps/unix/bsd/seekdir.c: Likewise.
51066         * sysdeps/unix/bsd/setegid.c: Likewise.
51067         * sysdeps/unix/bsd/seteuid.c: Likewise.
51068         * sysdeps/unix/bsd/setgid.c: Likewise.
51069         * sysdeps/unix/bsd/setrgid.c: Likewise.
51070         * sysdeps/unix/bsd/setruid.c: Likewise.
51071         * sysdeps/unix/bsd/setsid.c: Likewise.
51072         * sysdeps/unix/bsd/setuid.c: Likewise.
51073         * sysdeps/unix/bsd/sigaction.c: Likewise.
51074         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51075         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51076         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51077         * sysdeps/unix/bsd/telldir.c: Likewise.
51078         * sysdeps/unix/bsd/times.c: Likewise.
51079         * sysdeps/unix/bsd/usleep.c: Likewise.
51081         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51082         ($(objpfx)libbsd-compat.a): Remove rule.
51084         * include/features.h (__FAVOR_BSD): Do not define.
51085         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51086         features conflicting with POSIX.
51087         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51088         (_BSD_SOURCE): Remove description of not being a subset of other
51089         feature test macros.
51090         * manual/job.texi (getpgrp): Do not document BSD version.
51091         (getpgid): Do not document by reference to BSD getpgrp.
51092         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51093         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51094         * signal/signal.h [__FAVOR_BSD]: Likewise.
51095         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51096         instead of making contents conditional on [__FAVOR_BSD].
51097         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51099 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51103 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51105         [BZ #16314]
51106         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51107         values below 2**-450, not 2**-500.
51108         * math/auto-libm-test-in: Don't allow spurious underflow from
51109         hypot.
51110         * math/auto-libm-test-out: Regenerated.
51112         [BZ #16316]
51113         [BZ #16330]
51114         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51115         values of ha and hb and sort them after adjusting subnormal
51116         arguments.
51117         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51118         Likewise.
51119         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51120         values of ea and eb and sort them after adjusting subnormal
51121         arguments.
51122         * math/auto-libm-test-in: Do not expect some hypot tests of
51123         subnormals to fail.  Add more hypot tests.
51124         * math/auto-libm-test-out: Regenerated.
51126 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51128         [BZ #13304]
51129         * sysdeps/sh/s_fma.c: New file.
51130         * sysdeps/sh/s_fmaf.c: New file.
51131         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51132         version.
51133         * sysdeps/sh/Implies: Add sh/soft-fp.
51135 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51137         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51138         level of indirection to members `objname', `errstring', `malloced'.
51139         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51140         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51141         it as the __longjmp argument (just pass 1 instead).
51142         (_dl_catch_error): Initialize C with argument pointers and address of
51143         volatile local ERRCODE rather than copying values out of C at return.
51145 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51147         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51148         * math/auto-libm-test-out: Regenerated.
51149         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51150         (hypot_test_data): Likewise.
51151         (pow_test_data): Likewise.
51152         (pow_tonearest_test_data): Likewise.
51153         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51154         mpfr_ff_f.
51155         (func_calc_desc): Add mpfr_ff_f union field.
51156         (FUNC_mpfr_ff_f): New macro.
51157         (test_functions): Add atan2, hypot and pow.
51158         (special_fill_min): New function.
51159         (special_fill_minus_min): Likewise.
51160         (special_fill_min_subnorm): Likewise.
51161         (special_fill_minus_min_subnorm): Likewise.
51162         (special_real_inputs): Add min, -min, min_subnorm and
51163         -min_subnorm.
51164         (calc_generic_results): Handle mpfr_ff_f.
51165         * sysdeps/i386/fpu/libm-test-ulps: Update.
51166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51168 2013-12-16  Will Newton  <will.newton@linaro.org>
51170         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51171         (Aligned Memory Blocks): Add documentation for aligned_alloc
51172         and suggest it as an alternative to posix_memalign.
51173         (Hooks for Malloc): Document __memalign_hook is also called
51174         for aligned_alloc.  (Summary of Malloc): Add summary for
51175         aligned alloc.  Document __memalign_hook is also called
51176         for aligned_alloc.
51178 2013-12-16  Will Newton  <will.newton@linaro.org>
51180         * manual/memory.texi (Malloc Examples): Clarify default
51181         alignment documentation.  Suggest posix_memalign rather
51182         than memalign or valloc.
51183         (Aligned Memory Blocks): Remove suggestion to use memalign
51184         or valloc.  Remove obsolete comment about BSD.
51185         Document memalign errno values and mark the function obsolete.
51186         Document posix_memalign returned error codes.  Mark valloc
51187         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51188         called for posix_memalign and valloc.
51189         (Summary of Malloc): Add posix_memalign to function summary.
51190         __memalign_hook is also called for posix_memalign and valloc.
51192 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51194         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51195         TAYLOR_SIN.
51196         (__sin): Adjust.
51197         (__cos): Likewise.
51198         (sloww): Use mynumber union.  Expand ternary operator into
51199         if-else statements.
51200         (cslow): use mynumber union.
51202 2013-12-16  Allan McRae  <allan@archlinux.org>
51204         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51205         * configure: Regenerated.
51207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51209         [BZ #14120]
51210         * configure.ac: Added --enable-maintainer-mode. Check for
51211         autoconf when enabled.
51212         * configure: Regenerated.
51214         * nscd/nscd.service: New file.
51215         * nscd/nscd.tmpfiles: New file.
51217 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51219         [BZ #12100]
51220         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51221         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51222         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51223         (strstr): Add __strstr_sse2_unaligned ifunc.
51224         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51225         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51226         (strcasestr): Remove __strcasestr_sse42 ifunc.
51227         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51231 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51233         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51234         * sysdeps/sh/bits/fenv.h: ... here.
51235         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51237 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51239         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51242         hypotf multiarch implementations.
51243         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51244         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51245         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51246         multiarch hypot for PPC64.
51247         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51248         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51249         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51250         multiarch hypotf for PPC64.
51252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51253         modff multiarch implementations.
51254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51257         multiarch modf for PPC64.
51258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51261         multiarch modff for PPC64.
51263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51264         and logl multiarch implementations.
51265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51268         multiarch logb for PPC64.
51269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51272         multiarch logb for PPC64.
51273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51276         multiarch logb for PPC64.
51278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51279         isinff multiarch implementation.
51280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51281         file.
51282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51284         multiarch isinf for PPC64.
51285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51286         file.
51287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51288         multiarch isinff for PPC64.
51290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51291         finitef multiarch implementation.
51292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51293         file.
51294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51296         multiarch finite for PPC64.
51297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51298         file.
51299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51300         multiarch finitef for PPC64.
51302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51303         lrint multiarch implementation.
51304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51305         file.
51306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51308         multiarch llrint for PPC64.
51309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51310         multiarch lrint for PPC64.
51312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51313         copysignf multiarch implementation.
51314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51315         file.
51316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51317         file.
51318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51319         multiarch copysign for PPC64.
51320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51321         multiarch copysignf for PPC64.
51323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51324         multiarch implementation.
51325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51326         file.
51327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51328         file.
51329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51330         file.
51331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51332         file.
51333         multiarch llround for PPC64.
51334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51335         multiarch trunc for PPC64.
51336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51337         multiarch truncf for PPC64.
51339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51340         multiarch implementation.
51341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51342         file.
51343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51344         file.
51345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51346         file.
51347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51348         file.
51349         multiarch llround for PPC64.
51350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51351         multiarch round for PPC64.
51352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51353         multiarch roundf for PPC64.
51355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51356         multiarch implementation.
51357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51358         file.
51359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51360         file.
51361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51362         file.
51363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51364         file.
51365         multiarch llround for PPC64.
51366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51367         multiarch floor for PPC64.
51368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51369         multiarch floorf for PPC64.
51371         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51372         multiarch implementation.
51373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51374         file.
51375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51376         file.
51377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51378         file.
51379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51380         file.
51381         multiarch llround for PPC64.
51382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51383         multiarch ceil for PPC64.
51384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51385         multiarch ceilf for PPC64.
51387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51388         multiarch implementation.
51389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51390         file.
51391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51392         file.
51393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51394         file.
51395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51396         multiarch llround for PPC64.
51397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51398         multiarch lround for PPC64.
51400         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51401         multiarch implementation.
51402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51405         file.
51406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51409         multiarch isnan for PPC64.
51410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51411         multiarch isnanf for PPC64.
51413         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51414         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51415         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51416         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51417         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51420         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51421         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51422         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51426         multiarch implementations.
51427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51428         (__libc_ifunc_impl_list): Likewise.
51429         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51430         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51431         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51432         multiarch stpcpy for PPC64.
51434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51435         multiarch implementations.
51436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51437         (__libc_ifunc_impl_list): Likewise.
51438         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51439         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51440         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51441         multiarch strcpy for PPC64.
51443         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51444         redefine function name.
51445         (_wordcopy_fwd_dest_aligned): Likewise.
51446         (_wordcopy_bwd_aligned): Likewise.
51447         (_wordcopy_bwd_dest_aligned): Likewise.
51448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51449         multiarch implementations.
51450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51451         (__libc_ifunc_impl_list): Likewise.
51452         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51453         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51454         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51455         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51456         multiarch wcscpy for PPC64.
51458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51459         multiarch implementations.
51460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51461         (__libc_ifunc_impl_list): Likewise.
51462         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51463         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51464         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51465         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51466         multiarch wcscpy for PPC64.
51468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51469         multiarch implementations.
51470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51471         (__libc_ifunc_impl_list): Likewise.
51472         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51473         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51474         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51475         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51476         multiarch wcsrchr for PPC64.
51478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51479         multiarch implementations.
51480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51481         (__libc_ifunc_impl_list): Likewise.
51482         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51483         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51484         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51485         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51486         multiarch wcschr for PPC64.
51488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
51489         multiarch implementations.
51490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51491         (__libc_ifunc_impl_list): Likewise.
51492         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
51493         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
51494         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
51495         multiarch strchrnul for PPC64.
51497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
51498         implementations.
51499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51500         (__libc_ifunc_impl_list): Likewise.
51501         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
51502         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
51503         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
51504         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
51505         strchr for PPC64.
51507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
51508         implementations.
51509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51510         (__libc_ifunc_impl_list): Likewise.
51511         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
51512         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
51513         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
51514         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
51515         strncmp for PPC64.
51517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51518         multiarch implementations.
51519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51520         (__libc_ifunc_impl_list): Likewise.
51521         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
51522         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
51523         strncasecmp for PPC64.
51524         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
51525         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
51526         multiarch strncasecmp_l for PPC64.
51528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
51529         multiarch implementations.
51530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51531         (__libc_ifunc_impl_list): Likewise.
51532         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
51533         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
51534         multiarch strcasecmp for PPC64.
51535         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
51536         file.
51537         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
51538         multiarch strcasecmp_l for PPC64.
51540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
51541         implementations.
51542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51543         (__libc_ifunc_impl_list): Likewise.
51544         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
51545         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
51546         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
51547         strnlen for PPC64.
51549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
51550         implementations.
51551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51552         (__libc_ifunc_impl_list): Likewise.
51553         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
51554         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
51555         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
51556         strlen for PPC64.
51558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
51559         implementations.
51560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51561         (__libc_ifunc_impl_list): Likewise.
51562         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
51563         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
51564         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
51565         rawmemrchr for PPC64.
51567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
51568         implementation.
51569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51570         (__libc_ifunc_impl_list): Likewise.
51571         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
51572         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
51573         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
51574         memrchr for PPC64.
51576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
51577         implementation.
51578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51579         (__libc_ifunc_impl_list): Likewise.
51580         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
51581         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
51582         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
51583         memchr for PPC64.
51585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
51586         implementation.
51587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51588         (__libc_ifunc_impl_list): Likewise.
51589         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
51590         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
51591         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
51592         mempcpy for PPC64.
51594         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
51595         avoid cretion of __bzero symbol.
51596         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
51597         Likewise.
51598         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
51599         Likewise.
51600         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
51601         Likewise.
51602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
51603         multiarch implementations.
51604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51605         (__libc_ifunc_impl_list): Likewise.
51606         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
51607         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
51608         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
51609         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
51610         bzero for PPC32.
51611         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
51612         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
51613         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
51614         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
51615         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
51616         memset for PPC64.
51617         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
51619         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
51620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
51621         implementations.
51622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51623         (__libc_ifunc_impl_list): Likewise.
51624         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
51625         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
51626         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
51627         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
51628         memcmp for PPC64.
51630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
51631         multiarch for POWER/PPC64.
51632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51633         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
51634         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
51635         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
51636         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
51637         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51638         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
51639         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
51640         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
51641         memcpy for PPC64.
51643         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
51644         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
51645         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
51646         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
51647         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
51648         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
51649         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
51650         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
51651         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
51652         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
51653         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
51654         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51655         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51656         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51657         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51666 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51668         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51670 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51672         * benchtests/Makefile (bench): Add exp2 and log2.
51673         (LDLIBS-bench-exp2): Add -lm.
51674         (LDLIBS-bench-log2): Likewise.
51675         * benchtests/exp2-inputs: New inputs file.
51676         * benchtests/log2-inputs: New inputs file.
51677         * benchtests/log-inputs: Add new inputs.
51678         * benchtests/tan-inputs: Likewise.
51680 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51682         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51683         definition...
51684         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51685         (csloww2): ... from here.
51687         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51688         instead of structures.
51689         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51690         (POLYNOMIAL): Likewise.
51691         (TAYLOR_SLOW): Likewise.
51692         (__sin): Likewise.
51693         (__cos): Likewise.
51694         (slow1): Likewise.
51695         (slow2): Likewise.
51696         (sloww): Likewise.
51697         (sloww1); Likewise.
51698         (sloww2): Likewise.
51699         (bsloww1): Likewise.
51700         (bsloww2): Likewise.
51701         (cslow2): Likewise.
51702         (csloww): Likewise.
51703         (csloww1): Likewise.
51704         (csloww2): Likewise.
51706 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51708         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51709         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51710         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51711         * malloc/hooks.c (realloc_check): Likewise.
51713         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51714         * malloc/arena.c: Remove PER_THREAD conditional.
51715         [!PER_THREAD]: Remove code.
51716         (ptmalloc_unlock_all2): Likewise.
51717         (ptmalloc_init): Likewise.
51718         (_int_new_arena): Likewise.
51719         (arena_get2): Likewise.
51720         * malloc/hooks.c (__malloc_get_state): Likewise.
51721         (__malloc_set_state): Likewise.
51722         * malloc/malloc.c: Likewise.
51723         (struct malloc_state): Likewise.
51724         (struct malloc_par): Likewise.
51725         (__libc_realloc): Likewise.
51726         (__libc_mallopt): Likewise.
51728 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51730         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51732 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51734         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51735         macro to a function.  Check for zero perturb_byte.
51736         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51738         * malloc/malloc.c: (force_reg): Remove.
51739         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51740         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51741         force_reg by atomic_forced_read.
51742         * malloc/arena.c (ptmalloc_init): Likewise.
51743         * malloc/hooks.c (top_check): Likewise.
51745 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51749 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51753 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51755         * math/auto-libm-test-in: Add tests of lgamma.
51756         * math/auto-libm-test-out: Regenerated.
51757         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51758         (M_LOG_2_SQRT_PIl): Likewise.
51759         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51760         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51761         mpfr_f_f1.
51762         (func_calc_desc): Add mpfr_f_f1 union field.
51763         (ARGS1): New macro.
51764         (ARGS2): Likewise.
51765         (ARGS3): Likewise.
51766         (ARGS4): Likewise.
51767         (RET1): Likewise.
51768         (RET2): Likewise.
51769         (CALC): Likewise.
51770         (FUNC): Likewise.
51771         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51772         (test_functions): Add lgamma.
51773         (calc_generic_results): Handle mpfr_f_f1.
51774         * sysdeps/i386/fpu/libm-test-ulps: Update.
51775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51777 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51779         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51780         __mpn_add_n for PowerPC64/POWER7.
51781         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51782         __mpn_sub_n for PowerPC64/POWER7.
51784         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51785         __mpn_addmul_1 for PowerPC64.
51786         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51787         __mpn_submul_1 for PowerPC64.
51788         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51789         for PowerPC64.
51790         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51791         for PowerPC64.
51793 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51795         [BZ #15089]
51796         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51798 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51800         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51802         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51803         add multiarch folders.
51804         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51805         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51806         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51807         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51808         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51809         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51810         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51811         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51812         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51813         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51814         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51823         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51825         New file.
51826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51827         New file.
51828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51829         multiarch __ieee754_hypot for PowerPC32.
51830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51831         New file.
51832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51833         New file.
51834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51835         multiarch __ieee754_hypotf for PowerPC32.
51837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51838         long_double_symbol only if __logbl is defined.
51839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51840         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51841         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51842         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51844         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51845         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51846         path for implementation.
51847         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51848         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51850         logb, and logbl multiarch implementations for PowerPC32.
51851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51852         file.
51853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51854         file.
51855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51856         multiarch logb for PowerPC32.
51857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51858         file.
51859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51860         file.
51861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51862         multiarch logbf for PowerPC32.
51863         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51865         file.
51866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51867         multiarch logbl implementation for PowerPC32.
51869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51870         and modff multiarch implementations.
51871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51872         New file.
51873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51874         New file.
51875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51876         multiarch modf for PowerPC32.
51877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51878         New file.
51879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51880         New file.
51881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51882         multiarch modff for PowerPC32.
51884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51885         and lrintf multiarch implementations.
51886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51887         New file.
51888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51889         New file.
51890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51891         multiarch lrint for PowerPC32.
51892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51893         file: multiarch lrintf for PowerPC32.
51895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51896         and lroundf multiarch implementations.
51897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51898         New file.
51899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51900         New file.
51901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51902         New file.
51903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51904         multiarch lround for PowerPC32.
51905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51906         file: multiarch lroundf for PowerPC32.
51908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51909         copysign and copysignf multiarch implementations.
51910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51911         New file.
51912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51913         New file.
51914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51915         file: multiarch copysign for PowerPC32.
51916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51917         file: multiarch copysignf for PowerPC32.
51919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51920         and truncf multiarch implementations.
51921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51922         New file.
51923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51924         file.
51925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51926         multiarch trunc for PowerPC32.
51927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51928         New file.
51929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51930         New file.
51931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51932         multiarch truncf for PowerPC32.
51934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51935         and roundf multiarch implementations.
51936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51937         New file.
51938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51939         file.
51940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51941         multiarch round for PowerPC32.
51942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51943         New file.
51944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51945         New file.
51946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51947         multiarch roundf for PowerPC32.
51949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51950         and floorf multiarch implementations.
51951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51952         New file.
51953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51954         file.
51955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51956         multiarch floor for PowerPC32.
51957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51958         New file.
51959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51960         New file.
51961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51962         multiarch floorf for PowerPC32.
51964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51965         and ceilf multiarch implementations.
51966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51967         New file.
51968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51969         file.
51970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51971         multiarch ceil for PowerPC32.
51972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51973         New file.
51974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51975         file.
51976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51977         multiarch ceilf for PowerPC32.
51979         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51980         is defined.
51981         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51982         FINITEF is defined.
51983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51984         and finitef multiarch implementations.
51985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51986         New file.
51987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51988         file.
51989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51990         multiarch finite for PowerPC32.
51991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51992         New file.
51993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51994         file: multiarch finitef for PowerPC32.
51996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51997         and isinff multiarch implementations.
51998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51999         file.
52000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52001         file.
52002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52003         multiarch isinf for PowerPC32.
52004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52005         New file.
52006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52007         multiarch isinff for PowerPC32.
52009         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52010         alias when __isnan is defined.
52011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52012         and isnanf multiarch implementations.
52013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52014         file.
52015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52016         file.
52017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52018         file.
52019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52020         file.
52021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52022         multiarch isnan for PowerPC32.
52023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52024         New file.
52025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52026         New file.
52027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52028         multiarch isnanf for PowerPC32.
52030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52031         and sqrtf multiarch implementations.
52032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52033         file.
52034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52035         file.
52036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52037         multiarch sqrt for PowerPC32.
52038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52039         file.
52040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52041         file.
52042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52043         multiarch sqrtf for PowerPC32.
52045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52046         and llroundf multiarch implementations.
52047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52048         New file.
52049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52050         New file.
52051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52052         New file.
52053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52054         file: multiarch llround for PowerPC32.
52055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52056         file: multiarch llroundf for PowerPC32.
52058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52059         multiarch PowerPC32 fpu implementations.
52060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52061         New file.
52062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52063         New file.
52064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52065         multiarch llrint for PowerPC32.
52066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52067         New file.
52068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52069         New file.
52070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52071         file.
52073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52075         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52076         file.
52077         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52078         file.
52079         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52080         file.
52081         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52082         multiarch wordcopy for PPC32.
52083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52084         wordcopy objects.
52085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52086         (__libc_ifunc_impl_list): Likewise.
52087         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52088         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52089         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52090         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52091         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52092         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52094         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52096         file.
52097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52098         file.
52099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52100         file.
52101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52102         multiarch wcscpy for PPC32.
52103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52104         multiarch objects.
52105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52106         (__libc_ifunc_impl_list): Likewise.
52107         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52108         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52109         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52110         sysdeps/powerpc/power6/wcscpy.c.
52112         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52114         file.
52115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52116         file.
52117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52118         file.
52119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52120         multiarch wcsrchr for PPC32.
52121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52122         multiarch objects.
52123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52124         (__libc_ifunc_impl_list): Likewise.
52125         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52126         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52127         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52128         sysdeps/powerpc/power6/wcsrchr.c.
52130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52131         file.
52132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52133         file.
52134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52136         multiarch wcschr for PPc32.
52137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52138         multiarch objects.
52139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52140         (__libc_ifunc_impl_list): Likewise.
52141         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52142         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52143         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52144         sysdeps/powerpc/power6/wcschr.c.
52146         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52147         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52148         file.
52149         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52150         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52151         file: multiarch strchr for PPC32.
52152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52153         multiarch objects.
52154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52155         (__libc_ifunc_impl_list): Likewise.
52157         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52158         name.
52159         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52160         file.
52161         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52162         file.
52163         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52164         multiarch strchrnul for PPC32.
52165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52166         multiarch objects.
52167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52168         (__libc_ifunc_impl_list): Likewise.
52170         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52171         file.
52172         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52173         multiarch strncasecmp for PPC32.
52174         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52175         file.
52176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52177         multiarch strncasecmp_l for PPC32.
52178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52179         strncasecmp multiarch objects.
52180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52181         (__libc_ifunc_impl_list): Likewise.
52183         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52184         file.
52185         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52186         multiarch strncasecmp for PPC32.
52187         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52188         New file.
52189         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52190         multiarch strcasecmp_l for PPC32.
52191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52192         multiarch objects.
52193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52194         (__libc_ifunc_impl_list): Likewise.
52196         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52197         file.
52198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52199         file.
52200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52201         multiarch strncmp for PPC32.
52202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52203         multiarch objects.
52204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52205         (__libc_ifunc_impl_list): Likewise.
52207         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52208         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52209         file.
52210         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52211         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52213         multiarch objects.
52214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52215         (__libc_ifunc_impl_list): Likewise.
52217         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52218         file.
52219         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52220         file.
52221         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52223         multiarch objects.
52224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52225         (__libc_ifunc_impl_list): Likewise.
52227         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52228         file.
52229         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52230         file.
52231         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52232         multiarch rawmemchr for PPC32.
52233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52234         multiarch objects.
52235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52236         (__libc_ifunc_impl_list): Likewise.
52238         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52239         file.
52240         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52241         file.
52242         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52243         file: memrchr multiarch for PPC32.
52244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52245         multiarch objects.
52246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52247         (__libc_ifunc_impl_list): Likewise.
52249         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52250         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52251         file.
52252         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52253         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52254         multiarch memchr for PPC32.
52255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52256         multiarch objects.
52257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52258         (__libc_ifunc_impl_list): Likewise.
52260         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52261         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52262         file.
52263         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52264         file.
52265         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52266         file: multiarch mempcpy for PPC32.
52267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52268         multiarch objects.
52269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52270         (__libc_ifunc_impl_list): Likewise.
52272         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52273         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52274         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52275         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52276         multiarch bzero for PPC32.
52277         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52278         file.
52279         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52280         file.
52281         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52282         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52283         file: multiarch memset for PPC32.
52284         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52286         memset multiarch objects.
52287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52288         (__libc_ifunc_impl_list): Likewise.
52290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52291         file.
52292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52294         memcmp for PPC32.
52295         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52297         multiarch objects.
52298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52299         (__libc_ifunc_impl_list): Likewise.
52301         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52304         file.
52305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52306         file.
52307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52308         file.
52309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52310         multiarch memcpy for PPC32.
52311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52312         multiarch objects.
52313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52314         (__libc_ifunc_impl_list): Likewise.
52316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52317         support multiarch for POWER/PPC32.
52318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52319         Likewise.
52320         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52322         Implies file to make multiarch folder appers before the fpu and
52323         default folder for power4 configuration.
52325 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52327         * scripts/bench.pl: Append volatile keyword to type.
52329 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52331         * sysdeps/sh/sotruss-lib.c: New file.
52332         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52334 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52338 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52340         [BZ #6810]
52341         * math/w_tgamma.c: Include <errno.h>.
52342         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52343         * math/w_tgammaf.c: Include <errno.h>.
52344         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52345         * math/w_tgammal.c: Include <errno.h>.
52346         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52347         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52348         underflow.  Add more tgamma tests.
52349         * math/auto-libm-test-out: Regenerated.
52350         * sysdeps/i386/fpu/libm-test-ulps: Update.
52351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52353         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52354         sin, sinh, tan, tanh, tgamma, y0 and y1.
52355         * math/auto-libm-test-out: Regenerated.
52356         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52357         (TEST_COND_x86): Likewise.
52358         (M_E2l): Remove macro.
52359         (M_E3l): Likewise.
52360         (M_2_SQRT_PIl): Likewise.
52361         (M_SQRT_PIl): Likewise.
52362         (M_1_DIV_El): Likewise.
52363         (log_test_data): Use AUTO_TESTS_f_f.
52364         (log10_test_data): Likewise.
52365         (log1p_test_data): Likewise.
52366         (log2_test_data): Likewise.
52367         (sin_test_data): Likewise.
52368         (sin_tonearest_test_data): Likewise.
52369         (sin_towardzero_test_data): Likewise.
52370         (sin_downward_test_data): Likewise.
52371         (sin_upward_test_data): Likewise.
52372         (sinh_test_data): Likewise.
52373         (sinh_tonearest_test_data): Likewise.
52374         (sinh_towardzero_test_data): Likewise.
52375         (sinh_downward_test_data): Likewise.
52376         (sinh_upward_test_data): Likewise.
52377         (tan_test_data): Likewise.
52378         (tan_tonearest_test_data): Likewise.
52379         (tan_towardzero_test_data): Likewise.
52380         (tan_downward_test_data): Likewise.
52381         (tan_upward_test_data): Likewise.
52382         (tanh_test_data): Likewise.
52383         (tgamma_test_data): Likewise.
52384         (y0_test_data): Likewise.
52385         (y1_test_data): Likewise.
52386         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52387         (special_real_inputs): Add pi/4.
52388         * sysdeps/i386/fpu/libm-test-ulps: Update.
52389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52391 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52393         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52394         "longjmp_target" static probes.
52395         (__longjmp): Rename to __longjmp_symbol.
52396         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52397         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52398         on which longjmp to generate.
52399         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52400         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52401         probe.
52402         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52403         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52404         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52405         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52406         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52407         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52409         __longjmp_symbol based on which __longjmp to generate.
52410         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52411         probe.
52412         (setjmp): Rename to setjmp_symbol.
52413         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52414         (_setjmp): Rename to _setjmp_symbol.
52415         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52416         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52417         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52418         which setjmp to generate.
52419         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52420         "longjmp_target" static probes.
52422 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52424         * benchtests/README: Add note about output arguments.
52425         * benchtests/bench-sincos.c: Remove file.
52426         * benchtests/sincos-inputs: New file.
52427         * scripts/bench.pl: Identify output arguments and define
52428         static variables for them.
52430         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52432         [BZ #15941]
52433         * Makefile (INSTALL): Add install-plain.texi as the primary
52434         dependency.
52435         * manual/install-plain.texi: New file.
52436         * manual/install.texi: Include node directive only for
52437         non-plaintext output.
52439 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52441         * stdlib/longlong.h: Update from GCC.
52443         [BZ #6807]
52444         [BZ #15901]
52445         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52446         * math/w_j0f.c (y0f): Likewise.
52447         * math/w_j0l.c (__y0l): Likewise.
52448         * math/w_j1.c (y1): Likewise.
52449         * math/w_j1f.c (y1f): Likewise.
52450         * math/w_j1l.c (__y1l): Likewise.
52451         * math/w_jn.c (yn): Likewise.
52452         * math/w_jnf.c (ynf): Likewise.
52453         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52454         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52455         value for Bessel function domain errors outside _SVID_ mode.
52456         Adjust sign of return value for yn (negative integer, 0).
52457         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52458         by zero in return for negative x and set sign appropriately for
52459         negative n.
52460         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52461         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52462         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52463         expectations in error cases.
52464         (y1_test_data): Likewise.
52465         (yn_test_data): Likewise.
52466         * sysdeps/i386/fpu/libm-test-ulps: Update.
52467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52469 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52471         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52472         "64" to "64-v1".  Add "64-v2".
52473         (abi-64-options): Rename to ...
52474         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52475         (abi-64-condition): Rename to ...
52476         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52477         (abi-64-ld-soname): Rename to ...
52478         (abi-64-v1-ld-soname): ... this.
52479         (abi-64-v2-options): Define.
52480         (abi-64-v2-condition): Likewise.
52481         (abi-64-v2-ld-soname): Likewise.
52482         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52483         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
52488 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52489             Alan Modra  <amodra@gmail.com>
52491         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52492         New versions for use with the ELFv2 ABI.
52493         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
52494         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
52495         declaration.
52496         (struct La_ppc64v2_retval): Likewise.
52497         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
52498         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
52499         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
52500         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
52501         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
52502         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52503         Do not save or restore CR.
52504         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
52505         (_dl_profile_resolve): Do no save or restore CR.  Support extended
52506         return values for ELFv2 ABI.  Fix location of FPR return registers.
52507         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
52508         updated values for _CALL_ELF == 2.
52509         (La_regs, La_retval, int_retval): Likewise.
52511 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52513         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
52514         (FRAME_MIN_SIZE_PARM): Likewise.
52515         (FRAME_BACKCHAIN): Likewise.
52516         (FRAME_CR_SAVE): Likewise.
52517         (FRAME_LR_SAVE): Likewise.
52518         (FRAME_TOC_SAVE): Likewise.
52519         (FRAME_PARM_SAVE): Likewise.
52520         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
52521         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
52522         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52523         (call_mcount_parm_offset): New macro.
52524         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
52525         (PROF): Use symbolic stack frame offsets.
52526         (TAIL_CALL_SYSCALL_ERROR): Likewise.
52527         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
52528         Redefine in terms of FRAME_MIN_SIZE.
52529         (_dl_runtime_resolve): Use symbolic stack frame offsets.
52530         (_dl_profile_resolve): Likewise.  Update comment.
52531         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
52532         symbols stack frame offsets.
52533         (__sigsetjmp): Likewise.
52534         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
52535         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
52536         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
52537         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
52539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
52540         (FRAME_BACKCHAIN): Remove.
52541         (FRAME_CR_SAVE): Likewise.
52542         (FRAME_LR_SAVE): Likewise.
52543         (FRAME_COMPILER_DW): Likewise.
52544         (FRAME_LINKER_DW): Likewise.
52545         (FRAME_TOC_SAVE): Likewise.
52546         (FRAME_PARM_SAVE): Likewise.
52547         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
52548         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
52549         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
52551         (CHECK_SP): Use symbolic stack frame offsets.
52552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
52553         zone" instead of caller's parameter save area for temp storage.
52554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52555         Likewise.  Also, use symbolic stack frame offsets.
52556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
52557         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
52558         our own stack frame instead of the caller's.
52559         (__socket): Use symbolic stack frame offsets.
52561 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52562             Alan Modra  <amodra@gmail.com>
52564         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
52565         Define.
52566         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
52567         (PPC64_LOCAL_ENTRY_OFFSET): Define.
52568         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
52569         New function.
52570         (elf_machine_fixup_plt): Call it.
52571         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
52572         reloc arguments.
52573         (elf_machine_rela): Update call to elf_machine_plt_conflict.
52574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52575         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
52576         r2 before calling target.
52578 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52579             Alan Modra  <amodra@gmail.com>
52581         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
52582         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
52583         versions of macros to support ELFv2 ABI.
52584         (LOCALENTRY): New macro.
52585         (ENTRY, EALIGN): Use it.
52586         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
52587         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
52588         fall through into ENTRY entry point.
52589         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
52590         Only define if _CALL_ELF != 2.
52592         (elf_machine_matches_host): Verify ABI version matches.
52593         (RTLD_START): Use LOCALENTRY.
52594         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
52595         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
52596         (PLT_ENTRY_WORDS): New macro.
52597         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
52598         (elf_machine_runtime_setup): Support ELFv2 ABI.
52599         (elf_machine_fixup_plt): Likewise.
52600         (elf_machine_plt_conflict): Likewise.
52601         (resolve_ifunc): Likewise.
52602         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52603         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52604         Likewise.
52605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
52606         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
52607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52608         (makecontext): Support ELFv2 ABI.
52609         * elf/elf.h (EF_PPC64_ABI): Define.
52611 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52613         * sysdeps/powerpc/powerpc64/sysdep.h
52614         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
52615         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
52616         (ENTRY) [ASSEMBLER]: ... but instead here ...
52617         (EALIGN) [ASSEMBLER]: ... and here.
52618         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
52619         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
52620         (ENTRY_2) [!ASSEMBLER]: Use it.
52621         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
52622         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
52623         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52624         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
52625         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
52626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
52627         Use PPC64_LOAD_FUNCPTR.
52629         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
52631 2013-12-04  Alan Modra  <amodra@gmail.com>
52633         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
52634         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
52635         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
52636         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
52638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
52639         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
52640         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
52641         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
52642         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
52643         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
52645 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52648         (__makecontext): Fix incorrect CFI when backtracing out of
52649         context created via makecontext.
52650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
52651         (__setcontext): Fix incorrect CFI during switch to new context.
52652         (__novec_setcontext): Likewise.
52654 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52656         [BZ #4772]
52657         * time/strptime_l.c (__strptime_internal): Allow modifiers
52658         in strptime.
52659         * time/tst-strptime.c (day_tests): Add testcase.
52661 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52663         * scripts/bench.pl: Skip over blank lines.
52665 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52667         [BZ #926]
52668         * manual/time.texi (Calendar Time): Clarify what timezone functions
52669         use.
52671 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52675 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52677         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52678         implementation.
52679         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52680         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52681         * debug/memset_chk.c (__memset_chk): Likewise.
52682         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52683         * debug/strncpy_chk.c: Likewise.
52685 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52687         [BZ #15268]
52688         [BZ #15425]
52689         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52690         (__ieee754_exp): For possibly underflowing results, check size of
52691         result and force underflow exception if required.
52692         * math/auto-libm-test-in: Add more tests of exp.
52693         * math/auto-libm-test-out: Regenerated.
52694         * sysdeps/i386/fpu/libm-test-ulps: Update.
52695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52697         [BZ #16283]
52698         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52699         * math/w_exp2f.c (__exp2f): Likewise.
52700         * math/w_exp2l.c (__exp2l): Likewise.
52701         * math/auto-libm-test-in: Do not allow missing errno on exp2
52702         underflow.
52703         * math/auto-libm-test-out: Regenerated.
52705 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52707         [BZ #16274]
52708         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52709         handle filename validation.
52710         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52711         (do_open): Delete.
52713 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52715         [BZ #6786]
52716         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52717         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52718         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52719         <float.h>.
52720         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52721         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52722         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52723         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52724         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52725         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52726         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52727         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52728         Add more erfc tests.
52729         * math/auto-libm-test-out: Regenerated.
52730         * sysdeps/i386/fpu/libm-test-ulps: Update.
52731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52733         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52734         exp2, expm1, j0 and j1.
52735         * math/auto-libm-test-out: Regenerated.
52736         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52737         (erfc_test_data): Likewise.
52738         (exp_test_data): Likewise.
52739         (exp_tonearest_test_data): Likewise.
52740         (exp_towardzero_test_data): Likewise.
52741         (exp_downward_test_data): Likewise.
52742         (exp_upward_test_data): Likewise.
52743         (exp10_test_data): Likewise.
52744         (exp2_test_data): Likewise.
52745         (expm1_test_data): Likewise.
52746         (j0_test_data): Likewise.
52747         (j1_test_data): Likewise.
52748         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52749         (input_flag_type): Add flag_xfail_rounding.
52750         (input_flags): Add xfail-rounding.
52751         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52752         (output_for_one_input_case): Handle flag_xfail_rounding.
52753         * sysdeps/i386/fpu/libm-test-ulps: Update.
52754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52756 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52758         [BZ #16289]
52759         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52760         division by 0.
52762 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52764         [BZ #16195]
52765         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52766         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52767         (STAP_PROBE0): New macro.
52768         (STAP_PROBE1): Likewise.
52769         (STAP_PROBE2): Likewise.
52770         (STAP_PROBE3): Likewise.
52771         (STAP_PROBE4): Likewise.
52773 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52775         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52777 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52779         * benchtests/Makefile (bench): Add sqrt.
52780         (LDLIBS-bench-sqrt): New.
52781         * benchtests/sqrt-input: New.
52783 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52785         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52786         (GAIH_EAI): Likewise.
52787         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52788         (gaih_inet): Likewise.
52789         (getaddrinfo): Don't use GAIH_EAI.
52791         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52792         (struct gaih): Remove definition.
52794 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52796         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52797         Use HERRNOP directly.
52799 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52803 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52805         * math/gen-auto-libm-tests.c (test_functions): Add more
52806         single-argument functions.
52807         (special_fill_pi_2): New function.
52808         (special_fill_minus_pi_2): Likewise.
52809         (special_fill_pi_6): Likewise.
52810         (special_fill_minus_pi_6): Likewise.
52811         (special_fill_pi_3): Likewise.
52812         (special_fill_2pi_3): Likewise.
52813         (special_fill_e): Likewise.
52814         (special_fill_1_e): Likewise.
52815         (special_fill_e_minus_1): Likewise.
52816         (special_real_inputs): Add more special inputs.
52817         (output_for_one_input_case): Do not require ERANGE on underflow to
52818         zero if round-to-nearest result does not underflow to zero, unless
52819         exact results required.
52820         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52821         atan, atanh, cbrt, cos and cosh.
52822         * math/auto-libm-test-out: Regenerated.
52823         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52824         (acos_tonearest_test_data): Likewise.
52825         (acos_towardzero_test_data): Likewise.
52826         (acos_downward_test_data): Likewise.
52827         (acos_upward_test_data): Likewise.
52828         (acosh_test_data): Likewise.
52829         (asin_test_data): Likewise.
52830         (asin_tonearest_test_data): Likewise.
52831         (asin_towardzero_test_data): Likewise.
52832         (asin_upward_test_data): Likewise.
52833         (asinh_test_data): Likewise.
52834         (atan_test_data): Likewise.
52835         (atanh_test_data): Likewise.
52836         (cbrt_test_data): Likewise.
52837         (cos_test_data): Likewise.
52838         (cos_tonearest_test_data): Likewise.
52839         (cos_towardzero_test_data): Likewise.
52840         (cos_downward_test_data): Likewise.
52841         (cos_upward_test_data): Likewise.
52842         (cosh_test_data): Likewise.
52843         (cosh_tonearest_test_data): Likewise.
52844         (cosh_towardzero_test_data): Likewise.
52845         (cosh_downward_test_data): Likewise.
52846         (cosh_upward_test_data): Likewise.
52847         * sysdeps/i386/fpu/libm-test-ulps: Update.
52848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52850 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52852         [BZ #6787]
52853         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52854         * math/w_exp10f.c (__exp10f): Likewise.
52855         * math/w_exp10l.c (__exp10l): Likewise.
52856         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52857         errno settings in existing tests.
52859         [BZ #14032]
52860         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52861         precision control set to double precision.
52862         * sysdeps/i386/fpu/w_sqrt.c: New file.
52863         * math/auto-libm-test-in: Add more tests.
52864         * math/auto-libm-test-out: Update.
52866         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52867         (sqrt_test_tonearest): New function.
52868         (sqrt_towardzero_test_data): New variable.
52869         (sqrt_test_towardzero): New function.
52870         (sqrt_downward_test_data): New variable.
52871         (sqrt_test_downward): New function.
52872         (sqrt_upward_test_data): New variable.
52873         (sqrt_test_upward): New function.
52874         (main): Call the new functions.
52876         * math/gen-auto-libm-tests.c: New file.
52877         * math/auto-libm-test-in: Likewise.
52878         * math/auto-libm-test-out: New generated file.
52879         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52880         variables.
52881         (%beautify): Add generated representations of zero.
52882         (top level): Set $auto_input and call parse_auto_input.
52883         (beautify): Remove trailing "f" from hex float constants.
52884         (parse_args): Handle XFAIL_TEST.
52885         (convert_condition): New function.
52886         (or_value): Likewise.
52887         (or_cond_value): Likewise.
52888         (generate_testfile): Handle AUTO_TESTS_* lines.
52889         (parse_auto_input): New function.
52890         * math/libm-test.inc (XFAIL_TEST): New macro.
52891         (ERRNO_UNCHANGED): Update value.
52892         (ERRNO_EDOM): Likewise.
52893         (ERRNO_ERANGE): Likewise.
52894         (IGNORE_RESULT): Likewise.
52895         (TEST_COND_flt_32): New macro.
52896         (TEST_COND_dbl_64): Likewise.
52897         (TEST_COND_ldbl_96_intel): Likewise.
52898         (TEST_COND_ldbl_96_m68k): Likewise.
52899         (TEST_COND_ldbl_128): Likewise.
52900         (TEST_COND_ldbl_128ibm): Likewise.
52901         (TEST_COND_long32): Likewise.
52902         (TEST_COND_long64): Likewise.
52903         (TEST_COND_before_rounding): Likewise.
52904         (TEST_COND_after_rounding): Likewise.
52905         (enable_test): Handle XFAIL_TEST flag.
52906         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52907         with finite results.
52908         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52909         auto-libm-test-out.
52911 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52912             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52914         [BZ #16214]
52915         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52916         __tls_get_addr_internal instead of __tls_get_offset in order to
52917         avoid GOT pointer dependency.  Make rtld export
52918         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52919         __tls_get_addr since we are a __tls_get_offset platform.
52920         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52921         GOT pointer being set up before.
52922         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52924 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52926         * manual/math.texi (Errors in Math Functions): Document accuracy
52927         goals.
52929         [BZ #15004]
52930         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52931         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52932         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52933         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52934         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52935         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52936         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52937         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52938         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52939         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52940         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52941         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52942         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52943         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52944         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52945         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52947         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52948         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52949         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52950         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52951         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52952         Likewise.
52953         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52954         Likewise.
52955         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52956         Likewise.
52957         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52958         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52959         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52960         atomic-feupdateenv and flt-rounds.
52961         * sysdeps/powerpc/nofpu/Versions (libc): Add
52962         __atomic_feholdexcept, __atomic_feclearexcept,
52963         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52964         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52965         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52966         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52967         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52968         here.
52969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52970         Update.
52972         * manual/arith.texi (FP Exceptions): Document that exceptions may
52973         not be raised when matherr is used.
52974         (Math Error Reporting): Document overflow in directed rounding
52975         modes.  Document that errno may not be set when finite values are
52976         returned on overflow.  Document intent to set errno on underflow
52977         only for underflow to zero.
52979         [BZ #16271]
52980         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52981         round-to-nearest then adjust result for other rounding modes.
52982         * include/fenv.h (fegetround): Use libm_hidden_proto.
52983         * math/fegetround.c (fegetround): Use libm_hidden_def.
52984         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52985         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52986         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52987         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52988         Likewise.
52989         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52990         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52991         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52992         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52994 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52996         [BZ #16077]
52997         * nss/Versions (libnss_files): Add
52998         _nss_files_gethostbyname3_r.
52999         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53000         New function.
53001         (HOST_DB_LOOKUP): Remove macro.
53002         (_nss_files_gethostbyname_r): Implement function without the
53003         HOST_DB_LOOKUP macro.
53004         (_nss_files_gethostbyname2_r): Likewise.
53006 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53008         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53010 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53012         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53013         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53014         warning.
53016 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53018         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53019         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53020         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53021         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53022         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53023         __fe_nomask_env_priv and attribute_hidden.
53024         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53025         (libc_feupdateenv_test_ppc): Likewise.
53026         (libc_feresetround_ppc): Likewise.
53027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53028         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53029         compat_symbol macro.
53030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53031         (__fe_nomask_env): Likewise.
53032         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53034 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53036         * string/Makefile: Remove ifunc tests.
53037         * string/test-string.h: Define TEST_IFUNC.
53038         * string/test-bcopy-ifunc.c: Remove.
53039         * string/test-bzero-ifunc.c: Likewise.
53040         * string/test-memccpy-ifunc.c: Likewise.
53041         * string/test-memchr-ifunc.c: Likewise.
53042         * string/test-memcmp-ifunc.c: Likewise.
53043         * string/test-memcpy-ifunc.c: Likewise.
53044         * string/test-memmem-ifunc.c: Likewise.
53045         * string/test-memmove-ifunc.c: Likewise.
53046         * string/test-mempcpy-ifunc.c: Likewise.
53047         * string/test-memrchr-ifunc.c: Likewise.
53048         * string/test-memset-ifunc.c: Likewise.
53049         * string/test-rawmemchr-ifunc.c: Likewise.
53050         * string/test-stpcpy-ifunc.c: Likewise.
53051         * string/test-stpncpy-ifunc.c: Likewise.
53052         * string/test-strcasecmp-ifunc.c: Likewise.
53053         * string/test-strcasestr-ifunc.c: Likewise.
53054         * string/test-strcat-ifunc.c: Likewise.
53055         * string/test-strchr-ifunc.c: Likewise.
53056         * string/test-strchrnul-ifunc.c: Likewise.
53057         * string/test-strcmp-ifunc.c: Likewise.
53058         * string/test-strcpy-ifunc.c: Likewise.
53059         * string/test-strcspn-ifunc.c: Likewise.
53060         * string/test-strlen-ifunc.c: Likewise.
53061         * string/test-strncasecmp-ifunc.c: Likewise.
53062         * string/test-strncat-ifunc.c: Likewise.
53063         * string/test-strncmp-ifunc.c: Likewise.
53064         * string/test-strncpy-ifunc.c: Likewise.
53065         * string/test-strnlen-ifunc.c: Likewise.
53066         * string/test-strpbrk-ifunc.c: Likewise.
53067         * string/test-strrchr-ifunc.c: Likewise.
53068         * string/test-strspn-ifunc.c: Likewise.
53069         * string/test-strstr-ifunc.c: Likewise.
53071 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53073         * benchtests/Makefile: Remove ifunc tests.
53074         * benchtests/bench-string.h: Define TEST_IFUNC.
53075         * benchtests/bench-bcopy-ifunc.c: Remove.
53076         * benchtests/bench-bzero-ifunc.c: Likewise.
53077         * benchtests/bench-memccpy-ifunc.c: Likewise.
53078         * benchtests/bench-memchr-ifunc.c: Likewise.
53079         * benchtests/bench-memcmp-ifunc.c: Likewise.
53080         * benchtests/bench-memcpy-ifunc.c: Likewise.
53081         * benchtests/bench-memmem-ifunc.c: Likewise.
53082         * benchtests/bench-memmove-ifunc.c: Likewise.
53083         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53084         * benchtests/bench-memrchr-ifunc.c: Likewise.
53085         * benchtests/bench-memset-ifunc.c: Likewise.
53086         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53087         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53088         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53089         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53090         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53091         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53092         * benchtests/bench-strcat-ifunc.c: Likewise.
53093         * benchtests/bench-strchr-ifunc.c: Likewise.
53094         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53095         * benchtests/bench-strcmp-ifunc.c: Likewise.
53096         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53097         * benchtests/bench-strcpy-ifunc.c: Likewise.
53098         * benchtests/bench-strcspn-ifunc.c: Likewise.
53099         * benchtests/bench-strlen-ifunc.c: Likewise.
53100         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53101         * benchtests/bench-strncat-ifunc.c: Likewise.
53102         * benchtests/bench-strncmp-ifunc.c: Likewise.
53103         * benchtests/bench-strncpy-ifunc.c: Likewise.
53104         * benchtests/bench-strnlen-ifunc.c: Likewise.
53105         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53106         * benchtests/bench-strrchr-ifunc.c: Likewise.
53107         * benchtests/bench-strsep-ifunc.c: Likewise.
53108         * benchtests/bench-strspn-ifunc.c: Likewise.
53109         * benchtests/bench-strstr-ifunc.c: Likewise.
53111 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53113         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53115 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53117         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53118         * rt/aio.h: Likewise.
53119         * sysdeps/gnu/bits/utmp.h: Likewise.
53120         * sysdeps/gnu/bits/utmpx.h: Likewise.
53121         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53122         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53123         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53124         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53125         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53126         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53127         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53128         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53129         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53130         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53131         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53132         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53133         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53135         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53136         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53137         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53138         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53139         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53140         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53141         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53142         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53143         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53144         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53145         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53147         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53148         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53149         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53150         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53151         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53152         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53153         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53154         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53155         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53156         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53157         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53158         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53159         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53160         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53161         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53162         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53164 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53166         [BZ #16245]
53167         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53168         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53170 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53172         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53173         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53174         Likewise.
53176 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53178         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53179         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53180         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53181         (__fesetround): Remove define.
53182         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53183         rounding and exceptions handling.
53184         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53185         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53186         (__fe_nomask_env): Likewise.
53187         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53188         __fegetround instead of fegetround.
53189         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53190         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53192 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53194         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53195         it's there.
53197         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53199 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53201         [BZ #11157]
53202         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53203         (encrypt_r): Likewise.
53204         * malloc/obstack.h (obstack_free): Likewise.
53205         * posix/unistd.h (encrypt): Likewise.
53207 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53209         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53210         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53211         DL_CALL_DT_FINI() that call the functions directly.
53212         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53213         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53214         * elf/dl-fini.c: Likewise.
53216 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53218         * malloc/hooks.c (memalign_check): Add alignment rounding.
53219         * malloc/malloc.c (_mid_memalign): New function.
53220         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53221         Implement by calling _mid_memalign.
53222         * manual/probes.texi (Memory Allocation Probes): Remove
53223         memory_valloc_retry and memory_pvalloc_retry.
53225 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227         * locale/programs/locarchive.c (open_archive): Add const
53228         qualifier to ARCHIVEFNAME and copy default fname to
53229         DEFAULT_FNAME.
53231         [BZ #15601]
53232         * libio/tst-widetext.input: Rename Oriya to Odia.
53233         * locale/iso-639.def: Likewise.
53235         * manual/probes.texi (Mathematical Function Probes): Add
53236         documentation for sin, cos, asin and acos probes.
53237         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53238         (__sin32): Add slowasin probe.
53239         (__cos32): Add slowacos probe.
53240         (__mpsin): Add slowsin probe.
53241         (__mpcos): Add slowcos probe.
53243 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53245         [BZ #15483]
53246         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53247         thread-local __sim_exceptions_thread and global
53248         __sim_exceptions_global.
53249         (__sim_disabled_exceptions): Change to thread-local
53250         __sim_disabled_exceptions_thread and global
53251         __sim_disabled_exceptions_global.
53252         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53253         and global __sim_round_mode_global.
53254         (__simulate_exceptions): Use thread-local floating-point state and
53255         set global state from it as needed.
53256         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53257         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53258         __sim_round_mode_thread.
53259         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53260         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53261         and global __sim_exceptions_global.
53262         (__sim_disabled_exceptions): Change to thread-local
53263         __sim_disabled_exceptions_thread and global
53264         __sim_disabled_exceptions_global.
53265         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53266         and global __sim_round_mode_global.
53267         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53268         (SIM_SET_GLOBAL): Likewise.
53269         * sysdeps/powerpc/soft-fp/sfp-machine.h
53270         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53271         __sim_round_mode_thread.
53272         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53273         __sim_disabled_exceptions_thread.
53274         (__sim_exceptions): Change to __sim_exceptions_thread.
53275         (__sim_disabled_exceptions): Change to
53276         __sim_disabled_exceptions_thread.
53277         (__sim_round_mode): Change to __sim_round_mode_thread.
53278         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53279         thread-local floating-point state and set global state from it as
53280         needed.
53281         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53282         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53283         (__sim_disabled_exceptions): Remove extern declaration.
53284         (feenableexcept): Use thread-local floating-point state and set
53285         global state from it as needed.
53286         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53287         extern declaration.
53288         (__sim_disabled_exceptions): Likewise.
53289         (__sim_round_mode): Likewise.
53290         (__fegetenv): Use thread-local floating-point state.
53291         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53292         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53293         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53294         floating-point state and set global state from it as needed.
53295         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53296         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53297         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53298         Likewise.
53299         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53300         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53301         Likewise.
53302         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53303         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53304         Use __sim_round_mode_thread.
53305         * math/test-fenv-tls.c: New file.
53306         * math/Makefile (tests): Add test-fenv-tls.
53307         ($(objpfx)test-fenv-tls): Depend on
53308         $(common-objpfx)nptl/libpthread.so.
53310 2013-11-19  Andreas Schwab  <schwab@suse.de>
53312         * locale/programs/locale.c (show_info): Decode wordarray elements.
53313         * locale/categories.def (LC_MONETARY): Add element for
53314         _NL_MONETARY_CRNCYSTR.
53315         * locale/C-monetary.c (conversion_rate): New variable.
53316         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53317         element.
53319 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53321         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53322         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53324 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53326         * elf/Makefile (tst-auxv): New test.
53327         * elf/tst-auxv.c: New
53328         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53330 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53332         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53333         (hidden_proto): Caller changed.
53334         (hidden_tls_proto): New macro.
53335         (libc_hidden_tls_proto): Likewise.
53336         (rtld_hidden_tls_proto): Likewise.
53337         (libm_hidden_tls_proto): Likewise.
53338         (libresolv_hidden_tls_proto): Likewise.
53339         (librt_hidden_tls_proto): Likewise.
53340         (libdl_hidden_tls_proto): Likewise.
53341         (libnss_files_hidden_tls_proto): Likewise.
53342         (libnsl_hidden_tls_proto): Likewise.
53343         (libnss_nisplus_hidden_tls_proto): Likewise.
53344         (libutil_hidden_tls_proto): Likewise.
53346 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53348         [BZ #10253]
53349         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53350         (decompose_rpath): Defer expansion to fillin_rpath.
53351         (_dl_init_paths): Pass linkmap to fillin_rpath.
53353 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53355         * benchtests/Makefile: Add strsep.
53356         * benchtests/bench-strsep.c: New file: strsep benchtest.
53357         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53359 2013-11-18  Andreas Schwab  <schwab@suse.de>
53361         * locale/programs/locale.c (show_info) [case byte]: Check for
53362         '\377' instead of '\177'.
53363         * locale/C-monetary.c (not_available): Always use "\377".
53364         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53365         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53366         detect unavailable sign_posn locale elements.
53367         * locale/localeconv.c (__localeconv): For grouping and
53368         mon_grouping handle "\177" and "\377" like no grouping.
53369         (INT_ELEM): New macro.  Use it to set all numeric members.
53370         * locale/programs/ld-monetary.c (monetary_read)
53371         <tok_mon_grouping>: Normalize single -1 to the empty string.
53372         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53373         Likewise.
53375 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53377         [BZ #16055]
53378         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53379         when we match (nil).
53380         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53382 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53384         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53385         (NO_TEST_INLINE): Update value.
53386         (ERRNO_UNCHANGED): Likewise.
53387         (ERRNO_EDOM): Likewise.
53388         (ERRNO_ERANGE): Likewise.
53389         (IGNORE_RESULT): Likewise.
53390         (check_float_internal): Check signs of NaN results if
53391         TEST_NAN_SIGN used.
53392         (check_complex): Pass TEST_NAN_SIGN flag through to second
53393         check_float_internal call.
53394         (copysign_test_data): Add tests with quiet NaNs as second
53395         argument.  Use TEST_NAN_SIGN.
53396         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53397         TEST_NAN_SIGN.
53398         (signbit_test_data): Add tests of quiet NaN argument.
53399         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53401         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53402         $ignore_result.
53403         (parse_args): Handle function results specified as IGNORE.
53404         * math/libm-test.inc (IGNORE_RESULT): New macro.
53405         (check_float_internal): Do not check numerical result if flag
53406         IGNORE_RESULT set.
53407         (check_complex): Pass through IGNORE_RESULT to second
53408         check_float_internal call.
53409         (check_int): Do not check numerical result if flag IGNORE_RESULT
53410         set.
53411         (check_long): Likewise.
53412         (check_bool): Likewise.
53413         (check_longlong): Likewise.
53414         (lrint_test_data): Add tests of infinite and NaN arguments.
53415         (lrint_tonearest_test_data): Likewise.
53416         (lrint_towardzero_test_data): Likewise.
53417         (lrint_downward_test_data): Likewise.
53418         (lrint_upward_test_data): Likewise.
53419         (llrint_test_data): Likewise.
53420         (llrint_tonearest_test_data): Likewise.
53421         (llrint_towardzero_test_data): Likewise.
53422         (llrint_downward_test_data): Likewise.
53423         (llrint_upward_test_data): Likewise.
53424         (lround_test_data): Likewise.
53425         (llround_test_data): Likewise.
53427         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53428         (ERRNO_UNCHANGED): Update value.
53429         (ERRNO_EDOM): Likewise.
53430         (ERRNO_ERANGE): Likewise.
53431         (NO_TEST_INLINE_FLOAT): New macro.
53432         (NO_TEST_INLINE_DOUBLE): Likewise.
53433         (enable_test): New function.
53434         (RUN_TEST_f_f): Check enable_test before running test.
53435         (RUN_TEST_2_f): Likewise.
53436         (RUN_TEST_fff_f): Likewise.
53437         (RUN_TEST_c_f): Likewise.
53438         (RUN_TEST_f_f1): Likewise.
53439         (RUN_TEST_fF_f1): Likewise.
53440         (RUN_TEST_fI_f1): Likewise.
53441         (RUN_TEST_ffI_f1): Likewise.
53442         (RUN_TEST_c_c): Likewise.
53443         (RUN_TEST_cc_c): Likewise.
53444         (RUN_TEST_f_i): Likewise.
53445         (RUN_TEST_f_i_tg): Likewise.
53446         (RUN_TEST_ff_i_tg): Likewise.
53447         (RUN_TEST_f_b): Likewise.
53448         (RUN_TEST_f_b_tg): Likewise.
53449         (RUN_TEST_f_l): Likewise.
53450         (RUN_TEST_f_L): Likewise.
53451         (RUN_TEST_fFF_11): Likewise.
53452         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53453         conditionals.
53454         (cosh_test_data): Likewise.
53455         (exp_test_data): Likewise.
53456         (expm1_test_data): Likewise.
53457         (hypot_test_data): Likewise.
53458         (pow_test_data): Likewise.
53459         (sinh_test_data): Likewise.
53460         (tanh_test_data): Likewise.
53461         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53462         flags argument.
53464         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53465         tests with quiet NaN input and output.
53466         (acosh_test_data): Likewise.
53467         (asin_test_data): Likewise.
53468         (asinh_test_data): Likewise.
53469         (atan_test_data): Likewise.
53470         (atanh_test_data): Likewise.
53471         (atan2_test_data): Likewise.
53472         (cbrt_test_data): Likewise.
53473         (cos_test_data): Likewise.
53474         (cosh_test_data): Likewise.
53475         (erf_test_data): Likewise.
53476         (erfc_test_data): Likewise.
53477         (exp_test_data): Likewise.
53478         (exp10_test_data): Likewise.
53479         (exp2_test_data): Likewise.
53480         (expm1_test_data): Likewise.
53481         (hypot_test_data): Likewise.
53482         (j0_test_data): Likewise.
53483         (j1_test_data): Likewise.
53484         (jn_test_data): Likewise.
53485         (lgamma_test_data): Likewise.
53486         (log_test_data): Likewise.
53487         (log10_test_data): Likewise.
53488         (log1p_test_data): Likewise.
53489         (log2_test_data): Likewise.
53490         (pow_test_data): Likewise.
53491         (scalb_test_data): Likewise.
53492         (sin_test_data): Likewise.
53493         (sincos_test_data): Likewise.
53494         (sinh_test_data): Likewise.
53495         (tan_test_data): Likewise.
53496         (tanh_test_data): Likewise.
53497         (tgamma_test_data): Likewise.
53498         (y0_test_data): Likewise.
53499         (y1_test_data): Likewise.
53500         (yn_test_data): Likewise.
53502         [BZ #16167]
53503         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
53504         argument being NaN and avoid computations with second argument in
53505         that case.
53506         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53507         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
53508         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53510 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
53512         * locale/iso-639.def: Add Chitwani Tharu (the).
53514 2013-11-14  Andreas Schwab  <schwab@suse.de>
53516         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
53517         word instead of empty string.
53519 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53522         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
53523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53524         (__fe_nomask_env): Likewise.
53526 2013-11-13  Steve Ellcey  <sellcey@mips.com>
53528         * benchtests/bench-timing.h: Include time.h.
53530 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
53532         [BZ #15997]
53533         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
53534         to 3.4.0 for x32.
53535         * sysdeps/unix/sysv/linux/configure: Regenerated.
53537 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
53539         [BZ #16151]
53540         * stdlib/strtod_l.c (round_and_return): Do not consider
53541         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
53542         exponent one less than half the least subnormal exponent.
53543         * stdlib/test-strtod-round-data: Add more tests.
53544         * stdlib/tst-strtod-round.c (tests): Regenerated.
53546 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53548         [BZ #14143]
53549         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
53550         (__fe_mask_env): Likewise.
53551         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53552         libm_hidden_proto and add function prototype.
53553         (__fe_mask_env): Add function prototype.
53554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53555         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
53556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53557         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
53558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53559         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
53561 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53563         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
53564         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
53566 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53568         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
53569         of htab_find_slot().
53571 2013-11-11  David S. Miller  <davem@davemloft.net>
53573         [BZ #16150]
53574         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
53575         symbol in the non-vis3 case in static builds.
53576         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
53577         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
53578         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
53579         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
53581 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
53583         [BZ #387]
53584         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
53585         it is empty.
53587 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53589         * benchtests/Makefile: Add bench-strtod.
53590         * benchtests/bench-strtod.c: New file: strtod benchtest
53592 2013-11-11  Andreas Schwab  <schwab@suse.de>
53594         [BZ #16153]
53595         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
53596         terminating NUL in key length.
53598 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53600         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53601         Add artificial ODP entry for vDSO symbol for PPC64.
53602         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
53603         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
53605 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53607         [BZ #15374]
53608         * nss/getent.c (services_keys): Recognize services starting with digit.
53610 2013-11-06  David S. Miller  <davem@davemloft.net>
53612         [BZ #15985]
53613         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
53614         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
53616 2013-11-06  Will Newton  <will.newton@linaro.org>
53618         * manual/memory.texi (Malloc Examples): Remove register
53619         keyword from examples.
53621 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
53623         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
53625 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #6981]
53628         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
53629         depending on [__GCC_IEC_559 > 0].
53630         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
53631         depending on [__GCC_IEC_559_COMPLEX > 0].
53633 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
53635         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
53636         to iso-639.def.
53638 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
53640         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
53642 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
53644         [BZ #16112]
53645         * malloc/malloc (malloc_info): Do not handle first bin as
53646         special case.
53648 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
53650         * locale/iso-639.def: Add Central Nahuatl (nhn).
53652 2013-11-01  Bruno Haible  <bruno@clisp.org>
53654         [BZ #7003]
53655         * manual/math.texi (BSD Random): Specify range upper bound as
53656         in POSIX.
53658 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53660         * locale/iso-639.def: Add Meadow Mari (mhr).
53662 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53664         [BZ #14752], [BZ #15763]
53665         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53666         Validate name.
53667         * rt/tst_shm.c: Add test for escaping directory.
53669 2013-10-31  Andreas Schwab  <schwab@suse.de>
53671         [BZ #15917]
53672         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53673         followed by 'x' as part of digit sequence.
53674         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53676 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53678         [BZ #16037]
53679         * configure.ac: allow GNU Make 4.0 and greater.
53680         * configure: Regenerated.
53682 2013-10-30  Will Newton  <will.newton@linaro.org>
53684         [BZ #16038]
53685         * malloc/hooks.c (memalign_check): Limit alignment to the
53686         maximum representable power of two.
53687         * malloc/malloc.c (__libc_memalign): Likewise.
53688         * malloc/tst-memalign.c (do_test): Add test for very
53689         large alignment values.
53690         * malloc/tst-posix_memalign.c (do_test): Likewise.
53692 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53694         [BZ #11087]
53695         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53696         (munmap_chunk): Likewise.
53697         (mremap_chunk): Likewise.
53699 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53701         [BZ #15799]
53702         * stdlib/div.c (div): Remove obsolete code.
53703         * stdlib/ldiv.c (ldiv): Likewise.
53704         * stdlib/lldiv.c (lldiv): Likewise.
53706 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53708         [BZ #16071]
53709         * nss/nss_files/files-XXX.c (get_contents_ret): New
53710         enumerator.
53711         (get_contents): New function.
53712         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53714 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53716         * configure.in: Moved to ...
53717         * configure.ac: ... here. Change reference to configure.in
53718         to configure.ac.
53719         * sysdeps/arm/preconfigure.ac: ... here.
53720         configure.in to configure.ac.
53721         * sysdeps/gnu/configure.in: Moved to ...
53722         * sysdeps/gnu/configure.ac: ... here.
53723         * sysdeps/i386/configure.in: Moved to ...
53724         * sysdeps/i386/configure.ac: ... here.
53725         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53726         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53727         * sysdeps/mach/configure.in: Moved to ...
53728         * sysdeps/mach/configure.ac: ... here.
53729         * sysdeps/mach/hurd/configure.in: Moved to ...
53730         * sysdeps/mach/hurd/configure.ac: ... here.
53731         * sysdeps/powerpc/configure.in: Moved to ...
53732         * sysdeps/powerpc/configure.ac: ... here.
53733         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53734         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53735         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53736         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53737         * sysdeps/s390/s390-32/configure.in: Moved to ...
53738         * sysdeps/s390/s390-32/configure.ac: ... here.
53739         * sysdeps/s390/s390-64/configure.in: Moved to ...
53740         * sysdeps/s390/s390-64/configure.ac: ... here.
53741         * sysdeps/sh/configure.in: Moved to ...
53742         * sysdeps/sh/configure.ac: ... here.
53743         * sysdeps/sparc/configure.in: Moved to ...
53744         * sysdeps/sparc/configure.ac: ... here.
53745         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53746         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53747         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53748         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53749         * sysdeps/x86_64/configure.in: Moved to ...
53750         * sysdeps/x86_64/configure.ac: ... here.
53751         * sysdeps/x86_64/preconfigure.in: Moved to ...
53752         * sysdeps/x86_64/preconfigure.ac: ... here.
53753         * aclocal.m4: Change reference to configure.in to configure.ac.
53754         * config.h.in: Likewise.
53755         * manual/install.texi: Likewise.
53756         * manual/maint.texi: Likewise.
53757         * Makefile: Likewise.
53758         * malloc/Makefile: Likewise.
53759         * nscd/Makefile: Likewise.
53760         * Makeconfig: Change reference to configure.in and
53761         preconfigure.in to configure.ac and preconfigure.ac
53762         respectively.
53763         * INSTALL: Regenerated.
53764         * configure: Likewise.
53765         * sysdeps/gnu/configure: Likewise.
53766         * sysdeps/i386/configure: Likewise.
53767         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53768         * sysdeps/mach/configure: Likewise.
53769         * sysdeps/mach/hurd/configure: Likewise.
53770         * sysdeps/powerpc/configure: Likewise.
53771         * sysdeps/powerpc/powerpc32/configure: Likewise.
53772         * sysdeps/powerpc/powerpc64/configure: Likewise.
53773         * sysdeps/s390/s390-32/configure: Likewise.
53774         * sysdeps/s390/s390-64/configure: Likewise.
53775         * sysdeps/sh/configure: Likewise.
53776         * sysdeps/sparc/configure: Likewise.
53777         * sysdeps/unix/sysv/linux/configure: Likewise.
53778         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53779         * sysdeps/x86_64/configure: Likewise.
53780         * sysdeps/x86_64/preconfigure: Likewise.
53782 2013-10-29  Andreas Schwab  <schwab@suse.de>
53784         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53786 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53788         * benchtests/pow-inputs: Add new inputs.
53790         * benchtests/exp-inputs: Add new inputs.
53792         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53793         conditional check for return value.
53794         (__cos32): Likewise.
53796 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53798         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53799         to provide a boost for large inputs with word alignment.
53800         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53801         implementation based on optimized PPC64 strcpy.
53802         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53803         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53804         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53805         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53807 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53809         [BZ #2801]
53810         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53812 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53814         [BZ #14876]
53815         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53816         * time/tst-strptime.c (day_tests): Add testcase.
53818 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53820         [BZ #14029]
53821         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53823 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53825         [BZ #16074]
53826         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53827         MAP_FAILED on error.
53829 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53831         [BZ #16072]
53832         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53833         heap for large requests.
53835 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53837         [BZ #9954]
53838         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53839         result if the result has no associated interface.
53840         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53841         interface for all 127.X.Y.Z addresses.
53843 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53845         * locale/iso-639.def: Add Ligurian (lij)
53847 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53849         [BZ #15825]
53850         * sunrpc/rpc_main.c: Document rpcgen -5.
53852 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53854         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53856 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53858         [BZ #10278]
53859         * posix/glob.c: Match only directories when trailing slash is present.
53860         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53861         (main): Add testcase.
53863 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53865         [BZ #15670]
53866         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53868 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53870         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53871         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53872         AUTH_DES and cindex for FIPS 140-2.
53873         (DES Encryption): Add cindex FIPS 46-3.
53875         * locale/locarchive.h (struct locarhandle): Add fname.
53876         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53877         if an optional argument was specified to --list-archive,
53878         otherwise NULL.
53879         * locale/programs/locarchive.c (show_archive_content): Take new
53880         argument fname and pass it via ah.fname to open_archive.
53881         * locale/programs/localedef.h: Update decl.
53882         (open_archive): If AH->fname is non-null, open that file
53883         rather than the default file name, and don't ignore ENOENT.
53884         (create_archive): Set AH.fname to NULL.
53885         (delete_locales_from_archive): Likewise.
53886         (add_locales_to_archive): Likewise.
53887         * locale/programs/locfile.c (write_all_categories): Likewise.
53889 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53890             Aldy Hernandez  <aldyh@redhat.com>
53892         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53893         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53894         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53895         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53896         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53897         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53898         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53899         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53900         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53901         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53902         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53903         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53904         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53905         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53906         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53907         Likewise.
53908         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53909         Likewise.
53910         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53911         Likewise.
53912         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53913         Likewise.
53914         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53915         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53916         Likewise.
53917         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53918         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53919         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53920         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53921         Likewise.
53922         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53923         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53924         * sysdeps/powerpc/preconfigure: Likewise.
53925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53926         Likewise.
53927         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53928         Replace contents of file by #include of <fenv_libc.h>.
53929         * sysdeps/powerpc/soft-fp/sfp-machine.h
53930         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53931         and <sys/prctl.h>.
53932         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53933         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53934         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53935         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53936         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53937         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53939         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53943         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53945         Allow copysignl PLT reference to be missing.
53947 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53948             Joseph Myers  <joseph@codesourcery.com
53950         [BZ #15948]
53951         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53952         single character.
53953         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53955 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53957         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53958         * elf/tst-tls1.c: Likewise.
53959         * elf/tst-tls10.h: Likewise.
53960         * elf/tst-tls14.c: Likewise.
53961         * elf/tst-tls2.c: Likewise.
53962         * elf/tst-tls3.c: Likewise.
53963         * elf/tst-tls4.c: Likewise.
53964         * elf/tst-tls5.c: Likewise.
53965         * elf/tst-tls6.c: Likewise.
53966         * elf/tst-tls7.c: Likewise.
53967         * elf/tst-tls8.c: Likewise.
53968         * elf/tst-tls9.c: Likewise.
53969         * elf/tst-tlsmod1.c: Likewise.
53970         * elf/tst-tlsmod13.c: Likewise.
53971         * elf/tst-tlsmod13a.c: Likewise.
53972         * elf/tst-tlsmod14a.c: Likewise.
53973         * elf/tst-tlsmod16a.c: Likewise.
53974         * elf/tst-tlsmod16b.c: Likewise.
53975         * elf/tst-tlsmod2.c: Likewise.
53976         * elf/tst-tlsmod3.c: Likewise.
53977         * elf/tst-tlsmod4.c: Likewise.
53978         * elf/tst-tlsmod5.c: Likewise.
53979         * elf/tst-tlsmod6.c: Likewise.
53981 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53983         [BZ #12486]
53984         * malloc/malloc.c: remove checks for statistics.
53986 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53988         [BZ #15277]
53989         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53990         * inet/tst-network.c: Add testcase.
53992 2013-10-17  Andreas Schwab  <schwab@suse.de>
53994         [BZ #15218]
53995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53996         to determine canonical name.
53998 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54000         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54001         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54002         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54003         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54004         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54005         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54006         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54007         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54008         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54009         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54010         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54011         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54012         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54013         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54014         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54015         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54016         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54017         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54018         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54019         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54020         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54021         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54022         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54023         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54024         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54025         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54026         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54027         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54028         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54029         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54030         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54031         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54032         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54033         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54034         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54035         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54036         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54037         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54038         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54039         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54040         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54041         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54043         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54044         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54051         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54052         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54054         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54055         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54057         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54059 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54061         [BZ #16041]
54062         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54063         make result into a quiet NaN.
54065 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54067         * soft-fp/adddf3.c: Fix horizontal whitespace.
54068         * soft-fp/addsf3.c: Likewise.
54069         * soft-fp/addtf3.c: Likewise.
54070         * soft-fp/divdf3.c: Likewise.
54071         * soft-fp/divsf3.c: Likewise.
54072         * soft-fp/divtf3.c: Likewise.
54073         * soft-fp/double.h: Likewise.
54074         * soft-fp/eqdf2.c: Likewise.
54075         * soft-fp/eqsf2.c: Likewise.
54076         * soft-fp/eqtf2.c: Likewise.
54077         * soft-fp/extenddftf2.c: Likewise.
54078         * soft-fp/extended.h: Likewise.
54079         * soft-fp/extendsfdf2.c: Likewise.
54080         * soft-fp/extendsftf2.c: Likewise.
54081         * soft-fp/extendxftf2.c: Likewise.
54082         * soft-fp/fixdfdi.c: Likewise.
54083         * soft-fp/fixdfsi.c: Likewise.
54084         * soft-fp/fixdfti.c: Likewise.
54085         * soft-fp/fixsfdi.c: Likewise.
54086         * soft-fp/fixsfsi.c: Likewise.
54087         * soft-fp/fixsfti.c: Likewise.
54088         * soft-fp/fixtfdi.c: Likewise.
54089         * soft-fp/fixtfsi.c: Likewise.
54090         * soft-fp/fixtfti.c: Likewise.
54091         * soft-fp/fixunsdfdi.c: Likewise.
54092         * soft-fp/fixunsdfsi.c: Likewise.
54093         * soft-fp/fixunsdfti.c: Likewise.
54094         * soft-fp/fixunssfdi.c: Likewise.
54095         * soft-fp/fixunssfsi.c: Likewise.
54096         * soft-fp/fixunssfti.c: Likewise.
54097         * soft-fp/fixunstfdi.c: Likewise.
54098         * soft-fp/fixunstfsi.c: Likewise.
54099         * soft-fp/fixunstfti.c: Likewise.
54100         * soft-fp/floatdidf.c: Likewise.
54101         * soft-fp/floatdisf.c: Likewise.
54102         * soft-fp/floatditf.c: Likewise.
54103         * soft-fp/floatsidf.c: Likewise.
54104         * soft-fp/floatsisf.c: Likewise.
54105         * soft-fp/floatsitf.c: Likewise.
54106         * soft-fp/floattidf.c: Likewise.
54107         * soft-fp/floattisf.c: Likewise.
54108         * soft-fp/floattitf.c: Likewise.
54109         * soft-fp/floatundidf.c: Likewise.
54110         * soft-fp/floatundisf.c: Likewise.
54111         * soft-fp/floatunditf.c: Likewise.
54112         * soft-fp/floatunsidf.c: Likewise.
54113         * soft-fp/floatunsisf.c: Likewise.
54114         * soft-fp/floatunsitf.c: Likewise.
54115         * soft-fp/floatuntidf.c: Likewise.
54116         * soft-fp/floatuntisf.c: Likewise.
54117         * soft-fp/floatuntitf.c: Likewise.
54118         * soft-fp/fmadf4.c: Likewise.
54119         * soft-fp/fmasf4.c: Likewise.
54120         * soft-fp/fmatf4.c: Likewise.
54121         * soft-fp/gedf2.c: Likewise.
54122         * soft-fp/gesf2.c: Likewise.
54123         * soft-fp/getf2.c: Likewise.
54124         * soft-fp/ledf2.c: Likewise.
54125         * soft-fp/lesf2.c: Likewise.
54126         * soft-fp/letf2.c: Likewise.
54127         * soft-fp/muldf3.c: Likewise.
54128         * soft-fp/mulsf3.c: Likewise.
54129         * soft-fp/multf3.c: Likewise.
54130         * soft-fp/negdf2.c: Likewise.
54131         * soft-fp/negsf2.c: Likewise.
54132         * soft-fp/negtf2.c: Likewise.
54133         * soft-fp/op-1.h: Likewise.
54134         * soft-fp/op-2.h: Likewise.
54135         * soft-fp/op-4.h: Likewise.
54136         * soft-fp/op-8.h: Likewise.
54137         * soft-fp/op-common.h: Likewise.
54138         * soft-fp/quad.h: Likewise.
54139         * soft-fp/single.h: Likewise.
54140         * soft-fp/soft-fp.h: Likewise.
54141         * soft-fp/sqrtdf2.c: Likewise.
54142         * soft-fp/sqrtsf2.c: Likewise.
54143         * soft-fp/sqrttf2.c: Likewise.
54144         * soft-fp/subdf3.c: Likewise.
54145         * soft-fp/subsf3.c: Likewise.
54146         * soft-fp/subtf3.c: Likewise.
54147         * soft-fp/truncdfsf2.c: Likewise.
54148         * soft-fp/trunctfdf2.c: Likewise.
54149         * soft-fp/trunctfsf2.c: Likewise.
54150         * soft-fp/trunctfxf2.c: Likewise.
54151         * soft-fp/unorddf2.c: Likewise.
54152         * soft-fp/unordsf2.c: Likewise.
54153         * soft-fp/unordtf2.c: Likewise.
54155 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54157         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54158         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54160 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54162         * elf/dl-libc.c: Clear initfini list after freeing.
54164 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54166         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54167         * soft-fp/addsf3.c: Likewise.
54168         * soft-fp/addtf3.c: Likewise.
54169         * soft-fp/divdf3.c: Likewise.
54170         * soft-fp/divsf3.c: Likewise.
54171         * soft-fp/divtf3.c: Likewise.
54172         * soft-fp/double.h: Likewise.
54173         * soft-fp/eqdf2.c: Likewise.
54174         * soft-fp/eqsf2.c: Likewise.
54175         * soft-fp/eqtf2.c: Likewise.
54176         * soft-fp/extenddftf2.c: Likewise.
54177         * soft-fp/extended.h: Likewise.
54178         * soft-fp/extendsfdf2.c: Likewise.
54179         * soft-fp/extendsftf2.c: Likewise.
54180         * soft-fp/extendxftf2.c: Likewise.
54181         * soft-fp/fixdfdi.c: Likewise.
54182         * soft-fp/fixdfsi.c: Likewise.
54183         * soft-fp/fixdfti.c: Likewise.
54184         * soft-fp/fixsfdi.c: Likewise.
54185         * soft-fp/fixsfsi.c: Likewise.
54186         * soft-fp/fixsfti.c: Likewise.
54187         * soft-fp/fixtfdi.c: Likewise.
54188         * soft-fp/fixtfsi.c: Likewise.
54189         * soft-fp/fixtfti.c: Likewise.
54190         * soft-fp/fixunsdfdi.c: Likewise.
54191         * soft-fp/fixunsdfsi.c: Likewise.
54192         * soft-fp/fixunsdfti.c: Likewise.
54193         * soft-fp/fixunssfdi.c: Likewise.
54194         * soft-fp/fixunssfsi.c: Likewise.
54195         * soft-fp/fixunssfti.c: Likewise.
54196         * soft-fp/fixunstfdi.c: Likewise.
54197         * soft-fp/fixunstfsi.c: Likewise.
54198         * soft-fp/fixunstfti.c: Likewise.
54199         * soft-fp/floatdidf.c: Likewise.
54200         * soft-fp/floatdisf.c: Likewise.
54201         * soft-fp/floatditf.c: Likewise.
54202         * soft-fp/floatsidf.c: Likewise.
54203         * soft-fp/floatsisf.c: Likewise.
54204         * soft-fp/floatsitf.c: Likewise.
54205         * soft-fp/floattidf.c: Likewise.
54206         * soft-fp/floattisf.c: Likewise.
54207         * soft-fp/floattitf.c: Likewise.
54208         * soft-fp/floatundidf.c: Likewise.
54209         * soft-fp/floatundisf.c: Likewise.
54210         * soft-fp/floatunsidf.c: Likewise.
54211         * soft-fp/floatunsisf.c: Likewise.
54212         * soft-fp/floatuntidf.c: Likewise.
54213         * soft-fp/floatuntisf.c: Likewise.
54214         * soft-fp/floatuntitf.c: Likewise.
54215         * soft-fp/fmadf4.c: Likewise.
54216         * soft-fp/fmasf4.c: Likewise.
54217         * soft-fp/fmatf4.c: Likewise.
54218         * soft-fp/gedf2.c: Likewise.
54219         * soft-fp/gesf2.c: Likewise.
54220         * soft-fp/getf2.c: Likewise.
54221         * soft-fp/ledf2.c: Likewise.
54222         * soft-fp/lesf2.c: Likewise.
54223         * soft-fp/letf2.c: Likewise.
54224         * soft-fp/muldf3.c: Likewise.
54225         * soft-fp/mulsf3.c: Likewise.
54226         * soft-fp/multf3.c: Likewise.
54227         * soft-fp/negdf2.c: Likewise.
54228         * soft-fp/negsf2.c: Likewise.
54229         * soft-fp/negtf2.c: Likewise.
54230         * soft-fp/op-1.h: Likewise.
54231         * soft-fp/op-2.h: Likewise.
54232         * soft-fp/op-4.h: Likewise.
54233         * soft-fp/op-8.h: Likewise.
54234         * soft-fp/op-common.h: Likewise.
54235         * soft-fp/quad.h: Likewise.
54236         * soft-fp/single.h: Likewise.
54237         * soft-fp/soft-fp.h: Likewise.
54238         * soft-fp/sqrtdf2.c: Likewise.
54239         * soft-fp/sqrtsf2.c: Likewise.
54240         * soft-fp/sqrttf2.c: Likewise.
54241         * soft-fp/subdf3.c: Likewise.
54242         * soft-fp/subsf3.c: Likewise.
54243         * soft-fp/subtf3.c: Likewise.
54244         * soft-fp/truncdfsf2.c: Likewise.
54245         * soft-fp/trunctfdf2.c: Likewise.
54246         * soft-fp/trunctfsf2.c: Likewise.
54247         * soft-fp/trunctfxf2.c: Likewise.
54248         * soft-fp/unorddf2.c: Likewise.
54249         * soft-fp/unordsf2.c: Likewise.
54250         * soft-fp/unordtf2.c: Likewise.
54252 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54254         [BZ #15672]
54255         * misc/error.c (error_tail): Fix possible buffer overflow.
54257 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54259         [BZ #13028]
54260         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54261         address.
54263 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54265         [BZ #832]
54266         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54267         testing pipefail option.
54269 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54271         * soft-fp/double.h: Indent preprocessor directives inside #if.
54272         * soft-fp/extended.h: Likewise.
54273         * soft-fp/op-2.h: Likewise.
54274         * soft-fp/op-4.h: Likewise.
54275         * soft-fp/op-common.h: Likewise.
54276         * soft-fp/quad.h: Likewise.
54277         * soft-fp/single.h: Likewise.
54278         * soft-fp/soft-fp.h: Likewise.
54280 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54282         * iconv/iconv_prog.c: Fix typos.
54283         * stdio-common/psiginfo-data.h: Likewise.
54285 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54287         [BZ #15764]
54288         * locale/setlocale.c: Fix typo.
54290 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54292         [BZ #16036]
54293         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54294         signaling NaN arguments.
54295         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54296         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54298         [BZ #14910]
54299         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54300         unordered operands.
54301         * soft-fp/gesf2.c (__gesf2): Likewise.
54302         * soft-fp/getf2.c (__getf2): Likewise.
54303         * soft-fp/ledf2.c (__ledf2): Likewise.
54304         * soft-fp/lesf2.c (__lesf2): Likewise.
54305         * soft-fp/letf2.c (__letf2): Likewise.
54307         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54308         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54309         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54310         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54311         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54312         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54313         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54314         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54315         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54316         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54317         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54318         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54319         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54320         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54321         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54322         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54323         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54324         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54325         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54326         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54327         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54328         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54329         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54330         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54331         * soft-fp/floattidf.c (__floattidf): Likewise.
54332         * soft-fp/floattisf.c (__floattisf): Likewise.
54333         * soft-fp/floattitf.c (__floattitf): Likewise.
54334         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54335         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54336         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54337         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54338         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54339         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54340         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54341         * soft-fp/gesf2.c (__gesf2): Likewise.
54342         * soft-fp/getf2.c (__getf2): Likewise.
54343         * soft-fp/ledf2.c (__ledf2): Likewise.
54344         * soft-fp/lesf2.c (__lesf2): Likewise.
54345         * soft-fp/letf2.c (__letf2): Likewise.
54347         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54348         Undefine and redefine.
54349         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54350         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54351         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54352         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54353         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54354         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54355         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54356         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54357         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54358         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54359         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54360         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54361         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54362         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54363         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54365         [BZ #16032]
54366         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54367         without decrementing exponent if mantissa >= that for the
54368         denominator, not >.
54369         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54370         denominator, not >.  Decrement exponent in < case instead of
54371         incrementing in >= case.
54372         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54373         without decrementing exponent if mantissa >= that for the
54374         denominator, not >.
54376         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54377         computing saturated result for unsigned overflow.
54379 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54380             Jeff Law  <law@redhat.com>
54382         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54383         (atan2Mp): Add systemtap probe marker.
54384         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54385         (__ieee754_log): Add systemtap probe marker.
54386         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54387         (atanMp): Add systemtap probe marker.
54388         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54389         (tanMp): Add systemtap probe marker.
54390         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54391         (__slowexp): Add systemtap probe marker.
54392         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54393         (__slowpow): Add systemtap probe marker.
54394         * manual/probes.texi: Document probes.
54396 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54398         [BZ #15362]
54399         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54400         written.
54401         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54402         written.
54403         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54404         written to buffer but not flushed.
54405         * libio/iofwrite_u.c:  Likewise.
54406         * libio/iopadn.c:  Return bytes returned even if EOF was
54407         encountered.
54408         * libio/iowpadn.c:  Likewise.
54409         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54410         if _IO_padn does not write the whole buffer.
54411         [!COMPILE_WPRINTF] (PAD): Likewise.
54413 2013-10-10  David S. Miller  <davem@davemloft.net>
54415         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54416         directory block.
54418 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54420         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54421         instead of FSF address.
54422         * soft-fp/fixdfti.c: Likewise.
54423         * soft-fp/fixsfti.c: Likewise.
54424         * soft-fp/fixtfti.c: Likewise.
54425         * soft-fp/fixunsdfti.c: Likewise.
54426         * soft-fp/fixunssfti.c: Likewise.
54427         * soft-fp/fixunstfti.c: Likewise.
54428         * soft-fp/floattidf.c: Likewise.
54429         * soft-fp/floattisf.c: Likewise.
54430         * soft-fp/floattitf.c: Likewise.
54431         * soft-fp/floatuntidf.c: Likewise.
54432         * soft-fp/floatuntisf.c: Likewise.
54433         * soft-fp/floatuntitf.c: Likewise.
54434         * soft-fp/trunctfxf2.c: Likewise.
54436         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54437         * soft-fp/fixdfti.c: Likewise.
54438         * soft-fp/fixsfti.c: Likewise.
54439         * soft-fp/fixtfti.c: Likewise.
54440         * soft-fp/fixunsdfti.c: Likewise.
54441         * soft-fp/fixunssfti.c: Likewise.
54442         * soft-fp/fixunstfti.c: Likewise.
54443         * soft-fp/floattidf.c: Likewise.
54444         * soft-fp/floattisf.c: Likewise.
54445         * soft-fp/floattitf.c: Likewise.
54446         * soft-fp/floatuntidf.c: Likewise.
54447         * soft-fp/floatuntisf.c: Likewise.
54448         * soft-fp/floatuntitf.c: Likewise.
54449         * soft-fp/trunctfxf2.c: Likewise.
54451 2013-10-10  David S. Miller  <davem@davemloft.net>
54453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54455 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54457         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54458         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54459         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54460         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54461         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54462         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54463         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54465         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54466         for NaNs before doing comparisons on argument.
54467         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54468         Likewise.
54470 2013-10-10  Will Newton  <will.newton@linaro.org>
54472         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54473         passed to _int_memalign does not overflow.
54475 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54477         * scripts/bench.pl: Add include-sources directive.
54478         * benchtests/README: Update documentation.
54480 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54482         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54483         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54484         instead of FP_INIT_ROUNDMODE.
54485         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54486         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
54488         [BZ #16034]
54489         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
54490         copy class of input value.
54491         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
54492         not handle exceptions.
54493         * soft-fp/negsf2.c (__negsf2): Likewise.
54494         * soft-fp/negtf2.c (__negtf2): Likewise.
54495         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
54497 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
54499         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
54500         semicolon.  From Linux kernel.
54502 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
54504         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
54506 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
54508         [BZ #156]
54509         * manual/socket.texi: Added statement about buffer
54510         for gethostbyname2_r.
54512 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
54514         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
54515         Use .p2align directive instead, throughout.
54516         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54517         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
54518         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
54519         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54520         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54521         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
54522         * sysdeps/x86_64/strchr.S: Likewise.
54523         * sysdeps/x86_64/strrchr.S: Likewise.
54525 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
54529         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
54531         * sysdeps/generic/math_private.h (__mpsin1): Remove
54532         declaration.
54533         (__mpcos1): Likewise.
54534         (__mpsin): New argument __range_reduce.
54535         (__mpcos): Likewise.
54536         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54537         (slow): Use __mpsin and __mpcos.
54538         (slow1): Likewise.
54539         (slow2): Likewise.
54540         (sloww): Likewise.
54541         (sloww1): Likewise.
54542         (sloww2): Likewise.
54543         (bsloww): Likewise.
54544         (bsloww1): Likewise.
54545         (bsloww2): Likewise.
54546         (cslow2): Likewise.
54547         (csloww): Likewise.
54548         (csloww1): Likewise.
54549         (csloww2): Likewise.
54550         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
54551         range_reduce.  Merge in __mpsin1.
54552         (__mpcos): Likewise.
54553         (__mpsin1): Remove.
54554         (__mpcos1): Likewise.
54556 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
54558         * locale/loadlocale.c (_nl_intern_locale_data): Use
54559         LOCFILE_ALIGNED_P.
54560         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
54561         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
54562         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
54563         obstack data is appropriately aligned.
54564         (obstack_int32_grow_fast): Likewise.
54565         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
54566         * locale/programs/locfile.c (add_locale_uint32): Likewise.
54567         (add_locale_uint32_array): Likewise.
54569 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54571         * benchtests/Makefile: Remove ARGLIST and RET variables.
54572         ($(objpfx)bench-%.c): Pass only function name to the script.
54573         * benchtests/README: Update documentation.
54574         * benchtests/acos-inputs: Add new directives.
54575         * benchtests/acosh-inputs: Likewise.
54576         * benchtests/asin-inputs: Likewise.
54577         * benchtests/asinh-inputs: Likewise.
54578         * benchtests/atan-inputs: Likewise.
54579         * benchtests/atanh-inputs: Likewise.
54580         * benchtests/cos-inputs: Likewise.
54581         * benchtests/cosh-inputs: Likewise.
54582         * benchtests/exp-inputs: Likewise.
54583         * benchtests/log-inputs: Likewise.
54584         * benchtests/pow-inputs: Likewise.
54585         * benchtests/rint-inputs: Likewise.
54586         * benchtests/sin-inputs: Likewise.
54587         * benchtests/sinh-inputs: Likewise.
54588         * benchtests/tan-inputs: Likewise.
54589         * benchtests/tanh-inputs: Likewise.
54590         * scripts/bench.pl: Add support for new directives.
54592 2013-10-07  Alan Modra  <amodra@gmail.com>
54594         * README: Fix careless merge.
54596 2013-10-05  Alan Modra  <amodra@gmail.com>
54598         * NEWS: Mention powerpc64le support and bugs fixed.
54599         * README: Both big-endian and little-endian powerpc64 supported.
54601 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54603         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
54604         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
54605         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
54606         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
54608 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
54610         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
54611         match prototype.
54613 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
54615         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
54616         Move -mhard-float appending from
54617         ports/sysdeps/powerpc/powerpc32/Makefile.
54618         [$(with-fp) = yes] (ASFLAGS): Likewise.
54619         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
54620         * sysdeps/powerpc/nofpu: Move directory from
54621         ports/sysdeps/powerpc/nofpu.
54622         * sysdeps/powerpc/soft-fp: Move directory from
54623         ports/sysdeps/powerpc/soft-fp.
54624         * sysdeps/powerpc/powerpc32/405: Move directory from
54625         ports/sysdeps/powerpc/powerpc32/405.
54626         * sysdeps/powerpc/powerpc32/440: Move directory from
54627         ports/sysdeps/powerpc/powerpc32/440.
54628         * sysdeps/powerpc/powerpc32/464: Move directory from
54629         ports/sysdeps/powerpc/powerpc32/464.
54630         * sysdeps/powerpc/powerpc32/476: Move directory from
54631         ports/sysdeps/powerpc/powerpc32/476.
54632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
54633         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
54634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
54635         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
54636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
54637         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
54638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
54639         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
54640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
54641         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
54642         * README: Update for powerpc-*-linux-gnu software floating point
54643         support in libc.
54645         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
54646         case to powerpc/powerpc32*.
54647         * sysdeps/unix/sysv/linux/configure: Regenerated.
54649         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
54650         (_FPU_MASK_OM): Define as 0x04.
54651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
54652         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54653         0x00c10080.
54654         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54655         0x0000003c.
54656         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54659         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54660         getcontext_e500.
54661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54662         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54663         setcontext_e500.
54664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54665         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54666         and setcontext_e500.
54668 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54670         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54672 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54674         * manual/threads.texi (Default Thread Attributes): Fix typo.
54676 2013-10-04  Will Newton  <will.newton@linaro.org>
54678         * malloc/Makefile: Add tst-memalign.
54679         * malloc/tst-memalign.c: New file.
54681         * malloc/tst-posix_memalign.c: Add comments.
54682         (do_test): Add comments and call free on all potentially
54683         allocated pointers. Add space after cast.
54685         * malloc/tst-pvalloc.c: Add comments.
54686         (do_test): Add comments and call free on all potentially
54687         allocated pointers. Remove duplicate check for NULL pointer.
54688         Add space after cast.
54690         * malloc/tst-valloc.c: Add comments.
54691         (do_test): Add comments and call free on all potentially
54692         allocated pointers. Remove duplicate check for NULL pointer.
54693         Add space after cast.
54695 2013-10-04  Alan Modra  <amodra@gmail.com>
54697         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54698         Use stdint types in rather than __attribute__((mode())).
54699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54701 2013-10-04  Alan Modra  <amodra@gmail.com>
54703         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54704         Correct handling of unaligned relocs for little-endian.
54705         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54707 2013-10-04  Alan Modra  <amodra@gmail.com>
54709         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54710         * configure: Regenerate.
54711         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54712         * shlib-versions: Likewise.
54714 2013-10-04  Alan Modra  <amodra@gmail.com>
54716         * string/tester.c (test_memrchr): Increment reported test cycle.
54718 2013-10-04  Alan Modra  <amodra@gmail.com>
54720         * string/test-memcpy.c (do_one_test): When reporting errors, print
54721         string address and don't overrun end of string.
54723 2013-10-04  Alan Modra  <amodra@gmail.com>
54725         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54726         insrdi.  Make better use of reg selection to speed exit slightly.
54727         Schedule entry path a little better.  Remove useless "are we done"
54728         checks on entry to main loop.  Handle wrapping around zero address.
54729         Correct main loop count.  Handle single left-over word from main
54730         loop inline rather than by using loop_small.  Remove extra word
54731         case in loop_small caused by wrong loop count.  Add little-endian
54732         support.
54733         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54734         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54735         cache hint.
54736         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54737         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54738         support.  Avoid rlwimi.
54739         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54741 2013-10-04  Alan Modra  <amodra@gmail.com>
54743         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54744         insrdi.  Formatting.
54745         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54746         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54747         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54748         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54749         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54750         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54752 2013-10-04  Alan Modra  <amodra@gmail.com>
54754         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54755         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54756         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54757         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54758         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54759         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54760         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54761         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54763         use of regs.  Use power7 mtocrf.  Tidy function tails.
54765 2013-10-04  Alan Modra  <amodra@gmail.com>
54767         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54768         Formatting.  Consistently use rXXX register defines or rN defines.
54769         Use early exit labels that avoid restoring unused non-volatile regs.
54770         Make cr field use more consistent with rWORDn compares.  Rename
54771         regs used as shift registers for unaligned loop, using rN defines
54772         for short lifetime/multiple use regs.
54773         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54774         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54775         addi 1,1,64 to pop stack frame.  Simplify return value code.
54776         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54778 2013-10-04  Alan Modra  <amodra@gmail.com>
54780         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54781         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54782         rather than rlwimi.
54783         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54784         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54785         little-endian support.  Correct typos.
54786         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54787         rather than rlwimi.
54788         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54789         in loop and entry code to keep "and." results.
54790         (strchr): Add little-endian support.  Comment.  Move cntlzd
54791         earlier in tail.
54792         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54794 2013-10-04  Alan Modra  <amodra@gmail.com>
54796         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54797         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54798         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54799         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54801 2013-10-04  Alan Modra  <amodra@gmail.com>
54803         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54804         (rTMP): Define as r11.
54805         (strcmp): Add little-endian support.  Optimise tail.
54806         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54807         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54808         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54809         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54810         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54811         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54812         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54814 2013-10-04  Alan Modra  <amodra@gmail.com>
54816         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54817         little-endian support.  Remove unnecessary "are we done" tests.
54818         Handle "s" wrapping around zero and extremely large "size".
54819         Correct main loop count.  Handle single left-over word from main
54820         loop inline rather than by using small_loop.  Correct comments.
54821         Delete "zero" tail, use "end_max" instead.
54822         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54824 2013-10-04  Alan Modra  <amodra@gmail.com>
54826         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54827         support.  Don't branch over align.
54828         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54829         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54830         support.  Rearrange tmp reg use to suit.  Comment.
54831         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54833 2013-10-04  Alan Modra  <amodra@gmail.com>
54835         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54837 2013-10-04  Alan Modra  <amodra@gmail.com>
54839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54840         conditional form of branch and link when obtaining pc.
54841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54843 2013-10-04  Alan Modra  <amodra@gmail.com>
54845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54846         HIWORD/LOWORD.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54850 2013-10-04  Alan Modra  <amodra@gmail.com>
54852         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54853         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54854         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54855         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54856         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54857         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54858         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54859         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54860         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54861         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54863 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54864             Alistair Popple <alistair@ozlabs.au.ibm.com>
54865             Alan Modra <amodra@gmail.com>
54867         [BZ #15723]
54868         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54869         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54870         _dl_hwcap access for little-endian.
54871         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54872         destroy vmx regs when saving unaligned.
54873         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54874         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54875         destroy vmx regs when saving unaligned.
54877 2013-10-04  Alan Modra  <amodra@gmail.com>
54879         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54880         Don't use a union to pack hi/low value.
54882 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54884         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54885         for little-endian.
54886         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54888         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54889         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54890         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54892 2013-10-04  Alan Modra  <amodra@gmail.com>
54894         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54895         constants to usual value for .cst8 section, and remove redundant
54896         high address load.
54897         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54898         constant for 0x1p52.  Load little-endian words of double from
54899         correct stack offsets.
54901 2013-10-04  Alan Modra  <amodra@gmail.com>
54903         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54904         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54905         words of double from correct stack offsets.
54906         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54907         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54908         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54911         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54912         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54913         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54914         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54915         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54916         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54917         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54918         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54919         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54920         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54921         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54922         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54924 2013-10-04  Alan Modra  <amodra@gmail.com>
54926         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54927         64-bit int/double union.
54928         (_FPU_SETCW): Likewise.
54929         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54930         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54932 2013-10-04  Alan Modra  <amodra@gmail.com>
54934         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54935         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54937 2013-10-04  Alan Modra  <amodra@gmail.com>
54939         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54940         use vector int constants.
54941         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54943 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54945         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54946         array with long long.
54947         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54948         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54949         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54950         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54951         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54952         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54953         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54954         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54955         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54956         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54957         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54958         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54959         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54961 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54963         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54964         (__signbit): Likewise.  Correct for little-endian.
54965         (__signbitl): Call __signbit.
54966         (lrint): Correct for little-endian.
54967         (lrintf): Call lrint.
54969 2013-10-04  Alan Modra  <amodra@gmail.com>
54971         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54972         union 32-bit int array member with 64-bit int array.
54973         (t515, tm256): Double rather than long double.
54974         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54976 2013-10-04  Alan Modra  <amodra@gmail.com>
54978         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54979         Delete.
54980         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54982         version of math_ldbl.h.
54984 2013-10-04  Alan Modra  <amodra@gmail.com>
54986         [BZ #15734], [BZ #15735]
54987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54988         all uses of ieee875 long double macros and unions.  Simplify test
54989         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54990         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54991         normalize after ldbl_extract_mantissa, and don't add hidden bit
54992         already handled.  Don't treat low word of ieee854 mantissa like
54993         low word of IBM long double and mask off bit when testing for
54994         zero.
54995         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54996         all uses of ieee875 long double macros and unions.  Simplify tests
54997         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54998         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54999         two1022, instead use their values.  Recognise that tests for large
55000         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55001         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55002         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55003         test for 0.0L and nan.  Correct negation.
55004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55005         ieee875 long double macros and unions.  Correct output for large
55006         magnitude x.  Correct absolute value calculation.
55007         (__erfcl): Likewise.
55008         * math/libm-test.inc: Add tests for errors discovered in IBM long
55009         double versions of fmodl, remainderl, erfl and erfcl.
55011 2013-10-04  Alan Modra  <amodra@gmail.com>
55013         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55014         all uses of ieee854 long double macros and unions.  Simplify tests
55015         for long doubles that are fully specified by the high double.
55016         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55017         Likewise.
55018         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55019         Remove dead code too.
55020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55021         (__ieee754_ynl): Likewise.
55022         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55023         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55025         Remove dead code too.
55026         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55027         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55028         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55029         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55030         Simplify.
55031         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55032         Simplify.
55033         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55034         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55036         Comment on variable precision.
55037         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55038         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55039         Likewise.
55040         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55041         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55042         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55043         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55044         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55046 2013-10-04  Alan Modra  <amodra@gmail.com>
55048         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55049         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55050         all uses of ieee854 long double macros and unions.
55051         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55052         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55054         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55055         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55056         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55057         Likewise.
55058         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55061         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55062         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55063         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55064         Simplify sign and nan test too.
55065         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55066         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55067         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55069         Likewise.
55070         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55072         Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55074         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55075         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55076         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55077         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55080 2013-10-04  Alan Modra  <amodra@gmail.com>
55082         * stdio-common/printf_size.c (__printf_size): Don't use
55083         union ieee854_long_double in fpnum union.
55084         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55085         signbit macro to retrieve sign from long double.
55086         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55087         retrieve sign from long double.
55088         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55089         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55090         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55091         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55092         * math/test-misc.c (main): Don't use union ieee854_long_double.
55094 2013-10-04  Alan Modra  <amodra@gmail.com>
55096         [BZ #15680]
55097         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55098         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55099         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55100         calculation.  Remove unnecessary test for denormal exponent.
55101         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55102         Correct handling of denormals.  Avoid undefined shift behaviour.
55103         Correct normalisation of low mantissa when low double is denormal.
55104         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55105         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55106         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55107         Correct normalisation of low mantissa.  Test for overflow of high
55108         mantissa and normalise.
55109         (ldbl_nearbyint): Use more readable constant for two52.
55110         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55111         (__mpn_construct_long_double): Fix test for overflow of high
55112         mantissa and correct normalisation.  Avoid undefined shift.
55114 2013-10-04  Alan Modra  <amodra@gmail.com>
55116         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55117         (union ibm_extended_long_double): Define as an array of ieee754_double.
55118         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55119         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55120         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55121         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55122         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55123         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55125         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55126         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55127         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55128         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55130 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55132         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55133         page size instead of calling getpagesize.
55135         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55136         (LOCFILE_ALIGN_MASK): Likewise.
55137         (LOCFILE_ALIGN_UP): Likewise.
55138         (LOCFILE_ALIGNED_P): Likewise.
55139         * locale/programs/ld-collate.c (collate_output): Use the new
55140         macros instead of __alignof__ (int32_t).
55141         * locale/weight.h (findidx): Likewise.
55143 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55145         [BZ #431]
55146         * manual/string.texi: Fix strncat and wcsncat.
55148 2013-10-03  Brooks Moses  <bmoses@google.com>
55150         [BZ #15915]
55151         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55152         * Makerules: ...here, and adjust associated comments.
55154 2013-10-02  Will Newton  <will.newton@linaro.org>
55156         * malloc/Makefile: Add tst-pvalloc.
55157         * malloc/tst-pvalloc.c: New file.
55159 2013-10-02  Will Newton  <will.newton@linaro.org>
55161         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55162         improve test coverage.
55164 2013-10-02  Will Newton  <will.newton@linaro.org>
55166         * malloc/Makefile: Add tst-posix_memalign.
55167         * malloc/tst-posix_memalign.c: New file.
55169 2013-10-01  Eric Blake  <eblake@redhat.com>
55171         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55172         Use __THROWNL rather than __THROW on static functions.
55174 2013-09-30  Petr Machata  <pmachata@redhat.com>
55176         * elf/elf.h (R_AARCH64_ABS16): New macro.
55177         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55178         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55179         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55180         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55181         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55182         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55183         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55184         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55185         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55186         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55187         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55188         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55189         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55190         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55191         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55192         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55193         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55194         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55195         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55196         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55197         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55198         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55199         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55200         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55201         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55202         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55203         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55204         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55205         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55206         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55207         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55208         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55209         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55210         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55211         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55212         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55213         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55214         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55215         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55216         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55217         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55218         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55219         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55220         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55221         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55222         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55223         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55224         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55225         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55226         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55227         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55228         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55229         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55230         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55231         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55232         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55233         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55234         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55235         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55236         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55237         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55238         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55239         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55240         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55241         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55242         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55243         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55244         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55245         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55246         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55247         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55248         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55249         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55250         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55251         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55252         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55253         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55254         (R_AARCH64_TLSDESC_LDR): Likewise.
55255         (R_AARCH64_TLSDESC_ADD): Likewise.
55256         (R_AARCH64_TLSDESC_CALL): Likewise.
55258 2013-09-30  Andreas Schwab  <schwab@suse.de>
55260         [BZ #15048]
55261         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55262         the nss database lookup.
55263         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55266 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55268         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55270 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55272         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55273         ${Bash-specific parameter/pattern/string} parameter expansion.
55274         * sysdeps/unix/make-syscalls.sh: Likewise.
55276 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55278         * sysdeps/sh/stackguard-macros.h: New file.
55280 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55284         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55286         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55287         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55289 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55291         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55292         Fix thread ID register.
55294 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55296         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55297         [POSIX || UNIX98]: Require rather than permitting all symbols from
55298         <time.h>.
55299         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55300         element of struct sched_param.
55301         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55302         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55303         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55304         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55305         constant.
55307 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55309         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55310         argument calculation.
55312 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55314         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55315         Expect macro.
55316         [POSIX] (pthread_attr_t): Do not require type.
55317         [POSIX] (pthread_cond_t): Likewise.
55318         [POSIX] (pthread_condattr_t): Likewise.
55319         [POSIX] (pthread_key_t): Likewise.
55320         [POSIX] (pthread_mutex_t): Likewise.
55321         [POSIX] (pthread_mutexattr_t): Likewise.
55322         [POSIX] (pthread_once_t): Likewise.
55323         [POSIX] (pthread_t): Likewise.
55324         [POSIX-based standards] (pthread_atfork): Expect function.
55326 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55327             Richard Sandiford  <richard@codesourcery.com>
55329         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55330         (swap_endianness_p): New extern variable.
55331         (set_big_endian): New inline function.
55332         (maybe_swap_uint32): Likewise.
55333         (maybe_swap_uint32_array): Likewise.
55334         (maybe_swap_uint32_obstack): Likewise.
55335         * locale/programs/locfile.c: Include <stdbool.h>.
55336         (swap_endianness_p): New variable.
55337         (add_locale_uint32): Call maybe_swap_uint32.
55338         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55339         (write_locale_data): Call maybe_swap_uint32_array.
55340         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55341         maybe_swap_uint32.
55342         (obstack_int32_grow_fast): Likewise.
55343         (output_weightwc): Call maybe_swap_uint32_obstack.
55344         (collate_output): Likewise.
55345         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55346         (OPT_LITTLE_ENDIAN): Likewise.
55347         (options): Add --little-endian and --big-endian options.
55348         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55349         * locale/programs/locarchive.c: Include "locfile.h".
55350         (GET): New macro.
55351         (SET): Likewise.
55352         (INC): Likewise.
55353         (create_archive): Use the new macros to access fields of
55354         structures directly mapped from or written to locale archives.
55355         (oldlocrecentcmp): Likewise.
55356         (enlarge_archive): Likewise.
55357         (insert_name): Likewise.
55358         (add_alias): Likewise.
55359         (add_locale): Likewise.
55360         (delete_locales_from_archive): Likewise.
55361         (show_archive_content): Likewise.
55362         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55363         locale data.
55365 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55367         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55368         http://www.gnu.org/doc/freemanuals.texi.
55369         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55371 2013-09-24  Will Newton  <will.newton@linaro.org>
55373         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55374         macro.
55376 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55378         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55379         unsigned char.
55381 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55383         * manual/threads.texi (POSIX Threads): Fix a typo.
55385 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55387         [BZ #14547]
55388         * string/tst-strcoll-overflow.c: New test case.
55389         * string/Makefile (xtests): Add tst-strcoll-overflow.
55390         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55391         cache if string sizes may cause integer overflow.
55393         [BZ #14547]
55394         * string/strcoll_l.c (coll_seq): New members rule, idx,
55395         save_idx and back_us.
55396         (get_next_seq_nocache): New function.
55397         (do_compare_nocache): New function.
55398         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55399         when malloc fails.
55401 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55403         [BZ #15754]
55404         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55405         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55406         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55408         [BZ #15754]
55409         * elf/Makefile (tests): Add tst-ptrguard1.
55410         (tests-static): Add tst-ptrguard1-static.
55411         (tst-ptrguard1-ARGS): Define.
55412         (tst-ptrguard1-static-ARGS): Define.
55413         * elf/tst-ptrguard1.c: New file.
55414         * elf/tst-ptrguard1-static.c: New file.
55415         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55416         * sysdeps/i386/stackguard-macros.h: Likewise.
55417         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55418         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55419         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55420         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55421         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55422         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55424 2013-09-23  Hector Marco  <hecmargi@upv.es>
55425             Ismael Ripoll  <iripoll@disca.upv.es>
55426             Carlos O'Donell  <carlos@redhat.com>
55428         [BZ #15754]
55429         * sysdeps/generic/stackguard-macros.h: Define
55430         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55431         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55432         Define __pointer_chk_guard_local.
55433         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55434         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55436 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55438         [BZ #15859]
55439         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55441 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55443         * include/string.h (__ffs): Declare as hidden.
55444         * string/ffs.c (__ffs): Define as hidden.
55445         * sysdeps/i386/ffs.c (__ffs): Likewise.
55446         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55447         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55448         * sysdeps/s390/ffs.c (__ffs): Likewise.
55449         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55451 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55453         * NEWS: Mention malloc probes.
55455         * malloc/arena.c (new_heap): New memory_heap_new probe.
55456         (grow_heap): New memory_heap_more probe.
55457         (shrink_heap): New memory_heap_less probe.
55458         (heap_trim): New memory_heap_free probe.
55459         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55460         (systrim): New memory_sbrk_less probe.
55461         * manual/probes.texi: Document them.
55463         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55464         * manual/probes.texi: Document it.
55466         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55467         (__libc_realloc): Add memory_realloc_retry probe.
55468         (__libc_memalign): Add memory_memalign_retry probe.
55469         (__libc_valloc): Add memory_valloc_retry probe.
55470         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55471         (__libc_calloc): Add memory_calloc_retry probe.
55472         * manual/probes.texi: Document them.
55474         * malloc/arena.c (get_free_list): Add probe
55475         memory_arena_reuse_free_list.
55476         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55477         and memory_arena_reuse.
55478         (arena_get2) [!PER_THREAD]: Likewise.
55479         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55480         memory_arena_reuse_realloc.
55481         * manual/probes.texi: Document them.
55483         * malloc/malloc.c (__libc_free): Add
55484         memory_mallopt_free_dyn_thresholds probe.
55485         (__libc_mallopt): Add multiple memory_mallopt probes.
55486         * manual/probes.texi: Document them.
55488         * malloc/malloc.c: Include stap-probe.h.
55489         (__libc_mallopt): Add memory_mallopt probe.
55490         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
55491         * manual/probes.texi: New.
55492         * manual/Makefile (chapters): Add probes.
55493         * manual/threads.texi: Set next node.
55495 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
55497         [BZ #15963, #13985]
55498         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
55499         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
55500         Add `Chinese' to `nan' entry name.
55502 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55504         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55505         (POLYNOMIAL): Likewise.
55506         (TAYLOR_SINCOS): Likewise.
55507         (TAYLOR_SLOW): Likewise.
55508         (__sin): Use TAYLOR_SINCOS.
55509         (__cos): Likewise.
55510         (slow): Use TAYLOR_SLOW.
55511         (sloww): Likewise.
55512         (bsloww): Likewise.
55513         (csloww): Likewise.
55515 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55517         * stdlib/strtod_l.c: Fix buffer overrun.
55519 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55521         * benchtests/Makefile (bench): Add sincos.
55522         * benchtests/bench-sincos.c: New file.
55524         * math/libm-test.inc (cos_test_data): New test inputs.
55525         (sin_test_data): Likewise.
55527         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
55528         macro.
55529         (__sin): Use it.
55530         (__cos): Likewise.
55531         (slow1): Likewise.
55532         (slow2): Likewise.
55533         (sloww1): Likewise.
55534         (sloww2): Likewise.
55535         (bsloww1): Likewise.
55536         (bsloww2): Likewise.
55537         (cslow2): Likewise.
55538         (csloww1): Likewise.
55539         (csloww2): Likewise.
55541         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
55542         function.
55543         (__sin): Use it.
55544         (__cos): Likewise.
55546         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
55547         gotos.
55548         (__cos): Likewise.
55550 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
55552         * config.h.in (HAVE_MIPS_NAN2008): New macro.
55553         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
55554         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
55555         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
55556         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
55557         * elf/cache.c (print_entry): Handle the new cache flags.
55559 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55560             Aldy Hernandez  <aldyh@redhat.com>
55562         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
55563         Change condition to [_SOFT_FLOAT].
55564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
55565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
55566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
55567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
55568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
55569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
55570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
55571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
55572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
55573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
55574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
55575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55576         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
55577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
55578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
55579         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
55580         declaration.
55582 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55584         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
55585         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55586         (__longjmp): Use LOAD_GP to load saved GPRs.
55587         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
55588         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55589         (__sigsetjmp): Use SAVE_GP to save GPRs.
55591         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
55592         Do not append -msoft-float.
55593         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
55595 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55597         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
55599 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
55601         [BZ #15966]
55602         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
55603         (_FPU_GETCW): Use initial "__" on variable and field names but not
55604         on macro parameter name.
55605         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
55606         parentheses around reference to macro parameter.
55608 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
55610         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
55611         prototype.
55612         (ctype_startup): Use uint32_t in cast and sizeof for
55613         ctype->charnames.
55615 2013-09-11  Jia Liu  <proljc@gmail.com>
55617         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
55618         __daddr_t_defined.
55619         [__FreeBSD__]: Likewise.
55621 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
55623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
55624         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
55625         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
55626         (strchr): Remove __strchr_sse42 ifunc selection.
55627         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
55628         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
55630 2013-09-11  Will Newton  <will.newton@linaro.org>
55632         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
55633         parameter to RES. Remove hardcoded 1000 value.
55634         * benchtests/bench-skeleton.c (main): Pass RES parameter
55635         to TIMING_INIT and multiply result by 1000.
55637 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55641 2013-09-11  Andreas Schwab  <schwab@suse.de>
55643         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
55644         if not defined.
55645         (O_TMPFILE) [__USE_GNU]: Define.
55646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
55647         Define.
55649 2013-09-11  Will Newton  <will.newton@linaro.org>
55651         [BZ #15857]
55652         * malloc/malloc.c (__libc_memalign): Check the value of bytes
55653         does not overflow.
55655 2013-09-11  Will Newton  <will.newton@linaro.org>
55657         [BZ #15856]
55658         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55659         does not overflow.
55661 2013-09-11  Will Newton  <will.newton@linaro.org>
55663         [BZ #15855]
55664         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55665         does not overflow.
55667 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55669         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55670         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55671         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55672         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55673         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55675 2013-09-10  Allan McRae  <allan@archlinux.org>
55677         [BZ #15748]
55678         * manual/arith.texi (Parsing of Floats): Clarify
55679         cross-reference.
55681         [BZ #15849]
55682         * manual/install.texi (Running make install): Mention
55683         --enable-pt-chown.
55684         * INSTALL: Regenerated.
55686 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55688         * csu/init-first.c (_init): Remove the !SHARED condition around
55689         FPU control word initialization.
55690         * elf/dl-support.c (_dl_fpu_control): New variable.
55691         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55692         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55693         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55694         * math/test-fpucw-static.c: New file.
55695         * math/test-fpucw-ieee.c: New file.
55696         * math/test-fpucw-ieee-static.c: New file.
55697         * math/Makefile (tests): Add `test-fpucw-ieee' and
55698         `$(tests-static)'.
55699         (tests-static): New variable.
55700         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55701         dependency to...
55702         [($(build-shared),yes)]
55703         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55704         ... this.
55705         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55706         New dependency.
55708 2013-09-09  Allan McRae  <allan@archlinux.org>
55710         [BZ #15939]
55711         * manual/string.texi (Collation Functions): Fix typo in
55712         strcoll example.
55713         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55715         [BZ #15893]
55716         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55718         [BZ #15892]
55719         * libio/memstream.c (open_memstream): Fix memory leak.
55720         * libio/wmemstream.c (open_wmemstream): Likewise.
55722         [BZ #15895]
55723         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55725 2013-09-09  Will Newton  <will.newton@linaro.org>
55727         * malloc/Makefile: Add tst-realloc to tests.
55728         * malloc/tst-realloc.c: New file.
55730 2013-09-09  Allan McRae  <allan@archlinux.org>
55732         [BZ #15844]
55733         * COPYING: Update from GNU website to fix FSF address.
55734         * COPYING.LIB: Likewise.
55736 2013-09-06  David S. Miller  <davem@davemloft.net>
55738         * po/zh_TW.po: Update Chinese (traditional) translation from
55739         translation project.
55741 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55742             Joseph Myers  <joseph@codesourcery.com>
55744         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55745         "localeinfo.h".
55746         (obstack_chunk_alloc): New macro.
55747         (obstack_chunk_free): Likewise.
55748         (record_offset): New function.
55749         (init_locale_data): Likewise.
55750         (align_locale_data): Likewise.
55751         (add_locale_empty): Likewise.
55752         (add_locale_raw_data): Likewise.
55753         (add_locale_raw_obstack): Likewise.
55754         (add_locale_string): Likewise.
55755         (add_locale_wstring): Likewise.
55756         (add_locale_uint32): Likewise.
55757         (add_locale_uint32_array): Likewise.
55758         (add_locale_char): Likewise.
55759         (start_locale_structure): Likewise.
55760         (end_locale_structure): Likewise.
55761         (start_locale_prelude): Likewise.
55762         (end_locale_prelude): Likewise.
55763         (write_locale_data): Take locale_file structure rather than an
55764         iovec.
55765         * locale/programs/locfile.h: Include "obstack.h".
55766         (struct locale_file): Change to store locale file contents instead
55767         of header.
55768         (init_locale_data): New prototype.
55769         (align_locale_data): Likewise.
55770         (add_locale_empty): Likewise.
55771         (add_locale_raw_data): Likewise.
55772         (add_locale_raw_obstack): Likewise.
55773         (add_locale_string): Likewise.
55774         (add_locale_wstring): Likewise.
55775         (add_locale_uint32): Likewise.
55776         (add_locale_uint32_array): Likewise.
55777         (add_locale_char): Likewise.
55778         (start_locale_structure): Likewise.
55779         (end_locale_structure): Likewise.
55780         (start_locale_prelude): Likewise.
55781         (end_locale_prelude): Likewise.
55782         (write_locale_data): Update prototype.
55783         * locale/programs/3level.h (struct TABLE): Remove result field.
55784         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55785         Use new locale_file interface.
55786         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55787         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55788         * locale/programs/ld-address.c (address_output): Use new
55789         locale_file interface.
55790         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55791         NO_ADD_LOCALE.
55792         (collate_finish): Don't call collseq_table_finalize.
55793         (collate_output): Use new locale_file interface.
55794         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55795         in file.
55796         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55797         (TABLE): Move defines earlier in file.
55798         (ELEMENT): Likewise.
55799         (DEFAULT): Likewise.
55800         (wctrans_table_add): Move macro and inline function earlier in
55801         file.
55802         (struct wctype_table): Move type earlier in file.
55803         (add_locale_wctype_table): New static prototype.
55804         (struct locale_ctype_t): Use logical types instead of struct iovec
55805         pointers for members.
55806         (ctype_output): Use new locale_file interface.
55807         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55808         new locale_file interface.
55809         (allocate_arrays): Update for use of new locale_file interface.
55810         * locale/programs/ld-identification.c (identification_output): Use
55811         new locale_file interface.
55812         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55813         * locale/programs/ld-messages.c (messages_output): Likewise.
55814         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55815         * locale/programs/ld-name.c (name_output): Likewise.
55816         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55817         * locale/programs/ld-paper.c (paper_output): Likewise.
55818         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55819         * locale/programs/ld-time.c (time_output): Likewise.
55821 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55823         * benchtests/Makefile: Add memrchr benchmark.
55824         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55825         benchmark as memrchr.
55826         * benchtests/bench-memrchr-ifunc.c: New file.
55827         * benchtests/bench-memrchr.c: New file.
55829 2013-09-06   Will Newton  <will.newton@linaro.org>
55831         * benchtests/Makefile (string-bench): Add memcpy.
55833 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55834             Cong Wang  <amwang@redhat.com>
55836         [BZ #15850]
55837         * sysdeps/unix/sysv/linux/bits/in.h
55838         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55839         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55840         before __USE_KERNEL_IPV6_DEFS uses.
55841         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55842         IPPROTO_BEETPH.
55843         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55844         sockaddr_in6, or ipv6_mreq.
55846 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55848         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55849         memory access for final bytes in some large inputs.
55850         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55852 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55854         * string/test-memrchr.c: New file.
55855         * string/test-memrchr-ifunc.c: New file.
55856         * string/Makefile: Add new memrchr testcase.
55858 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55860         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55861         fanotify_init returns EPERM.
55863 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55865         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55866         errors.
55867         (top level): Treat second token from macro or constant entries for
55868         allowed headers as allowed.
55869         * include/complex.h: Condition internal declarations on
55870         [!_ISOMAC].
55871         * include/fenv.h: Condition include of <stdbool.h> and internal
55872         declarations on [!_ISOMAC].
55874 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55876         [BZ #15923]
55877         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55879 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55881         * configure.in (--enable-versioning): Remove configure option.
55882         (libc_cv_asm_symver_directive): Remove configure test.
55883         (libc_cv_ld_version_script_option): Likewise.
55884         (VERSIONING): Remove variable and AC_SUBST.
55885         (DO_VERSIONING): Remove AC_DEFINE.
55886         * configure: Regenerated.
55887         * config.h.in (DO_VERSIONING): Remove macro.
55888         * Makerules [$(versioning) = yes]: Change conditionals to
55889         [$(build-shared) = yes].
55890         * config.make.in (versioning): Remove variable.
55891         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55892         [$(build-shared) = yes].
55893         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55894         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55895         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55896         [$(build-shared) = yes].
55897         * extra-lib.mk [$(versioning) = yes]: Likewise.
55898         * hurd/Makefile [$(versioning) = yes]: Likewise.
55899         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55900         [SHARED].
55901         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55902         [SHARED].
55903         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55904         [SHARED && !NO_HIDDEN].
55905         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55906         [SHARED].
55907         [SHARED && DO_VERSIONING]: Likewise..
55908         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55909         [$(build-shared) = yes].
55910         * manual/install.texi (--disable-versioning): Remove
55911         documentation.
55912         * INSTALL: Regenerated.
55913         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55914         to [SHARED].
55915         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55916         [$(build-shared) = yes].
55917         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55918         * sysdeps/i386/i686/multiarch/strstr-c.c
55919         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55920         [SHARED && !NO_HIDDEN].
55921         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55922         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55923         * sysdeps/powerpc/powerpc32/dl-machine.c
55924         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55925         * sysdeps/powerpc/powerpc32/sysdep.h
55926         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55927         to [SHARED && PIC && !NO_HIDDEN].
55928         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55929         conditional to [SHARED].
55931 2013-09-04   Will Newton  <will.newton@linaro.org>
55933         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55934         * benchtests/bench-string.h: Include bench-timing.h instead
55935         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55936         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55937         call to HP_TIMING_DIFF_INIT.
55938         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55939         instead of hp-timing.h macros.
55940         * benchtests/bench-memchr.c: Likewise.
55941         * benchtests/bench-memcmp.c: Likewise.
55942         * benchtests/bench-memcpy.c: Likewise.
55943         * benchtests/bench-memmem.c: Likewise.
55944         * benchtests/bench-memmove.c: Likewise.
55945         * benchtests/bench-memset.c: Likewise.
55946         * benchtests/bench-rawmemchr.c: Likewise.
55947         * benchtests/bench-strcasecmp.c: Likewise.
55948         * benchtests/bench-strcasestr.c: Likewise.
55949         * benchtests/bench-strcat.c: Likewise.
55950         * benchtests/bench-strchr.c: Likewise.
55951         * benchtests/bench-strcmp.c: Likewise.
55952         * benchtests/bench-strcpy.c: Likewise.
55953         * benchtests/bench-strcpy_chk.c: Likewise.
55954         * benchtests/bench-strlen.c: Likewise.
55955         * benchtests/bench-strncasecmp.c: Likewise.
55956         * benchtests/bench-strncat.c: Likewise.
55957         * benchtests/bench-strncmp.c: Likewise.
55958         * benchtests/bench-strncpy.c: Likewise.
55959         * benchtests/bench-strnlen.c: Likewise.
55960         * benchtests/bench-strpbrk.c: Likewise.
55961         * benchtests/bench-strrchr.c: Likewise.
55962         * benchtests/bench-strspn.c: Likewise.
55963         * benchtests/bench-strstr.c: Likewise.
55965 2013-09-04  Will Newton  <will.newton@linaro.org>
55967         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55969 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55971         [BZ #15427]
55972         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55973         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55974         * math/libm-test.inc (lgamma_test_data): Add more tests.
55975         * sysdeps/i386/fpu/libm-test-ulps: Update.
55976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55978 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55980         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55982         Add ifunc.
55983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55984         Add strcmp-sse2-unaligned
55985         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55987 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55989         * Versions.def (libc): Add GLIBC_2.19.
55991 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55993         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55994         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55996 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55998         [BZ #14155]
55999         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56000         intermediate calculations in recurrence.
56001         (__ieee754_ynf): Likewise.
56002         * math/libm-test.inc (jn_test_data): Do not allow spurious
56003         underflow exception.  Add more tests.
56004         (yn_test_data): Add more tests.
56005         * sysdeps/i386/fpu/libm-test-ulps: Update.
56006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56008 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56010         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56012 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56014         * csu/init-first.c: Fix then/than typos.
56015         * locale/programs/ld-collate.c: Likewise.
56016         * locale/programs/linereader.h: Likewise.
56017         * manual/charset.texi: Likewise.
56018         * manual/filesys.texi: Likewise.
56019         * manual/stdio.texi: Likewise.
56020         * manual/string.texi: Likewise.
56021         * stdlib/fmtmsg.c: Likewise.
56022         * sysdeps/i386/stpncpy.S: Likewise.
56023         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56024         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56025         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56026         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56028 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56030         * elf/dl-open.c: Fix typos.
56031         * iconvdata/gbbig5.c: Likewise.
56032         * iconvdata/iso-2022-jp.c: Likewise.
56033         * iconv/gconv_int.h: Likewise.
56034         * iconv/loop.c: Likewise.
56035         * nis/rpcsvc/nis.h: Likewise.
56036         * resolv/ns_name.c: Likewise.
56037         * stdio-common/vfscanf.c: Likewise.
56038         * streams/stropts.h: Likewise.
56039         * sunrpc/rpc_thread.c: Likewise.
56040         * sysdeps/i386/strpbrk.S: Likewise.
56041         * sysdeps/ieee754/k_standard.c: Likewise.
56042         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56043         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56044         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56045         * sysdeps/mach/hurd/profil.c: Likewise.
56046         * sysdeps/s390/dl-procinfo.h: Likewise.
56047         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56048         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56049         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56050         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56051         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56053 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56055         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56058 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56060         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56061         aix specific files.
56062         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56063         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56064         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56065         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56066         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56067         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56068         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56069         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56071 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56072             Roland McGrath  <roland@hack.frob.com>
56074         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56075         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56077 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56079         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56080         __executable_start symbol instead of _start.
56082 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56084         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56085         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56086         Move macros to...
56087         * sysdeps/gnu/ldsodefs.h: ... this new file.
56089         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56090         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56091         instead of ELFOSABI_LINUX.
56093         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56094         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56095         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56096         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56097         Likewise.
56098         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56099         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56100         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56101         Likewise.
56102         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56103         (ibm_extended_long_double): Add ieee_nan member.
56104         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56105         (do_test): New function.
56107         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56108         TEST_TRUNC.
56109         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56110         functions, renamed from truncdfsf_test, trunctfsf_test,
56111         trunctfdf_test.
56112         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56113         functions.
56114         (do_test): Run all these.
56116 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56118         * argp/argp-help.c: Fix typos.
56119         * argp/argp-parse.c: Likewise.
56120         * debug/backtracesyms.c: Likewise.
56121         * elf/elf.h: Likewise.
56122         * malloc/malloc.c: Likewise.
56123         * nis/nis_print.c: Likewise.
56124         * resolv/res_comp.c: Likewise.
56125         * stdlib/stdlib.h: Likewise.
56126         * sunrpc/clnt_tcp.c: Likewise.
56127         * sunrpc/clnt_udp.c: Likewise.
56128         * sunrpc/clnt_unix.c: Likewise.
56129         * sysdeps/unix/bsd/ptsname.c: Likewise.
56130         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56131         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56133         Likewise.
56134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56135         Likewise.
56136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56137         Likewise.
56138         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56140 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56142         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56145 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56147         [BZ #15897]
56148         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56149         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56150         ($(objpfx)bug-dl-leaf): New rule.
56151         ($(objpfx)bug-dl-leaf.so): Likewise.
56152         ($(objpfx)bug-dl-leaf.out): Likewise.
56153         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56154         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56155         * dlfcn/bug-dl-leaf.c: New test.
56156         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56157         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56158         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56159         (dlclose): Likewise.
56160         (dlmopen): Likewise.
56162 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56164         * include/netdb.h [!_ISOMAC]:
56165         Don't include <tls.h>.
56166         (h_errno, __libc_h_errno): Move declaration and macros out of
56167         [_LIBC_REENTRANT].
56169         * include/resolv.h [_RESOLV_H_]:
56170         Don't include <tls.h>.
56171         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56172         * resolv/res_libc.c: Don't include <tls.h>.
56173         (_res): Use __attribute__ ((nocommon)) in place of
56174         __attribute__ ((section (".bss"))).
56176         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56177         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56179         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56181         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56182         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56184         * resolv/res_mkquery.c: Include <sys/time.h>.
56186         * inet/ifreq.c: Moved to ...
56187         * sysdeps/unix/ifreq.c: ... here.
56188         * inet/ifreq.c: New file, true stub version.
56190         * socket/sa_len.c: New file.
56191         * socket/Makefile (aux): Add it.
56192         * sysdeps/unix/sysv/linux/Makefile
56193         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56194         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56195         and #include <socket/sa_len.c>.
56196         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56197         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56199         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56200         * bits/socket.h: ... here.
56202         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56203         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56204         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56206 2013-08-27  Andreas Schwab  <schwab@suse.de>
56208         [BZ #15736]
56209         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56210         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56211         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56212         * string/test-strcasecmp.c (test_main): Run tests in several
56213         locales.
56214         * string/test-strncasecmp.c (test_main): Likewise.
56216         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56217         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56218         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56220         (__strncasecmp_ssse3) [PIC]: Likewise.
56222 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56224         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56226         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56227         instead of explicitly declaring xdecrypt.
56228         * nis/nss_nis/nis-publickey.c: Likewise.
56230 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56232         [BZ #15890]
56233         * nscd/aicache.c: Include res_hconf.h.
56234         (addhstaiX): Initialize res_hconf.
56236 2013-08-26  Andreas Schwab  <schwab@suse.de>
56238         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56239         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56241 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56243         * nscd/aicache.c (addhstaiX): Fix indentation.
56245 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56247         * configure.ac: Quote $build_pt_chown test.
56248         * configure: Regenerated.
56250 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56252         [BZ #15532]
56253         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56254         * math/s_cexpf.c (__cexpf): Likewise.
56255         * math/s_cexpl.c (__cexpl): Likewise.
56256         * math/libm-test.inc (cexp_test_data): Correct expected return
56257         value for NaN + i0.  Add another test.
56259 2013-08-22  David S. Miller  <davem@davemloft.net>
56261         * po/ca.po: Update Catalan translation from translation project.
56262         * po/uk.po: Add Ukrainian translations from translation project.
56264 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56266         [BZ #15797]
56267         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56268         is infinite, not alongside NaN test.
56269         * math/s_fdimf.c (__fdimf): Likewise.
56270         * math/s_fdiml.c (__fdiml): Likewise.
56271         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56272         errno is unchanged.
56274 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56276         * argp/argp-help.c: Fix typos.
56277         * crypt/speeds.c: Likewise.
56278         * csu/check_fds.c: Likewise.
56279         * elf/dl-load.c: Likewise.
56280         * elf/dl-open.c: Likewise.
56281         * elf/reldep3.c: Likewise.
56282         * elf/reldep.c: Likewise.
56283         * elf/sprof.c: Likewise.
56284         * iconv/iconv_charmap.c: Likewise.
56285         * iconv/skeleton.c: Likewise.
56286         * iconv/strtab.c: Likewise.
56287         * io/lockf64.c: Likewise.
56288         * libio/libioP.h: Likewise.
56289         * resolv/gai_notify.c: Likewise.
56290         * resolv/ns_name.c: Likewise.
56291         * resolv/ns_samedomain.c: Likewise.
56292         * resolv/res_send.c: Likewise.
56293         * stdlib/random.c: Likewise.
56294         * sunrpc/rpc/xdr.h: Likewise.
56295         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56296         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56297         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56298         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56299         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56300         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56301         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56302         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56303         * sysdeps/mach/hurd/check_fds.c: Likewise.
56304         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56305         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56306         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56307         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56308         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56309         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56310         * sysdeps/pthread/aio_notify.c: Likewise.
56311         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56312         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56313         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56314         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56315         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56317 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56319         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56320         version if bit_Slow_SSE4_2 is set.
56321         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56322         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56324 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56326         [BZ #15867]
56327         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56328         trampoline stack frame information.
56329         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56330         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56331         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56332         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56333         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56334         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56335         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56336         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56337         sa_flags value.
56338         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56339         interrupting a syscall and set with option SA_SIGINFO.
56341 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56343         [BZ #15531]
56344         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56345         argument is infinite.
56346         * math/s_cprojf.c (__cprojf): Likewise.
56347         * math/s_cprojl.c (__cprojl): Likewise.
56348         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56349         * math/libm-test.inc (cproj_test_data): Add more tests.
56351         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56353         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56354         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56355         size.  Use __ffs to determine corresponding shift.
56357 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56358             Roland McGrath  <roland@hack.frob.com>
56360         * Makefile (INSTALL): Remove trailing blank lines from output of
56361         makeinfo.
56363 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56365         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56366         Align 32 bit compat elf_greg to 8 bytes.
56368 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56370         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56372 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56374         * string/strcoll_l.c (coll_seq): New structure.
56375         (get_next_seq_cached): New function.
56376         (get_next_seq): New function.
56377         (do_compare): New function.
56378         (STRCOLL): Use GNU style definition.  Simplify implementation
56379         by using get_next_seq, get_next_seq_cached and do_compare.
56381 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56383         [BZ #14699]
56384         CVE-2013-4237
56385         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56386         member.
56387         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56388         member.
56389         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56390         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56391         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56392         conditional.
56393         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56394         GETDENTS_64BIT_ALIGNED.
56395         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56396         * manual/filesys.texi (Reading/Closing Directory): Document
56397         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56398         strongly.
56399         * manual/conf.texi (Limits for Files): Add portability note to
56400         NAME_MAX, PATH_MAX.
56401         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56403 2013-08-13  Andreas Schwab  <schwab@suse.de>
56405         [BZ #15749]
56406         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56407         of fabs.
56408         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56409         LDBL_MAX_EXP >= 16384]: Add tests for it.
56411 2013-08-12  David S. Miller  <davem@davemloft.net>
56413         * version.h (RELEASE): Set to "development".
56414         (VERSION): Set to "2.18.90".
56415         * NEWS: Add 2.19 section.
56417 2013-08-03  David S. Miller  <davem@davemloft.net>
56419         * po/ko.po: Update Korean translation from translation project.
56421 2013-08-01  David S. Miller  <davem@davemloft.net>
56423         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56424         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56425         Bilka.
56427 2013-07-30  David S. Miller  <davem@davemloft.net>
56429         * po/fr.po: Update French translation from translation project.
56431 2013-07-28  David S. Miller  <davem@davemloft.net>
56433         * po/cs.po: Update Czech translation from translation project.
56435         * po/sv.po: Update Swedish translation from translation project.
56437 2013-07-27  David S. Miller  <davem@davemloft.net>
56439         * po/eo.po: Update Esperanto translation from translation project.
56441         * po/vi.po: Update Vietnamese translation from translation project.
56443         * po/de.po: Update German translation from translation project.
56445 2013-07-26  David S. Miller  <davem@davemloft.net>
56447         * po/bg.po: Update Bulgarian translation from translation project.
56449         * po/nl.po: Update Dutch translation from translation project.
56450         * po/pl.po: Update Polish translation from translation project.
56451         * po/ru.po: Update Russian translation from translation project.
56453 2013-07-24  David S. Miller  <davem@davemloft.net>
56455         * po/libc.pot: Update.
56457 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56459         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56460         variable page size.
56461         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56462         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56463         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56465 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56467         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56469 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56470             Andreas Schwab  <schwab@suse.de>
56471             Roland McGrath  <roland@hack.frob.com>
56472             Joseph Myers  <joseph@codesourcery.com>
56473             Carlos O'Donell  <carlos@redhat.com>
56475         [BZ #15755]
56476         * config.h.in: Define HAVE_PT_CHOWN.
56477         * config.make.in (build-pt-chown): New variable.
56478         * configure.in (--enable-pt_chown): New configure option.
56479         * configure: Regenerate.
56480         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56481         build-pt-chown is enabled.
56482         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56483         pt_chown to fix pty ownership.
56484         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56485         CLOSE_ALL_FDS.
56486         * manual/install.texi (Configuring and compiling): Mention
56487         --enable-pt_chown. Add @findex for grantpt.
56488         * INSTALL: Regenerate.
56490 2013-07-20  David S. Miller  <davem@davemloft.net>
56492         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
56493         difference between 32-bit and 64-bit.
56495 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
56497         [BZ #15711]
56498         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
56499         Avoid system header dependency with -ffreestanding.
56500         ($(objpfx)bits/syscall%d): Likewise.
56502 2013-07-13  David S. Miller  <davem@davemloft.net>
56504         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
56505         underflows from atanl/atan2l due to bug 15319.
56506         (casinh_test_data): Likewise.
56508 2013-07-07  David S. Miller  <davem@davemloft.net>
56510         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
56512 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
56514         * sysdeps/i386/fpu/libm-test-ulps: Update.
56515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56517 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56519         * configure.in (--enable-lock-elision): Fix message text.
56520         * INSTALL: Regenerate.
56521         * configure: Regenerate.
56523 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56527 2013-07-03  Andreas Jaeger  <aj@suse.de>
56529         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
56530         define.
56531         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
56532         (ptrace_peeksiginfo_args): Add.
56533         (__ptrace_peeksiginfo_flags): Add.
56534         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56536         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56538 2013-07-03  Allan McRae  <allan@archlinux.org>
56540         * sysdeps/i386/fpu/libm-test-ulps: Update.
56542 2013-07-02  David S. Miller  <davem@davemloft.net>
56544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56546 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
56548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56550 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56552         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56555 2013-07-02  Andi Kleen <ak@linux.intel.com>
56557         * config.h.in (ENABLE_LOCK_ELISION): Add.
56558         * configure.in (--enable-lock-elision): Add option.
56559         * manual/install.texi: Document --enable lock elision.
56560         * configure: Regenerate
56561         * INSTALL: Regenerate.
56563 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
56565         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
56566         SSE4.2 strcasecmp for libc.a.
56567         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
56569 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56571         [BZ #13304]
56572         * soft-fp/op-common.h (_FP_FMA): New macro.
56573         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
56574         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
56575         (_FP_MUL_MEAT_1_imm): ... here.
56576         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
56577         (_FP_MUL_MEAT_1_wide): ... here.
56578         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
56579         (_FP_MUL_MEAT_1_hard): ... here.
56580         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
56581         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
56582         (_FP_MUL_MEAT_2_wide): ... here.
56583         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
56584         (_FP_MUL_MEAT_2_wide_3mul): ... here.
56585         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
56586         (_FP_MUL_MEAT_2_gmp): ... here.
56587         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
56588         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
56589         (_FP_MUL_MEAT_4_wide): ... here.
56590         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
56591         (_FP_MUL_MEAT_4_gmp): ... here.
56592         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
56593         (_FP_WFRACBITS_DW_S): Likewise.
56594         (_FP_WFRACXBITS_DW_S): Likewise.
56595         (_FP_HIGHBIT_DW_S): Likewise.
56596         (FP_FMA_S): Likewise.
56597         (_FP_FRAC_HIGH_DW_S): Likewise.
56598         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
56599         (_FP_WFRACBITS_DW_D): Likewise.
56600         (_FP_WFRACXBITS_DW_D): Likewise.
56601         (_FP_HIGHBIT_DW_D): Likewise.
56602         (FP_FMA_D): Likewise.
56603         (_FP_FRAC_HIGH_DW_D): Likewise.
56604         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
56605         (_FP_WFRACBITS_DW_E): Likewise.
56606         (_FP_WFRACXBITS_DW_E): Likewise.
56607         (_FP_HIGHBIT_DW_E): Likewise.
56608         (FP_FMA_E): Likewise.
56609         (_FP_FRAC_HIGH_DW_E): Likewise.
56610         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
56611         (_FP_WFRACBITS_DW_Q): Likewise.
56612         (_FP_WFRACXBITS_DW_Q): Likewise.
56613         (_FP_HIGHBIT_DW_Q): Likewise.
56614         (FP_FMA_Q): Likewise.
56615         (_FP_FRAC_HIGH_DW_Q): Likewise.
56616         * soft-fp/fmasf4.c: New file.
56617         * soft-fp/fmadf4.c: Likewise.
56618         * soft-fp/fmatf4.c: Likewise.
56620 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56623         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
56624         Silvermont.
56625         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
56626         macro.
56627         (index_Slow_SSE4_2): Likewise.
56628         (index_Prefer_PMINUB_for_stringop): Likewise.
56629         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
56630         bit_Slow_SSE4_2 is set.
56631         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56632         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56634 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56636         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
56637         rtld_global._dl_hwcap2.
56638         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
56639         POWER8.
56640         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
56641         POWER8 feature descriptions defined in _dl_hwcap2.
56642         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
56643         string handling for POWER8 feature bits.
56644         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
56645         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
56646         _dl_powerpc_cap_flags.
56647         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
56648         * sysdeps/powerpc/rtld-global-offsets.sym
56649         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
56650         _dl_hwcap2 in the rtld_global_ro structure.
56652 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56654         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56655         hardware capabilities in support of AT_HWCAP2.
56656         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56657         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56658         GLRO(dl_hwcap2).
56659         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56660         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56661         explicitly the unknown a_type display mechanism is used.
56662         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56663         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56664         struct member.
56665         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56666         to macro prototype for AT_HWCAP2 support.
56667         * sysdeps/i386/dl-procinfo.h: Likewise.
56668         * sysdeps/s390/dl-procinfo.h: Likewise.
56669         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56670         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56671         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56672         return -1 for unknown a_type display fallback.
56673         * sysdeps/sparc/dl-procinfo.h: Likewise.
56674         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56675         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56677 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56679         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56680         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56682 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56684         [BZ #12492]
56685         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56686         mprotect making __stack_prot writable.
56688 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56689             Joseph Myers  <joseph@codesourcery.com>
56691         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56692         as being properly aligned.
56694 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56696         * dlfcn/modstatic5.c: New file.
56697         * dlfcn/tststatic5.c: New file.
56698         * dlfcn/Makefile (tests): Add tststatic5.
56699         (tests-static): Likewise.
56700         (modules-names): Add modstatic5.
56701         (tststatic5-ENV): New variable.
56702         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56704         [BZ #15022]
56705         * elf/dl-support.c (_dl_main_map): New variable.
56706         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56707         (_dl_nns, _dl_load_adds): Set to 1.
56708         (_dl_initial_searchlist): Refer to _dl_main_map.
56709         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56710         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56711         call to _dl_get_origin.
56712         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56713         around call_map.
56714         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56715         * dlfcn/modstatic3.c: New file.
56716         * dlfcn/tststatic3.c: New file.
56717         * dlfcn/tststatic4.c: New file.
56718         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56719         (tests-static): Likewise.
56720         (modules-names): Add modstatic3.
56721         (tststatic3-ENV, tststatic4-ENV): New variables.
56722         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56723         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56725 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56727         * configure.in (CC): Require GCC version 4.4 or later.
56728         * configure: Regenerated.
56729         * manual/install.texi (Tools for Compilation): Update GCC version
56730         requirement.
56731         * INSTALL: Regenerated.
56733 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56735         [BZ #15674]
56736         * string/test-memcmp.c (check2): New.
56737         (main): Call check2.
56739         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56741 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56743         [BZ #15022]
56744         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56745         over to...
56746         (dl_open_worker) [!SHARED]: ... here.
56748 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56750         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56752 2013-06-25  Richard Henderson  <rth@redhat.com>
56754         * locale/programs/locarchive.c: Include <libc-internal.h>
56756 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56758         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56759         trailing whitespace removed.
56761 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56763         [BZ #10283]
56764         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56765         * locale/programs/locarchive.c: Include libc-mmap.h.
56766         (prepare_address_space): Take two new outputs (the mmap base and len).
56767         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56768         values.
56769         (create_archive): Declare new mmap base and len values for
56770         prepare_address_space, and store the result in ah.
56771         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56772         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56773         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56774         Declare new mmap base and len values for
56775         prepare_address_space, and store the result in new_ah.
56776         (open_archive): Declare new mmap base and len values for
56777         prepare_address_space, and store the result in ah.
56778         (close_archive): If ah->mmap_base is not NULL, use that and
56779         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56780         * sysdeps/generic/libc-mmap.h: New file.
56782 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56784         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56785         (ALIGN_UP): Likewise.
56786         (PTR_ALIGN_DOWN): Likewise.
56787         (PTR_ALIGN_UP): Likewise.
56789 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56791         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56792         entry mapped to PPC_PLATFORM_POWER8.
56793         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56794         POWER8.
56795         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56796         (_dl_string_platform): Add case for exporting platform position for
56797         POWER8.
56798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56799         search path to sysdeps/powerpc/powerpc32/power8 directory.
56800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56801         search path to sysdeps/powerpc/powerpc64/power8 directory.
56802         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56803         power7 directories.
56804         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56805         power7 directories.
56807 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56809         * INSTALL: Regenerate.
56811         * nscd/connections.c (nscd_init): Fix comment.
56813 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56815         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56817         [BZ #15667]
56818         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56819         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56821 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56823         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56824         DL_DST_REQ_STATIC.
56825         (DL_DST_REQ_STATIC): Remove macro.
56827 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56829         [BZ #7006]
56830         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56831         with a shift of 0 bits.
56833 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56835         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56836         $(tststatic-ENV).
56838 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56840         [BZ #15655]
56841         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56843 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56845         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56846         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56847         accepts -fno-tree-loop-distribute-patterns.
56848         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56849         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56850         recursive call.
56851         * string/memset.c (memset): Likewise.
56852         * string/test-memmove.c (simple_memmove): Disable loop transformation
56853         to library calls.
56854         * string/test-memset.c (simple_memset): Likewise.
56855         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56856         * benchtests/bench-memset.c (simple_memset): Likewise.
56857         * configure: Regenerated.
56859 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56861         * math/test-misc.c (main): Ignore fesetround failure when failures
56862         of subsequent rounding tests would be ignored.
56864         [BZ #15654]
56865         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56866         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56867         * math/fegetenv.c (__fegetenv): Return 0.
56868         * math/fegetexcept.c (fegetexcept): Return 0.
56869         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56870         FE_TONEAREST.
56871         * math/feholdexcpt.c (feholdexcept): Return 0.
56872         * math/fesetenv.c (__fesetenv): Return 0.
56873         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56874         argument FE_TONEAREST.
56875         * math/feupdateenv.c (__feupdateenv): Return 0.
56876         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56878 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56880         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56881         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56882         ($(objpfx)rtld-%.os rules): Use them.
56884 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56886         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56887         fields.
56889 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56891         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56892         length of target pattern, then descending length of dependency pattern.
56893         * configure.in (AWK): Require gawk 3.1.2 or newer.
56894         * manual/install.texi (Tools for Compilation): Say that we do.
56895         * configure: Regenerated.
56897         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56898         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56899         * scripts/sysd-rules.awk: ... this new script.
56900         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56901         than a glob-style pattern.
56903 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56905         * math/test-misc.c (main): Do not treat incorrectly rounded
56906         conversions as failure unless ROUNDING_TESTS passes.
56908 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56910         [BZ #15631]
56911         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56912         restore exception state around main square root computation, then
56913         check for inexactness explicitly.
56915         * math/libm-test.inc (fma_test_data): Add another test.
56917 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56919         * manual/threads.texi (Non-POSIX Extensions): New document
56920         node.  Document pthread_getattr_default_np and
56921         pthread_setattr_default_np.
56923         * Versions.def (libpthread): Add GLIBC_2.18.
56924         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56926         Likewise.
56927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56928         Likewise.
56929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56930         Likewise.
56931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56932         Likewise.
56933         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56934         Likewise.
56935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56936         Likewise.
56937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56938         Likewise.
56939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56940         Likewise.
56941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56942         Likewise.
56944 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56947         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56949 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56950             H.J. Lu  <hjl.tools@gmail.com>
56952         [BZ #15627]
56953         * sysdeps/x86_64/rtld-memset.c: Remove file.
56954         * sysdeps/x86_64/rtld-memset.S: New file.
56956 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56958         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56959         (test_in_one_mode): Take arguments for whether the rounding mode
56960         is supported for each floating-point type.
56961         (do_test): Pass new arguments to test_in_one_mode using
56962         ROUNDING_TESTS.
56964 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56966         * posix/tst-waitid.c (do_test): Distinguish different instances of
56967         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56968         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56969         before entering the kernel for waitpid.
56971 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56973         * NEWS: Fix note on clock function precision.  Text by Roland
56974         McGrath.
56976 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56978         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56979         it into place only when and if the sanity check passes.
56981 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56983         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56984         output for whether conversion result is exact.  Take argument
56985         indicating whether type is IBM long double.
56986         (round_for_all): Change need_exact field to ibm_ld.
56987         * stdlib/tst-strtod-round.c (struct exactness): New type.
56988         (struct test): Change bool ld_ok field to struct exactness exact.
56989         (TEST): Update all definitions for change to field.
56990         (tests): Regenerate array contents.
56991         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56992         field value.  Check for IBM long double here.
56993         (do_test): Update calls to test_in_one_mode.
56995 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56997         [BZ #12515]
56998         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56999         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57001 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57003         [BZ #15605]
57004         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57005         generated by the compiler on loop optimizations.
57006         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57007         general definitions.
57009 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57011         * math/bug-nextafter.c: Include <math-tests.h>.
57012         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57013         the relevant type.
57014         * math/bug-nexttoward.c: Include <math-tests.h>.
57015         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57016         the relevant type.
57017         * math/test-misc.c: Include <math-tests.h>.
57018         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57019         the relevant type.
57021 2013-06-12  Andreas Jaeger  <aj@suse.de>
57023         * po/ia.po: Update Interlingua translation from translation
57024         project.
57026 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57028         * include/fenv.h: Include stdbool.h.
57029         (struct rm_ctx): New structure.
57030         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57031         Define macro.
57032         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57033         (SET_RESTORE_ROUNDF): Likewise.
57034         (SET_RESTORE_ROUNDL): Likewise.
57035         (SET_RESTORE_ROUND_NOEX): Likewise.
57036         (SET_RESTORE_ROUND_NOEXF): Likewise.
57037         (SET_RESTORE_ROUND_NOEXL): Likewise.
57038         (SET_RESTORE_ROUND_53BIT): Likewise.
57039         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57040         (libc_feresetround_noexf_ctx): Likewise.
57041         (libc_feresetround_noexl_ctx): Likewise.
57042         (libc_feholdsetround_53bit_ctx): Likewise.
57043         (libc_feresetround_53bit_ctx): Likewise.
57044         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57045         (libc_feholdexcept_setround_sse_ctx): New function.
57046         (libc_fesetenv_sse_ctx): Likewise.
57047         (libc_feupdateenv_sse_ctx): Likewise.
57048         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57049         (libc_feholdexcept_setround_387_ctx): Likewise.
57050         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57051         (libc_feholdsetround_387_prec_ctx): Likewise.
57052         (libc_feholdsetround_387_ctx): Likewise.
57053         (libc_feholdsetround_387_53bit_ctx): Likewise.
57054         (libc_feholdsetround_sse_ctx): Likewise.
57055         (libc_feresetround_sse_ctx): Likewise.
57056         (libc_feresetround_387_ctx): Likewise.
57057         (libc_feupdateenv_387_ctx): Likewise.
57058         (libc_feholdexcept_setroundf_ctx): Define macro.
57059         (libc_fesetenvf_ctx): Likewise.
57060         (libc_feupdateenvf_ctx): Likewise.
57061         (libc_feholdsetroundf_ctx): Likewise.
57062         (libc_feresetroundf_ctx): Likewise.
57063         (libc_feholdexcept_setround_ctx): Likewise.
57064         (libc_fesetenv_ctx): Likewise.
57065         (libc_feupdateenv_ctx): Likewise.
57066         (libc_feholdsetround_ctx): Likewise.
57067         (libc_feresetround_ctx): Likewise.
57068         (libc_feholdexcept_setroundl_ctx): Likewise.
57069         (libc_feupdateenvl_ctx): Likewise.
57070         (libc_feholdsetroundl_ctx): Likewise.
57071         (libc_feresetroundl_ctx): Likewise.
57072         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57073         (libc_feresetround_53bit_ctx): Likewise.
57075 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57077         * locale/iso-639.def: Convert to UTF-8.
57079 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57081         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57082         (EXCEPTION_TESTS_double): Likewise.
57083         (EXCEPTION_TESTS_long_double): Likewise.
57084         (EXCEPTION_TESTS): Likewise.
57085         * math/libm-test.inc (test_exceptions): Only test exceptions if
57086         EXCEPTION_TESTS (FLOAT).
57088 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57090         * benchtests/Makefile (string-bench): Add strcpy_chk and
57091         stpcpy_chk.
57092         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57093         * benchtests/bench-stpcpy_chk.c: New file.
57094         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57095         * benchtests/bench-strcpy_chk.c: New file.
57096         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57097         code.
57098         (do_test): Likewise.
57100 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57102         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57103         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57104         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57105         with tabs where appropriate.
57106         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57107         dl-procinfo.h.
57108         [PPC_PLATFORM_PPC440]: Likewise.
57109         [PPC_PLATFORM_PPC464]: Likewise.
57110         [PPC_PLATFORM_PPC476]: Likewise.
57111         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57112         ppc464, and ppc476 platform strings merging from ports/
57113         dl-procinfo.h.
57115 2013-06-11  Andreas Schwab  <schwab@suse.de>
57117         [BZ #14991]
57118         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57119         (from_ucs4_idx): Regenerate.
57120         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57121         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57122         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57123         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57124         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57125         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57126         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57127         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57128         from FROM_LOOP and TO_LOOP specific macros.
57129         (BODY): Handle combining characters.
57130         * iconvdata/BIG5HKSCS.irreversible: Update.
57131         * iconvdata/BIG5HKSCS.precomposed: New file.
57132         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57133         characters.
57134         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57136 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57138         * include/sys/time.h: Fix indentation and add copyright header.
57140         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57141         (do_test): Likewise.
57142         * string/test-memchr.c (do_one_test): Likewise.
57143         (do_test): Likewise.
57144         * string/test-memcmp.c (do_one_test): Likewise.
57145         (do_test): Likewise.
57146         * string/test-memcpy.c (do_one_test): Likewise.
57147         (do_test): Likewise.
57148         * string/test-memmem.c (do_one_test): Likewise.
57149         (do_test): Likewise.
57150         (do_random_tests): Likewise.
57151         * string/test-memmove.c (do_one_test): Likewise.
57152         (do_test): Likewise.
57153         * string/test-memset.c (do_one_test): Likewise.
57154         (do_test): Likewise.
57155         * string/test-rawmemchr.c (do_one_test): Likewise.
57156         (do_test): Likewise.
57157         * string/test-strcasecmp.c (do_one_test): Likewise.
57158         (do_test): Likewise.
57159         * string/test-strcasestr.c (do_one_test): Likewise.
57160         (do_test): Likewise.
57161         * string/test-strcat.c (do_one_test): Likewise.
57162         (do_test): Likewise.
57163         * string/test-strchr.c (do_one_test): Likewise.
57164         (do_test): Likewise.
57165         * string/test-strcmp.c (do_one_test): Likewise.
57166         (do_test): Likewise.
57167         * string/test-strcpy.c (do_one_test): Likewise.
57168         (do_test): Likewise.
57169         * string/test-string.h: Likewise.
57170         (test_init): Likewise.
57171         * string/test-strlen.c (do_one_test): Likewise.
57172         (do_test): Likewise.
57173         * string/test-strncasecmp.c (do_one_test): Likewise.
57174         (do_test): Likewise.
57175         * string/test-strncat.c (do_one_test): Likewise.
57176         (do_test): Likewise.
57177         * string/test-strncmp.c (do_one_test): Likewise.
57178         (do_test_limit): Likewise.
57179         (do_test): Likewise.
57180         * string/test-strncpy.c (do_one_test): Likewise.
57181         (do_test): Likewise.
57182         * string/test-strnlen.c (do_one_test): Likewise.
57183         (do_test): Likewise.
57184         * string/test-strpbrk.c (do_one_test): Likewise.
57185         (do_test): Likewise.
57186         * string/test-strrchr.c (do_one_test): Likewise.
57187         (do_test): Likewise.
57188         * string/test-strspn.c (do_one_test): Likewise.
57189         (do_test): Likewise.
57190         * string/test-strstr.c (do_one_test): Likewise.
57191         (do_test): Likewise.
57193         * benchtests/Makefile (string-bench): Add string benchmarks.
57194         * benchtests/bench-bcopy-ifunc.c: New file.
57195         * benchtests/bench-bcopy.c: New file.
57196         * benchtests/bench-bzero-ifunc.c: New file.
57197         * benchtests/bench-bzero.c: New file.
57198         * benchtests/bench-memccpy-ifunc.c: New file.
57199         * benchtests/bench-memccpy.c: New file.
57200         * benchtests/bench-memchr-ifunc.c: New file.
57201         * benchtests/bench-memchr.c: New file.
57202         * benchtests/bench-memcmp-ifunc.c: New file.
57203         * benchtests/bench-memcmp.c: New file.
57204         * benchtests/bench-memmem-ifunc.c: New file.
57205         * benchtests/bench-memmem.c: New file.
57206         * benchtests/bench-memmove-ifunc.c: New file.
57207         * benchtests/bench-memmove.c: New file.
57208         * benchtests/bench-mempcpy-ifunc.c: New file.
57209         * benchtests/bench-mempcpy.c: New file.
57210         * benchtests/bench-memset-ifunc.c: New file.
57211         * benchtests/bench-memset.c: New file.
57212         * benchtests/bench-rawmemchr-ifunc.c: New file.
57213         * benchtests/bench-rawmemchr.c: New file.
57214         * benchtests/bench-stpcpy-ifunc.c: New file.
57215         * benchtests/bench-stpcpy.c: New file.
57216         * benchtests/bench-stpncpy-ifunc.c: New file.
57217         * benchtests/bench-stpncpy.c: New file.
57218         * benchtests/bench-strcasecmp-ifunc.c: New file.
57219         * benchtests/bench-strcasecmp.c: New file.
57220         * benchtests/bench-strcasestr-ifunc.c: New file.
57221         * benchtests/bench-strcasestr.c: New file.
57222         * benchtests/bench-strcat-ifunc.c: New file.
57223         * benchtests/bench-strcat.c: New file.
57224         * benchtests/bench-strchr-ifunc.c: New file.
57225         * benchtests/bench-strchr.c: New file.
57226         * benchtests/bench-strchrnul-ifunc.c: New file.
57227         * benchtests/bench-strchrnul.c: New file.
57228         * benchtests/bench-strcmp-ifunc.c: New file.
57229         * benchtests/bench-strcmp.c: New file.
57230         * benchtests/bench-strcpy-ifunc.c: New file.
57231         * benchtests/bench-strcpy.c: New file.
57232         * benchtests/bench-strcspn-ifunc.c: New file.
57233         * benchtests/bench-strcspn.c: New file.
57234         * benchtests/bench-strlen-ifunc.c: New file.
57235         * benchtests/bench-strlen.c: New file.
57236         * benchtests/bench-strncasecmp-ifunc.c: New file.
57237         * benchtests/bench-strncasecmp.c: New file.
57238         * benchtests/bench-strncat-ifunc.c: New file.
57239         * benchtests/bench-strncat.c: New file.
57240         * benchtests/bench-strncmp-ifunc.c: New file.
57241         * benchtests/bench-strncmp.c: New file.
57242         * benchtests/bench-strncpy-ifunc.c: New file.
57243         * benchtests/bench-strncpy.c: New file.
57244         * benchtests/bench-strnlen-ifunc.c: New file.
57245         * benchtests/bench-strnlen.c: New file.
57246         * benchtests/bench-strpbrk-ifunc.c: New file.
57247         * benchtests/bench-strpbrk.c: New file.
57248         * benchtests/bench-strrchr-ifunc.c: New file.
57249         * benchtests/bench-strrchr.c: New file.
57250         * benchtests/bench-strspn-ifunc.c: New file.
57251         * benchtests/bench-strspn.c: New file.
57252         * benchtests/bench-strstr-ifunc.c: New file.
57253         * benchtests/bench-strstr.c: New file.
57255         * benchtests/Makefile: Disable parallel execution of targets.
57256         (string-bench): Add memcpy.
57257         (benchset): New variable to store a list of benchmark sets.
57258         (bench-func): Renamed from bench.
57259         (bench-set): New target.
57260         (bench): Depend on bench-func and bench-set.
57261         * benchtests/README: Add section on benchmark sets.
57262         * benchtests/bench-memcpy-ifunc.c: New file.
57263         * benchtests/bench-memcpy.c: New file.
57264         * benchtests/bench-string.h: New file.
57266 2013-06-11  Andreas Schwab  <schwab@suse.de>
57268         [BZ #15577]
57269         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57270         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57271         values in the triple.
57272         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57273         terminator in the group key.
57275 2013-06-11  Andreas Jaeger  <aj@suse.de>
57277         * po/zh_TW.po: Update Chinese (traditional) translation from
57278         translation project.
57280 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57282         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57283         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57284         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57285         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57286         (clock_getcpuclockid): Likewise.
57287         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57288         Add weak_alias and libc_hidden_def.
57289         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57290         * rt/clock_gettime.c (clock_gettime): Rename to
57291         __clock_gettime.  Add weak_alias and libc_hidden_def.
57292         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57293         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57294         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57295         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57296         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57297         Likewise.
57298         * rt/clock_settime.c (clock_settime): Rename to
57299         __clock_settime.  Add weak_alias and libc_hidden_def.
57300         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57302 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57304         * mach/err_boot.sub: Remove trailing whitespace.
57305         * mach/err_ipc.sub: Likewise.
57306         * mach/err_mach.sub: Likewise.
57308         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57309         (ROUNDING_TESTS_double): Likewise.
57310         (ROUNDING_TESTS_long_double): Likewise.
57311         (ROUNDING_TESTS): Likewise.
57312         * math/libm-test.inc: Include <math-tests.h>.
57313         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57314         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57315         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57316         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57318 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57320         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57321         of assigning.
57323 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57325         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57326         otherwise empty TRANS lines.
57327         * sysdeps/gnu/errlist.c: Regenerated.
57329         * catgets/gencat.c (error_print): Use (void) in function
57330         definition.
57331         * crypt/crypt_util.c (__init_des): Likewise.
57332         * crypt/speeds.c (Stop): Likewise.
57333         (main): Likewise.
57334         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57335         * inet/ruserpass.c (token): Likewise.
57336         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57337         * intl/localealias.c (extend_alias_table): Likewise.
57338         * intl/plural-exp.c (init_germanic_plural): Likewise.
57339         * libio/fcloseall.c (__fcloseall): Likewise.
57340         * libio/genops.c (_IO_flush_all): Likewise.
57341         (_IO_flush_all_linebuffered): Likewise.
57342         (_IO_cleanup): Likewise.
57343         (_IO_iter_begin): Likewise.
57344         (_IO_iter_end): Likewise.
57345         (_IO_list_lock): Likewise.
57346         (_IO_list_unlock): Likewise.
57347         (_IO_list_resetlock): Likewise.
57348         * libio/getchar.c (getchar): Likewise.
57349         * libio/getchar_u.c (getchar_unlocked): Likewise.
57350         * libio/getwchar.c (getwchar): Likewise.
57351         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57352         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57353         * login/getpt.c (__getpt): Likewise.
57354         * login/tst-utmp.c (main): Likewise.
57355         * malloc/hooks.c (__malloc_check_init): Likewise.
57356         * malloc/malloc.c (__malloc_stats): Likewise.
57357         * malloc/mtrace.c (tr_break): Likewise.
57358         (mtrace): Likewise.
57359         (muntrace): Likewise.
57360         * misc/fstab.c (endfsent): Likewise.
57361         * misc/getclktck.c (__getclktck): Likewise.
57362         * misc/getdtsz.c (__getdtablesize): Likewise.
57363         * misc/gethostid.c (gethostid): Likewise.
57364         * misc/getpagesize.c (__getpagesize): Likewise.
57365         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57366         (__get_nprocs): Likewise.
57367         (__get_phys_pages): Likewise.
57368         (__get_avphys_pages): Likewise.
57369         * misc/getttyent.c (getttyent): Likewise.
57370         (setttyent): Likewise.
57371         (endttyent): Likewise.
57372         * misc/getusershell.c (getusershell): Likewise.
57373         (endusershell): Likewise.
57374         (setusershell): Likewise.
57375         (initshells): Likewise.
57376         * misc/hsearch.c (__hdestroy): Likewise.
57377         * misc/sync.c (sync): Likewise.
57378         * misc/syslog.c (closelog_internal): Likewise.
57379         (closelog): Likewise.
57380         * misc/ttyslot.c (ttyslot): Likewise.
57381         * misc/vhangup.c (vhangup): Likewise.
57382         * posix/fork.c (__fork): Likewise.
57383         * posix/getegid.c (__getegid): Likewise.
57384         * posix/geteuid.c (__geteuid): Likewise.
57385         * posix/getgid.c (__getgid): Likewise.
57386         * posix/getpid.c (__getpid): Likewise.
57387         * posix/getppid.c (__getppid): Likewise.
57388         * posix/getuid.c (__getuid): Likewise.
57389         * posix/pause.c (pause): Likewise.
57390         * posix/setpgrp.c (setpgrp): Likewise.
57391         * posix/setsid.c (__setsid): Likewise.
57392         * posix/test-vfork.c (noop): Likewise.
57393         * resolv/gethnamaddr.c (_endhtent): Likewise.
57394         (_gethtent): Likewise.
57395         (ht_endhostent): Likewise.
57396         (gethostent): Likewise.
57397         (dns_service): Likewise.
57398         * stdlib/drand48.c (drand48): Likewise.
57399         * stdlib/lrand48.c (lrand48): Likewise.
57400         * stdlib/mrand48.c (mrand48): Likewise.
57401         * stdlib/rand.c (rand): Likewise.
57402         * stdlib/random.c (__random): Likewise.
57403         * stdlib/setenv.c (clearenv): Likewise.
57404         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57405         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57406         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57407         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57408         (__get_nprocs): Likewise.
57409         (__get_phys_pages): Likewise.
57410         (__get_avphys_pages): Likewise.
57411         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57412         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57413         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57414         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57415         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57416         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57417         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57418         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57419         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57420         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57421         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57422         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57423         * sysdeps/posix/clock.c (clock): Likewise.
57424         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57425         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57426         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57427         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57428         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57429         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57430         (__get_nprocs_conf): Likewise.
57431         (__get_phys_pages): Likewise.
57432         (__get_avphys_pages): Likewise.
57433         * time/clock.c (clock): Likewise.
57434         * time/tzset.c (__tzname_max): Likewise.
57436 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57438         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57439         (__bswap_32): Do not use "register".
57440         * crypt/crypt.c (_ufc_doit_r): Likewise.
57441         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57442         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57443         * gmon/gmon.c (__monstartup): Likewise.
57444         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57445         * hurd/hurdmalloc.c (more_memory): Likewise.
57446         (malloc): Likewise.
57447         (free): Likewise.
57448         (realloc): Likewise.
57449         (malloc_fork_prepare): Likewise.
57450         (malloc_fork_parent): Likewise.
57451         (malloc_fork_child): Likewise.
57452         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57453         (_svcauth_des): Likewise.
57454         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57455         * inet/inet_net.c (inet_network): Likewise.
57456         * inet/inet_netof.c (inet_netof): Likewise.
57457         * inet/rcmd.c (__validuser2_sa): Likewise.
57458         * io/fts.c (fts_open): Likewise.
57459         (fts_load): Likewise.
57460         (fts_close): Likewise.
57461         (fts_read): Likewise.
57462         (fts_children): Likewise.
57463         (fts_build): Likewise.
57464         (fts_stat): Likewise.
57465         (fts_sort): Likewise.
57466         (fts_alloc): Likewise.
57467         (fts_lfree): Likewise.
57468         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57469         (_IO_file_xsgetn): Likewise.
57470         (_IO_file_xsgetn_mmap): Likewise.
57471         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57472         (_IO_cookie_write): Likewise.
57473         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57474         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57475         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57476         * malloc/obstack.c (_obstack_begin): Likewise.
57477         (_obstack_begin_1): Likewise.
57478         (_obstack_newchunk): Likewise.
57479         (_obstack_allocated_p): Likewise.
57480         (obstack_free): Likewise.
57481         (_obstack_memory_used): Likewise.
57482         * misc/getttyent.c (getttynam): Likewise.
57483         (getttyent): Likewise.
57484         (skip): Likewise.
57485         (value): Likewise.
57486         * misc/getusershell.c (initshells): Likewise.
57487         * misc/syslog.c (__vsyslog_chk): Likewise.
57488         * misc/ttyslot.c (ttyslot): Likewise.
57489         * nis/nis_hash.c (__nis_hash): Likewise.
57490         * posix/fnmatch_loop.c (FCT): Likewise.
57491         * posix/getconf.c (print_all): Likewise.
57492         (main): Likewise.
57493         * posix/getopt.c (exchange): Likewise.
57494         * posix/glob.c (globfree): Likewise.
57495         (prefix_array): Likewise.
57496         (__glob_pattern_type): Likewise.
57497         * resolv/arpa/nameser.h (NS_GET16): Likewise.
57498         (NS_GET32): Likewise.
57499         (NS_PUT16): Likewise.
57500         (NS_PUT32): Likewise.
57501         * resolv/gethnamaddr.c (getanswer): Likewise.
57502         (gethostbyname2): Likewise.
57503         (gethostbyaddr): Likewise.
57504         (_gethtent): Likewise.
57505         (_gethtbyname2): Likewise.
57506         (_gethtbyaddr): Likewise.
57507         * resolv/ns_print.c (dst_s_get_int16): Likewise.
57508         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
57509         * resolv/res_init.c (__res_vinit): Likewise.
57510         (net_mask): Likewise.
57511         * resolv/res_mkquery.c (outchar): Likewise.
57512         (PRINT): Likewise.
57513         * stdio-common/printf_fp.c (outchar): Likewise.
57514         (PRINT): Likewise.
57515         * stdio-common/printf_fphex.c (outchar): Likewise.
57516         (PRINT): Likewise.
57517         * stdio-common/printf_size.c (outchar): Likewise.
57518         (PRINT): Likewise.
57519         * stdio-common/test_rdwr.c (main): Likewise.
57520         * stdio-common/tfformat.c (matches): Likewise.
57521         * stdio-common/vfprintf.c (outchar): Likewise.
57522         (printf_unknown): Likewise.
57523         (buffered_vfprintf): Likewise.
57524         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57525         * stdio-common/xbug.c (AppendToBuffer): Likewise.
57526         (ReadFile): Likewise.
57527         * stdlib/qsort.c (SWAP): Likewise.
57528         (_quicksort): Likewise.
57529         * stdlib/setenv.c (__add_to_environ): Likewise.
57530         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57531         * stdlib/strtol_l.c (__strtol_l): Likewise.
57532         * stdlib/tst-strtod.c (main): Likewise.
57533         * stdlib/tst-strtol.c (main): Likewise.
57534         * stdlib/tst-strtoll.c (main): Likewise.
57535         * string/bits/string2.h (__strcmp_cc): Likewise.
57536         (__strcmp_cg): Likewise.
57537         (__strcspn_c1): Likewise.
57538         (__strcspn_c2): Likewise.
57539         (__strcspn_c3): Likewise.
57540         (__strspn_c1): Likewise.
57541         (__strspn_c2): Likewise.
57542         (__strspn_c3): Likewise.
57543         (__strsep_1c): Likewise.
57544         (__strsep_2c): Likewise.
57545         (__strsep_3c): Likewise.
57546         * string/memccpy.c (__memccpy): Likewise.
57547         * string/stpcpy.c (__stpcpy): Likewise.
57548         * string/strcmp.c (strcmp): Likewise.
57549         * string/strrchr.c (strrchr): Likewise.
57550         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
57551         Likewise.
57552         * sysdeps/mach/hurd/getcwd.c
57553         (_hurd_canonicalize_directory_name_internal): Likewise.
57554         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
57555         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
57556         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
57557         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
57558         Likewise, in both definitions.
57559         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
57560         definitions.
57561         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
57562         64] (__bswap_64): Likewise.
57563         * time/test_time.c (main): Likewise.
57564         * time/tzfile.c (__tzfile_read): Likewise.
57565         (__tzfile_compute): Likewise.
57566         * time/tzset.c (__tzset_parse_tz): Likewise.
57567         (tzset_internal): Likewise.
57568         (compute_change): Likewise.
57569         * wcsmbs/wcscat.c (__wcscat): Likewise.
57570         * wcsmbs/wcschr.c (wcschr): Likewise.
57571         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
57572         * wcsmbs/wcscspn.c (wcscspn): Likewise.
57573         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
57574         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
57575         * wcsmbs/wcsspn.c (wcsspn): Likewise.
57576         * wcsmbs/wcsstr.c (wcsstr): Likewise.
57577         * wcsmbs/wmemchr.c (wmemchr): Likewise.
57578         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57579         * wcsmbs/wmemset.c (wmemset): Likewise.
57581 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
57583         * scripts/config.guess: Update to version 2013-05-16.
57584         * scripts/config.sub: Update to version 2013-04-24.
57585         * scripts/install-sh: Update to version 2011-11-20.07.
57586         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
57587         * scripts/move-if-change: Update to version 2012-01-06 07:23.
57589 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
57591         * debug/fgetws_u_chk.c: Fix leading whitespaces.
57592         * elf/sln.c: Likewise.
57593         * hurd/hurd/ioctl.h: Likewise.
57594         * hurd/hurdmalloc.c: Likewise.
57595         * hurd/xattr.c: Likewise.
57596         * include/shlib-compat.h: Likewise.
57597         * inet/ruserpass.c: Likewise.
57598         * libio/iofgets_u.c: Likewise.
57599         * libio/iofgetws_u.c: Likewise.
57600         * locale/programs/ld-identification.c: Likewise.
57601         * locale/programs/ld-time.c: Likewise.
57602         * mach/msg-destroy.c: Likewise.
57603         * nss/nss_files/files-netgrp.c: Likewise.
57604         * resolv/res_data.c: Likewise.
57605         * soft-fp/op-1.h: Likewise.
57606         * soft-fp/op-2.h: Likewise.
57607         * soft-fp/op-4.h: Likewise.
57608         * soft-fp/op-common.h: Likewise.
57609         * stdio-common/printf_fphex.c: Likewise.
57610         * stdlib/strtod_l.c: Likewise.
57611         * sunrpc/rpc/clnt.h: Likewise.
57612         * sysdeps/generic/framestate.c: Likewise.
57613         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57614         * sysdeps/i386/bsd-setjmp.S: Likewise.
57615         * sysdeps/i386/__longjmp.S: Likewise.
57616         * sysdeps/i386/setjmp.S: Likewise.
57617         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57618         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57619         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57620         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57621         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57622         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57623         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57624         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57625         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57626         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57627         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57628         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57629         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57630         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57631         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57632         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57633         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57634         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
57635         * sysdeps/ieee754/support.c: Likewise.
57636         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57637         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
57638         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
57639         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
57640         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
57641         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
57642         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
57643         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
57644         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57645         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
57646         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
57647         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
57648         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
57649         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
57650         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
57651         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
57652         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57655 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57657         * posix/transbug.c: Remove executable mode.
57659 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57661         * crypt/speeds.c: Remove trailing whitespace.
57662         * dlfcn/default.c: Likewise.
57663         * elf/ifuncdep2.c: Likewise.
57664         * elf/ifuncmain1.c: Likewise.
57665         * elf/ifuncmain1vis.c: Likewise.
57666         * elf/testobj.h: Likewise.
57667         * elf/tst-stackguard1.c: Likewise.
57668         * gmon/sys/gmon.h: Likewise.
57669         * hurd/hurdmsg.c: Likewise.
57670         * hurd/new-fd.c: Likewise.
57671         * hurd/ports-get.c: Likewise.
57672         * iconvdata/ibm1008_420.c: Likewise.
57673         * inet/tst-getni1.c: Likewise.
57674         * inet/tst-getni2.c: Likewise.
57675         * libio/ioungetc.c: Likewise.
57676         * libio/wfiledoalloc.c: Likewise.
57677         * manual/libm-err-tab.pl: Likewise.
57678         * math/w_dremf.c: Likewise.
57679         * misc/ftruncate.c: Likewise.
57680         * posix/bug-glob2.c: Likewise.
57681         * posix/tst-pcre.c: Likewise.
57682         * posix/wait4.c: Likewise.
57683         * resolv/README: Likewise.
57684         * resolv/res_debug.h: Likewise.
57685         * resolv/tst-inet_ntop.c: Likewise.
57686         * setjmp/bug269-setjmp.c: Likewise.
57687         * soft-fp/extended.h: Likewise.
57688         * soft-fp/op-1.h: Likewise.
57689         * soft-fp/op-2.h: Likewise.
57690         * soft-fp/op-4.h: Likewise.
57691         * soft-fp/op-8.h: Likewise.
57692         * soft-fp/testit.c: Likewise.
57693         * stdio-common/bug16.c: Likewise.
57694         * stdlib/random.c: Likewise.
57695         * sunrpc/rpcsvc/rquota.x: Likewise.
57696         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57697         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57699         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57700         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57701         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57702         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57703         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57704         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57705         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57706         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57707         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57708         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57709         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57710         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57711         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57712         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57713         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57714         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57715         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57716         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57717         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57718         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57719         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57720         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57721         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57722         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57723         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57724         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57725         * sysdeps/ieee754/s_lib_version.c: Likewise.
57726         * sysdeps/mach/hurd/check_fds.c: Likewise.
57727         * sysdeps/mach/hurd/getsockname.c: Likewise.
57728         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57729         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57730         * sysdeps/powerpc/bits/link.h: Likewise.
57731         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57732         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57733         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57734         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57735         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57736         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57737         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57738         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57739         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57740         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57741         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57742         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57743         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57744         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57745         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57746         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57747         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57748         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57749         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57750         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57751         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57752         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57753         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57754         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57755         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57756         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57757         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57758         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57759         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57760         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57761         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57762         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57763         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57764         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57765         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57766         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57767         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57768         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57769         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57770         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57771         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57772         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57773         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57774         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57775         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57776         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57777         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57778         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57779         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57780         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57782         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57783         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57784         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57785         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57786         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57787         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57788         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57789         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57790         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57791         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57792         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57793         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57794         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57795         * sysdeps/powerpc/sysdep.h: Likewise.
57796         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57797         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57798         * sysdeps/sh/dl-trampoline.S: Likewise.
57799         * sysdeps/sh/memset.S: Likewise.
57800         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57801         * sysdeps/sh/strlen.S: Likewise.
57802         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57803         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57804         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57805         * sysdeps/sparc/sparc32/rem.S: Likewise.
57806         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57807         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57808         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57809         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57810         * sysdeps/sparc/sparc32/urem.S: Likewise.
57811         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57812         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57813         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57814         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57815         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57816         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57817         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57818         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57819         * sysdeps/unix/bsd/times.c: Likewise.
57820         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57821         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57825         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57826         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57827         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57828         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57829         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57830         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57831         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57832         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57833         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57834         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57835         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57836         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57837         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57838         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57839         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57840         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57841         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57842         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57843         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57844         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57845         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57846         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57847         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57848         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57849         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57850         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57851         * sysdeps/x86_64/strcspn.S: Likewise.
57853 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57855         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57856         generated file.  Regenerate properly from gen-translit.pl.
57857         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57858         locale/C-translit.h.
57860 2013-06-05  Andreas Schwab  <schwab@suse.de>
57862         [BZ #15100]
57863         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57864         week as 6 instead of -1.
57865         * time/tst-strptime.c (day_tests): Add test case.
57867 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57869         * sysdeps/generic/math_private.h
57870         (libc_feholdexcept_setround_53bit): Replace with
57871         libc_feholdsetround_53bit.
57872         (libc_feupdateenv_53bit): Replace with
57873         libc_feresetround_53bit.
57874         (SET_RESTORE_ROUND_53BIT): Adjust.
57876 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57878         * string/test-strchrnul.c: Add copyright header.
57880         * posix/tst-getaddrinfo4.c: Increase test timeout.
57882 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57884         [BZ #15536]
57885         * math/libm-test.inc (MAX_EXP): Remove
57886         (MIN_EXP): Define.
57887         (ulp): Use MIN_EXP - MANT_DIG.
57888         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57890 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57892         * po/be.po: Revert last change.
57893         * po/zh_CN.po: Likewise.
57894         * po/header.pot: Likewise.
57896 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57898         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57899         link-libc-deps to empty as target-specific variable.
57900         * Makerules (link-libc-args): New variable.
57901         (libc-for-link): Likewise.
57902         (link-libc-deps): Likewise.
57903         (lib%.so): Depend on $(link-libc-deps).  Link with
57904         $(link-libc-args).
57905         (build-module): Link with $(link-libc-args).
57906         (build-module-asneeded): Likewise.
57907         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57908         list of objects.
57909         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57910         target-specific variable.
57911         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57912         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57913         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57914         libc.
57915         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57916         libc and ld.so.
57917         ($(objpfx)libpcprofile.so): Likewise.
57918         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57919         libc_nonshared.a.
57920         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57921         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57922         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57923         $(link-libc-deps).
57924         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57925         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57926         * login/Makefile ($(objpfx)libutil.so): Likewise.
57927         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57928         * math/Makefile ($(objpfx)libm.so): Likewise.
57929         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57930         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57931         variable instead of depending directly on libc.
57932         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57933         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57934         $(link-libc-deps).
57935         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57936         libc.
57937         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57938         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57939         ($(objpfx)libanl.so): Likewise.
57940         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57941         ld.so.
57942         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57943         $(link-libc-deps).
57944         * sysdeps/i386/fpu/Makefile: Remove file.
57945         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57946         ($(objpfx)libm.so): Remove dependency on ld.so.
57948 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57950         [BZ # 15553]
57951         * nis/yp_xdr.c (XDRMAXNAME): Define.
57952         (XDRMAXRECORD): Define.
57953         (xdr_domainname): Use XDRMAXNAME.
57954         (xdr_mapname): Likewise.
57955         (xdr_peername): Likewise.
57956         (xdr_keydat): Use XDRMAXRECORD.
57957         (xdr_valdat): Likewise.
57959 2013-05-30  Jeff Law  <law@redhat.com>
57961         [BZ #14256]
57962         * manual/errno.texi (ESTALE): Update to account for more than
57963         just NFS file systems.
57964         * sysdeps/gnu/errlist.c: Regenerated.
57966 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57968         [BZ #15465]
57969         * elf/Makefile (tests): Add tst-null-argv.
57970         (modules-names):  Add tst-null-argv-lib.
57971         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57972         (tst-null-argv-ENV): Set environment for tst-null-argv.
57973         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57974         (RTLD_PROGNAME): New macro.
57975         * elf/tst-null-argv.c: New test case.
57976         * elf/tst-null-argv-lib.c: Library for test case.
57977         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57978         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57979         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57980         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57981         * elf/dl-init.c (call_init): Likewise.
57982         (_dl_init): Likewise.
57983         * elf/dl-load.c (print_search_path): Likewise.
57984         (_dl_map_object): Likewise.
57985         * elf/dl-lookup.c (do_lookup_x): Likewise.
57986         (add_dependency): Likewise.
57987         (_dl_lookup_symbol_x): Likewise.
57988         (_dl_debug_bindings): Likewise.
57989         * elf/dl-open.c (_dl_show_scope): Likewise.
57990         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57991         * elf/dl-version.c (match_symbol): Likewise.
57992         (_dl_check_map_versions): Likewise.
57993         * elf/rtld.c (dl_main): Likewise.
57994         (print_unresolved): Use RTLD_PROGNAME.
57995         (print_missing_version): Likewise.
57996         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57997         (elf_machine_rela): Likewise.
57998         * sysdeps/powerpc/powerpc32/dl-machine.c
57999         (__process_machine_rela): Likewise.
58000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58001         Likewise.
58002         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58003         Likewise.
58004         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58005         Likewise.
58006         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58007         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58008         Likewise.
58009         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58010         Likewise.
58011         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58013 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58015         * po/be.po: Add descriptive title.
58016         * po/zh_CN.po: Likewise.
58017         * po/header.pot: Likewise.
58019 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58021         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58022         error message.
58023         (enlarge_archive): Likewise.
58025 2013-05-28  Ben North  <ben@redfrontdoor.org>
58027         * manual/arith.texi (frexp): It is the magnitude of the return
58028         value which lies in [0.5, 1), not the return value itself.
58030 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58034 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58036         * stdio-common/bug26.c (main): Correct fscanf template.
58038         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58039         declare _dl_skip_args.
58041         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58042         Don't declare.
58044         * manual/platform.texi: Add missing @end deftypefun.
58046 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58048         [BZ #15529]
58049         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58050         bit of mantissa of 2^16382.
58051         * math/libm-test.inc (hypot_test_data): Add more tests.
58053         * math/libm-test.inc: Add drem and pow10 to list of tested
58054         functions.
58055         (pow10_test): New function.
58056         (drem_test): Likewise.
58057         (drem_test_tonearest): Likewise.
58058         (drem_test_towardzero): Likewise.
58059         (drem_test_downward): Likewise.
58060         (drem_test_upward): Likewise.
58061         (main): Call the new functions.
58063         * math/libm-test.inc (finite_test_data): Remove.
58064         (finite_test): Run tests from isfinite_test_data.
58065         (gamma_test_data): Remove.
58066         (gamma_test): Run tests from lgamma_test_data.
58067         * sysdeps/i386/fpu/libm-test-ulps: Update.
58068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58070 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58072         * manual/platform.texi: Add PowerPC PPR function set documentation.
58073         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58074         implementation.
58076 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58078         * math/libm-test.inc (MAX_EXP): Define.
58079         (ULPDIFF): Define.
58080         (ulp): New function.
58081         (check_float_internal): Use ULPDIFF.
58082         (cpow_test): Disable failing test.
58083         (check_ulp): Test ulp() implementation.
58084         (main): Call check_ulp before starting tests.
58086 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58088         * math/gen-libm-test.pl (generate_testfile): Do not handle
58089         START_DATA and END_DATA.
58090         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58091         END_DATA.
58092         (acos_tonearest_test_data): Likewise.
58093         (acos_towardzero_test_data): Likewise.
58094         (acos_downward_test_data): Likewise.
58095         (acos_upward_test_data): Likewise.
58096         (acosh_test_data): Likewise.
58097         (asin_test_data): Likewise.
58098         (asin_tonearest_test_data): Likewise.
58099         (asin_towardzero_test_data): Likewise.
58100         (asin_downward_test_data): Likewise.
58101         (asin_upward_test_data): Likewise.
58102         (asinh_test_data): Likewise.
58103         (atan_test_data): Likewise.
58104         (atanh_test_data): Likewise.
58105         (atan2_test_data): Likewise.
58106         (cabs_test_data): Likewise.
58107         (cacos_test_data): Likewise.
58108         (cacosh_test_data): Likewise.
58109         (carg_test_data): Likewise.
58110         (casin_test_data): Likewise.
58111         (casinh_test_data): Likewise.
58112         (catan_test_data): Likewise.
58113         (catanh_test_data): Likewise.
58114         (cbrt_test_data): Likewise.
58115         (ccos_test_data): Likewise.
58116         (ccosh_test_data): Likewise.
58117         (ceil_test_data): Likewise.
58118         (cexp_test_data): Likewise.
58119         (cimag_test_data): Likewise.
58120         (clog_test_data): Likewise.
58121         (clog10_test_data): Likewise.
58122         (conj_test_data): Likewise.
58123         (copysign_test_data): Likewise.
58124         (cos_test_data): Likewise.
58125         (cos_tonearest_test_data): Likewise.
58126         (cos_towardzero_test_data): Likewise.
58127         (cos_downward_test_data): Likewise.
58128         (cos_upward_test_data): Likewise.
58129         (cosh_test_data): Likewise.
58130         (cosh_tonearest_test_data): Likewise.
58131         (cosh_towardzero_test_data): Likewise.
58132         (cosh_downward_test_data): Likewise.
58133         (cosh_upward_test_data): Likewise.
58134         (cpow_test_data): Likewise.
58135         (cproj_test_data): Likewise.
58136         (creal_test_data): Likewise.
58137         (csin_test_data): Likewise.
58138         (csinh_test_data): Likewise.
58139         (csqrt_test_data): Likewise.
58140         (ctan_test_data): Likewise.
58141         (ctan_tonearest_test_data): Likewise.
58142         (ctan_towardzero_test_data): Likewise.
58143         (ctan_downward_test_data): Likewise.
58144         (ctan_upward_test_data): Likewise.
58145         (ctanh_test_data): Likewise.
58146         (ctanh_tonearest_test_data): Likewise.
58147         (ctanh_towardzero_test_data): Likewise.
58148         (ctanh_downward_test_data): Likewise.
58149         (ctanh_upward_test_data): Likewise.
58150         (erf_test_data): Likewise.
58151         (erfc_test_data): Likewise.
58152         (exp_test_data): Likewise.
58153         (exp_tonearest_test_data): Likewise.
58154         (exp_towardzero_test_data): Likewise.
58155         (exp_downward_test_data): Likewise.
58156         (exp_upward_test_data): Likewise.
58157         (exp10_test_data): Likewise.
58158         (exp2_test_data): Likewise.
58159         (expm1_test_data): Likewise.
58160         (fabs_test_data): Likewise.
58161         (fdim_test_data): Likewise.
58162         (finite_test_data): Likewise.
58163         (floor_test_data): Likewise.
58164         (fma_test_data): Likewise.
58165         (fma_towardzero_test_data): Likewise.
58166         (fma_downward_test_data): Likewise.
58167         (fma_upward_test_data): Likewise.
58168         (fmax_test_data): Likewise.
58169         (fmin_test_data): Likewise.
58170         (fmod_test_data): Likewise.
58171         (fpclassify_test_data): Likewise.
58172         (frexp_test_data): Likewise.
58173         (gamma_test_data): Likewise.
58174         (hypot_test_data): Likewise.
58175         (ilogb_test_data): Likewise.
58176         (isfinite_test_data): Likewise.
58177         (isgreater_test_data): Likewise.
58178         (isgreaterequal_test_data): Likewise.
58179         (isinf_test_data): Likewise.
58180         (isless_test_data): Likewise.
58181         (islessequal_test_data): Likewise.
58182         (islessgreater_test_data): Likewise.
58183         (isnan_test_data): Likewise.
58184         (isnormal_test_data): Likewise.
58185         (issignaling_test_data): Likewise.
58186         (isunordered_test_data): Likewise.
58187         (j0_test_data): Likewise.
58188         (j1_test_data): Likewise.
58189         (jn_test_data): Likewise.
58190         (ldexp_test_data): Likewise.
58191         (lgamma_test_data): Likewise.
58192         (lrint_test_data): Likewise.
58193         (lrint_tonearest_test_data): Likewise.
58194         (lrint_towardzero_test_data): Likewise.
58195         (lrint_downward_test_data): Likewise.
58196         (lrint_upward_test_data): Likewise.
58197         (llrint_test_data): Likewise.
58198         (llrint_tonearest_test_data): Likewise.
58199         (llrint_towardzero_test_data): Likewise.
58200         (llrint_downward_test_data): Likewise.
58201         (llrint_upward_test_data): Likewise.
58202         (log_test_data): Likewise.
58203         (log10_test_data): Likewise.
58204         (log1p_test_data): Likewise.
58205         (log2_test_data): Likewise.
58206         (logb_test_data): Likewise.
58207         (logb_downward_test_data): Likewise.
58208         (lround_test_data): Likewise.
58209         (llround_test_data): Likewise.
58210         (modf_test_data): Likewise.
58211         (nearbyint_test_data): Likewise.
58212         (nextafter_test_data): Likewise.
58213         (nexttoward_test_data): Likewise.
58214         (pow_test_data): Likewise.
58215         (pow_tonearest_test_data): Likewise.
58216         (pow_towardzero_test_data): Likewise.
58217         (pow_downward_test_data): Likewise.
58218         (pow_upward_test_data): Likewise.
58219         (remainder_test_data): Likewise.
58220         (remainder_tonearest_test_data): Likewise.
58221         (remainder_towardzero_test_data): Likewise.
58222         (remainder_downward_test_data): Likewise.
58223         (remainder_upward_test_data): Likewise.
58224         (remquo_test_data): Likewise.
58225         (rint_test_data): Likewise.
58226         (rint_tonearest_test_data): Likewise.
58227         (rint_towardzero_test_data): Likewise.
58228         (rint_downward_test_data): Likewise.
58229         (rint_upward_test_data): Likewise.
58230         (round_test_data): Likewise.
58231         (scalb_test_data): Likewise.
58232         (scalbn_test_data): Likewise.
58233         (scalbln_test_data): Likewise.
58234         (signbit_test_data): Likewise.
58235         (sin_test_data): Likewise.
58236         (sin_tonearest_test_data): Likewise.
58237         (sin_towardzero_test_data): Likewise.
58238         (sin_downward_test_data): Likewise.
58239         (sin_upward_test_data): Likewise.
58240         (sincos_test_data): Likewise.
58241         (sinh_test_data): Likewise.
58242         (sinh_tonearest_test_data): Likewise.
58243         (sinh_towardzero_test_data): Likewise.
58244         (sinh_downward_test_data): Likewise.
58245         (sinh_upward_test_data): Likewise.
58246         (sqrt_test_data): Likewise.
58247         (tan_test_data): Likewise.
58248         (tan_tonearest_test_data): Likewise.
58249         (tan_towardzero_test_data): Likewise.
58250         (tan_downward_test_data): Likewise.
58251         (tan_upward_test_data): Likewise.
58252         (tanh_test_data): Likewise.
58253         (tgamma_test_data): Likewise.
58254         (trunc_test_data): Likewise.
58255         (y0_test_data): Likewise.
58256         (y1_test_data): Likewise.
58257         (yn_test_data): Likewise.
58258         (significand_test_data): Likewise.
58260         * math/gen-libm-test.pl (@functions): Remove variable.
58261         (generate_testfile): Don't handle START and END lines.
58262         * math/libm-test.inc (START): New macro.
58263         (END): Likewise.
58264         (END_COMPLEX): Likewise.
58265         (acos_test): Use END macro without arguments.
58266         (acos_test_tonearest): Likewise.
58267         (acos_test_towardzero): Likewise.
58268         (acos_test_downward): Likewise.
58269         (acos_test_upward): Likewise.
58270         (acosh_test): Likewise.
58271         (asin_test): Likewise.
58272         (asin_test_tonearest): Likewise.
58273         (asin_test_towardzero): Likewise.
58274         (asin_test_downward): Likewise.
58275         (asin_test_upward): Likewise.
58276         (asinh_test): Likewise.
58277         (atan_test): Likewise.
58278         (atanh_test): Likewise.
58279         (atan2_test): Likewise.
58280         (cabs_test): Likewise.
58281         (cacos_test): Use END_COMPLEX macro without arguments.
58282         (cacosh_test): Likewise.
58283         (carg_test): Use END macro without arguments.
58284         (casin_test): Use END_COMPLEX macro without arguments.
58285         (casinh_test): Likewise.
58286         (catan_test): Likewise.
58287         (catanh_test): Likewise.
58288         (cbrt_test): Use END macro without arguments.
58289         (ccos_test): Use END_COMPLEX macro without arguments.
58290         (ccosh_test): Likewise.
58291         (ceil_test): Use END macro without arguments.
58292         (cexp_test): Use END_COMPLEX macro without arguments.
58293         (cimag_test): Use END macro without arguments.
58294         (clog_test): Use END_COMPLEX macro without arguments.
58295         (clog10_test): Likewise.
58296         (conj_test): Likewise.
58297         (copysign_test): Use END macro without arguments.
58298         (cos_test): Likewise.
58299         (cos_test_tonearest): Likewise.
58300         (cos_test_towardzero): Likewise.
58301         (cos_test_downward): Likewise.
58302         (cos_test_upward): Likewise.
58303         (cosh_test): Likewise.
58304         (cosh_test_tonearest): Likewise.
58305         (cosh_test_towardzero): Likewise.
58306         (cosh_test_downward): Likewise.
58307         (cosh_test_upward): Likewise.
58308         (cpow_test): Use END_COMPLEX macro without arguments.
58309         (cproj_test): Likewise.
58310         (creal_test): Use END macro without arguments.
58311         (csin_test): Use END_COMPLEX macro without arguments.
58312         (csinh_test): Likewise.
58313         (csqrt_test): Likewise.
58314         (ctan_test): Likewise.
58315         (ctan_test_tonearest): Likewise.
58316         (ctan_test_towardzero): Likewise.
58317         (ctan_test_downward): Likewise.
58318         (ctan_test_upward): Likewise.
58319         (ctanh_test): Likewise.
58320         (ctanh_test_tonearest): Likewise.
58321         (ctanh_test_towardzero): Likewise.
58322         (ctanh_test_downward): Likewise.
58323         (ctanh_test_upward): Likewise.
58324         (erf_test): Use END macro without arguments.
58325         (erfc_test): Likewise.
58326         (exp_test): Likewise.
58327         (exp_test_tonearest): Likewise.
58328         (exp_test_towardzero): Likewise.
58329         (exp_test_downward): Likewise.
58330         (exp_test_upward): Likewise.
58331         (exp10_test): Likewise.
58332         (exp2_test): Likewise.
58333         (expm1_test): Likewise.
58334         (fabs_test): Likewise.
58335         (fdim_test): Likewise.
58336         (finite_test): Likewise.
58337         (floor_test): Likewise.
58338         (fma_test): Likewise.
58339         (fma_test_towardzero): Likewise.
58340         (fma_test_downward): Likewise.
58341         (fma_test_upward): Likewise.
58342         (fmax_test): Likewise.
58343         (fmin_test): Likewise.
58344         (fmod_test): Likewise.
58345         (fpclassify_test): Likewise.
58346         (frexp_test): Likewise.
58347         (gamma_test): Likewise.
58348         (hypot_test): Likewise.
58349         (ilogb_test): Likewise.
58350         (isfinite_test): Likewise.
58351         (isgreater_test): Likewise.
58352         (isgreaterequal_test): Likewise.
58353         (isinf_test): Likewise.
58354         (isless_test): Likewise.
58355         (islessequal_test): Likewise.
58356         (islessgreater_test): Likewise.
58357         (isnan_test): Likewise.
58358         (isnormal_test): Likewise.
58359         (issignaling_test): Likewise.
58360         (isunordered_test): Likewise.
58361         (j0_test): Likewise.
58362         (j1_test): Likewise.
58363         (jn_test): Likewise.
58364         (ldexp_test): Likewise.
58365         (lgamma_test): Likewise.
58366         (lrint_test): Likewise.
58367         (lrint_test_tonearest): Likewise.
58368         (lrint_test_towardzero): Likewise.
58369         (lrint_test_downward): Likewise.
58370         (lrint_test_upward): Likewise.
58371         (llrint_test): Likewise.
58372         (llrint_test_tonearest): Likewise.
58373         (llrint_test_towardzero): Likewise.
58374         (llrint_test_downward): Likewise.
58375         (llrint_test_upward): Likewise.
58376         (log_test): Likewise.
58377         (log10_test): Likewise.
58378         (log1p_test): Likewise.
58379         (log2_test): Likewise.
58380         (logb_test): Likewise.
58381         (logb_test_downward): Likewise.
58382         (lround_test): Likewise.
58383         (llround_test): Likewise.
58384         (modf_test): Likewise.
58385         (nearbyint_test): Likewise.
58386         (nextafter_test): Likewise.
58387         (nexttoward_test): Likewise.
58388         (pow_test): Likewise.
58389         (pow_test_tonearest): Likewise.
58390         (pow_test_towardzero): Likewise.
58391         (pow_test_downward): Likewise.
58392         (pow_test_upward): Likewise.
58393         (remainder_test): Likewise.
58394         (remainder_test_tonearest): Likewise.
58395         (remainder_test_towardzero): Likewise.
58396         (remainder_test_downward): Likewise.
58397         (remainder_test_upward): Likewise.
58398         (remquo_test): Likewise.
58399         (rint_test): Likewise.
58400         (rint_test_tonearest): Likewise.
58401         (rint_test_towardzero): Likewise.
58402         (rint_test_downward): Likewise.
58403         (rint_test_upward): Likewise.
58404         (round_test): Likewise.
58405         (scalb_test): Likewise.
58406         (scalbn_test): Likewise.
58407         (scalbln_test): Likewise.
58408         (signbit_test): Likewise.
58409         (sin_test): Likewise.
58410         (sin_test_tonearest): Likewise.
58411         (sin_test_towardzero): Likewise.
58412         (sin_test_downward): Likewise.
58413         (sin_test_upward): Likewise.
58414         (sincos_test): Likewise.
58415         (sinh_test): Likewise.
58416         (sinh_test_tonearest): Likewise.
58417         (sinh_test_towardzero): Likewise.
58418         (sinh_test_downward): Likewise.
58419         (sinh_test_upward): Likewise.
58420         (sqrt_test): Likewise.
58421         (tan_test): Likewise.
58422         (tan_test_tonearest): Likewise.
58423         (tan_test_towardzero): Likewise.
58424         (tan_test_downward): Likewise.
58425         (tan_test_upward): Likewise.
58426         (tanh_test): Likewise.
58427         (tgamma_test): Likewise.
58428         (trunc_test): Likewise.
58429         (y0_test): Likewise.
58430         (y1_test): Likewise.
58431         (yn_test): Likewise.
58432         (significand_test): Likewise.
58434 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58436         [BZ #15381]
58437         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58439 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58441         [BZ #14894]
58442         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58443         __ppc_mdoio and __ppc_mdoom.
58444         * manual/platform.texi: Document new functions __ppc_yield,
58445         __ppc_mdoio and __ppc_mdoom.
58447 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58449         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58450         (main): Mention "tls" pseudo-hwcap is legacy.
58451         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58453 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58455         * math/gen-libm-test.pl (parse_args): Output only string of
58456         arguments as text for test name, not full call or descriptions of
58457         tests for extra outputs.
58458         (generate_testfile): Do not pass function name to parse_args.
58459         Generate this_func variable from START.
58460         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58461         field to arg_str.
58462         (struct test_ff_f_data): Likewise.
58463         (test_ff_f_data_nexttoward): Likewise.
58464         (struct test_fi_f_data): Likewise.
58465         (struct test_fl_f_data): Likewise.
58466         (struct test_if_f_data): Likewise.
58467         (struct test_fff_f_data): Likewise.
58468         (struct test_c_f_data): Likewise.
58469         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58470         (struct test_fF_f1_data): Likewise.
58471         (struct test_ffI_f1_data): Likewise.
58472         (struct test_c_c_data): Rename test_name field to arg_str.
58473         (struct test_cc_c_data): Likewise.
58474         (struct test_f_i_data): Likewise.
58475         (struct test_ff_i_data): Likewise.
58476         (struct test_f_l_data): Likewise.
58477         (struct test_f_L_data): Likewise.
58478         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58479         and extra2_name.
58480         (COMMON_TEST_SETUP): New macro.
58481         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58482         (COMMON_TEST_CLEANUP): Likewise.
58483         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58484         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58485         macros.
58486         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58487         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
58488         macros.
58489         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
58490         (RUN_TEST_fff_f): Take argument string.  Call new setup and
58491         cleanup macros.
58492         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
58493         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
58494         macros.
58495         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58496         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
58497         macros.
58498         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58499         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
58500         cleanup macros.
58501         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58502         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
58503         cleanup macros.
58504         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58505         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
58506         cleanup macros.
58507         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58508         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
58509         macros.
58510         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
58511         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
58512         macros.
58513         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
58514         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
58515         macros.
58516         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
58517         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
58518         cleanup macros.
58519         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
58520         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
58521         cleanup macros.
58522         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
58523         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
58524         macros.
58525         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
58526         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
58527         cleanup macros.
58528         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
58529         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
58530         macros.
58531         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
58532         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
58533         macros.
58534         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
58535         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
58536         cleanup macros.
58537         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
58539 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
58541         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
58542         to _sifields.sigfault.
58543         (si_addr_lsb): Define new macro.
58544         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
58548 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
58550         [BZ #15441]
58551         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
58552         returns -1.
58553         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
58554         null return -1.
58555         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
58556         loading the domain.
58558 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58560         * math/gen-libm-test.pl (parse_args): Do not include expected
58561         result in test name.
58562         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
58563         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58564         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58565         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58566         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58569 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58571         * benchtests/Makefile: Sort function entries.
58573         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
58574         tanh, asinh, acosh, atanh.
58575         * benchtests/acos-inputs: New file.
58576         * benchtests/acosh-inputs: New file.
58577         * benchtests/asin-inputs: New file.
58578         * benchtests/asinh-inputs: New file.
58579         * benchtests/atanh-inputs: New file.
58580         * benchtests/cosh-inputs: New file.
58581         * benchtests/log-inputs: New file.
58582         * benchtests/sinh-inputs: New file.
58583         * benchtests/tanh-inputs: New file.
58585 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
58587         [BZ #15339]
58588         * posix/tst-getaddrinfo4.c: New test.
58589         * posix/Makefile (tests): Add it.
58591 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58593         [BZ #15339]
58594         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
58595         when no services were used.
58596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
58597         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
58599 2013-05-21  Andreas Schwab  <schwab@suse.de>
58601         [BZ #15014]
58602         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
58603         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
58604         successful.
58605         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
58606         redundant variable declarations and reallocation of buffer when
58607         parsing as IPv6 address.  Always set NSS status when called from
58608         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
58609         buffer too small.  Correct computation of needed size.
58610         * nss/Makefile (tests): Add test-digits-dots.
58611         * nss/test-digits-dots.c: New test.
58613 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58615         * benchtests/Makefile: Remove instructions for adding
58616         benchmark tests.
58617         * benchtests/README: New file to explain how to execute and
58618         enhance the benchmark tests.
58620 2013-05-21  Andreas Schwab  <schwab@suse.de>
58622         [BZ #15493]
58623         * setjmp/Makefile (tests): Add tst-sigsetjmp.
58624         * setjmp/tst-sigsetjmp.c: New test.
58626 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58628         * sysdeps/x86_64/memset.S (memset): New implementation.
58629         (__bzero): Likewise.
58630         (__memset_tail): New function.
58632 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58634         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
58635         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
58636         __memcpy_sse2_unaligned ifunc selection.
58637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58638         Add memcpy-sse2-unaligned.S.
58639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58640         Add: __memcpy_sse2_unaligned.
58642 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
58644         [BZ #15490]
58645         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58646         math_force_eval before restoring floating-point envrionment.
58647         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
58648         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
58649         Likewise.
58650         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
58651         <math_private.h>.
58652         (__nearbyintl): Use math_force_eval before restoring
58653         floating-point environment.
58654         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58656         * math/gen-libm-test.pl (special_functions): Remove.
58657         (parse_args): Don't handle TEST_extra.  Handle functions with no
58658         return value.
58659         * math/libm-test.inc (struct test_sincos_data): Replace with
58660         struct test_fFF_11_data.
58661         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58662         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58663         (sincos_test_data): Change element type to struct
58664         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58665         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58666         RUN_TEST_LOOP_sincos.
58667         * math/README.libm-test: Don't mention special handling of
58668         individual functions.
58669         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58670         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58671         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58672         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58673         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58676         * math/gen-libm-test.pl (get_variable): Remove function.
58677         (parse_args): Don't show pointer parameters to call in test
58678         names.  Use "extra output N" in test names for extra outputs
58679         rather than naming variables.
58681 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58683         [BZ #15488]
58684         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58685         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58686         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58687         double tests.
58688         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58689         disable.
58690         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58691         check_long_double.
58693         * math/gen-libm-test.pl (@tests): Remove variable.
58694         ($count): Likewise.
58695         (new_test): Remove function.
58696         (show_exceptions): New function.
58697         (special_functions): Use show_exceptions instead of new_test.
58698         (parse_args): Likewise.
58699         (generate_testfile): Pass only function name in generated call to
58700         print_max_error or print_complex_max_error.
58701         (get_ulps): Do not handle complex tests specially.
58702         (output_test): Rename to ...
58703         (get_all_ulps_for_test): ... this.  Return a string rather than
58704         printing to a file.  Require ulps to be present.
58705         (output_ulps): Generate arrays rather than #defines.
58706         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58707         (struct ulp_data): New type.
58708         (BUILD_COMPLEX_ULP): Remove macro.
58709         (compare_ulp_data): New function.
58710         (find_ulps): Likewise.
58711         (find_test_ulps): Likewise.
58712         (find_function_ulps): Likewise.
58713         (find_complex_function_ulps): Likewise.
58714         (print_max_error): Determine allowed ulps using
58715         find_function_ulps.
58716         (print_complex_max_error): Determine allowed ulps using
58717         find_complex_function_ulps.
58718         (check_float_internal): Determine max ulps using find_test_ulps.
58719         (check_float): Do not take max_ulp parameter.  Update call to
58720         check_float_internal.
58721         (check_complex): Likewise.
58722         (check_int): Do not take max_ulp parameter.
58723         (check_long): Likewise.
58724         (check_bool): Likewise.
58725         (check_longlong): Likewise.
58726         (struct test_f_f_data): Remove max_ulp field.
58727         (struct test_ff_f_data): Likewise.
58728         (struct test_ff_f_data_nexttoward): Likewise.
58729         (struct test_fi_f_data): Likewise.
58730         (struct test_fl_f_data): Likewise.
58731         (struct test_if_f_data): Likewise.
58732         (struct test_fff_f_data): Likewise.
58733         (struct test_c_f_data): Likewise.
58734         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58735         (struct test_fF_f1_data): Likewise.
58736         (struct test_ffI_f1_data): Likewise.
58737         (struct test_c_c_data): Remove max_ulp field.
58738         (struct test_cc_c_data): Likewise.
58739         (struct test_f_i_data): Likewise.
58740         (struct test_ff_i_data): Likewise.
58741         (struct test_f_l_data): Likewise.
58742         (struct test_f_L_data): Likewise.
58743         (struct test_sincos_data): Likewise.
58744         (RUN_TEST_f_f): Do not handle ulps.
58745         (RUN_TEST_LOOP_f_f): Likewise.
58746         (RUN_TEST_2_f): Likewise.
58747         (RUN_TEST_LOOP_2_f): Likewise.
58748         (RUN_TEST_fff_f): Likewise.
58749         (RUN_TEST_LOOP_fff_f): Likewise.
58750         (RUN_TEST_c_f): Likewise.
58751         (RUN_TEST_LOOP_c_f): Likewise.
58752         (RUN_TEST_f_f1): Likewise.
58753         (RUN_TEST_LOOP_f_f1): Likewise.
58754         (RUN_TEST_fF_f1): Likewise.
58755         (RUN_TEST_LOOP_fF_f1): Likewise.
58756         (RUN_TEST_fI_f1): Likewise.
58757         (RUN_TEST_LOOP_fI_f1): Likewise.
58758         (RUN_TEST_ffI_f1): Likewise.
58759         (RUN_TEST_LOOP_ffI_f1): Likewise.
58760         (RUN_TEST_c_c): Likewise.
58761         (RUN_TEST_LOOP_c_c): Likewise.
58762         (RUN_TEST_cc_c): Likewise.
58763         (RUN_TEST_LOOP_cc_c): Likewise.
58764         (RUN_TEST_f_i): Likewise.
58765         (RUN_TEST_LOOP_f_i): Likewise.
58766         (RUN_TEST_f_i_tg): Likewise.
58767         (RUN_TEST_LOOP_f_i_tg): Likewise.
58768         (RUN_TEST_ff_i_tg): Likewise.
58769         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58770         (RUN_TEST_f_b): Likewise.
58771         (RUN_TEST_LOOP_f_b): Likewise.
58772         (RUN_TEST_f_b_tg): Likewise.
58773         (RUN_TEST_LOOP_f_b_tg): Likewise.
58774         (RUN_TEST_f_l): Likewise.
58775         (RUN_TEST_LOOP_f_l): Likewise.
58776         (RUN_TEST_f_L): Likewise.
58777         (RUN_TEST_LOOP_f_L): Likewise.
58778         (RUN_TEST_sincos): Likewise.
58779         (RUN_TEST_LOOP_sincos): Likewise.
58781 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58783         [BZ #15480]
58784         [BZ #15485]
58785         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58786         main case of finite arguments, set rounding mode to FE_TONEAREST
58787         and discard exceptions.
58788         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58789         exceptions.
58790         (remainder_tonearest_test_data): New variable.
58791         (remainder_test_tonearest): New function.
58792         (remainder_towardzero_test_data): New variable.
58793         (remainder_test_towardzero): New function.
58794         (remainder_downward_test_data): New variable.
58795         (remainder_test_downward): New function.
58796         (remainder_upward_test_data): New variable.
58797         (remainder_test_upward): New function.
58798         (main): Call the new test functions.
58800         * math/libm-test.inc (struct test_f_f1_data): Remove field
58801         extra_init.
58802         (struct test_fF_f1_data): Likewise.
58803         (struct test_ffI_f1_data): Likewise.
58804         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58805         based on value of EXTRA_EXPECTED.
58806         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58807         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58808         EXTRA_VAR based on value of EXTRA_EXPECTED.
58809         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58810         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58811         EXTRA_VAR based on value of EXTRA_EXPECTED.
58812         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58813         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58814         EXTRA_VAR based on value of EXTRA_EXPECTED.
58815         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58816         * math/gen-libm-test.pl (parse_args): Don't output initializers
58817         for extra output values.
58819         * math/libm-test.inc (check_int): Expect result to be exactly
58820         equal to expected value and do not handle ulps.
58821         (check_long): Likewise.
58822         (check_longlong): Likewise.
58824         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58825         exceptions.
58826         (cimag_test_data): Likewise.
58827         (conj_test_data): Likewise.
58828         (copysign_test_data): Likewise.
58829         (cproj_test_data): Likewise.
58830         (creal_test_data): Likewise.
58831         (fabs_test_data): Likewise.
58832         (fdim_test_data): Likewise.
58833         (finite_test_data): Likewise.
58834         (floor_test_data): Likewise.
58835         (fmax_test_data): Likewise.
58836         (fmin_test_data): Likewise.
58837         (fmod_test_data): Likewise.
58838         (fpclassify_test_data): Likewise.
58839         (frexp_test_data): Likewise.
58840         (ilogb_test_data): Likewise.
58841         (isfinite_test_data): Likewise.
58842         (isgreater_test_data): Likewise.
58843         (isgreaterequal_test_data): Likewise.
58844         (isinf_test_data): Likewise.
58845         (isless_test_data): Likewise.
58846         (islessequal_test_data): Likewise.
58847         (islessgreater_test_data): Likewise.
58848         (isnan_test_data): Likewise.
58849         (isnormal_test_data): Likewise.
58850         (issignaling_test_data): Likewise.
58851         (isunordered_test_data): Likewise.
58852         (ldexp_test_data): Likewise.
58853         (lrint_test_data): Likewise.
58854         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58855         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58856         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58857         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58858         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58859         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58860         test input.
58861         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58862         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58863         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58864         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58865         that test input.
58866         (lrint_downward_test_data): Test for "inexact" exceptions.
58867         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58868         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58869         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58870         test input.
58871         (lrint_upward_test_data): Test for "inexact" exceptions.
58872         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58873         test input.
58874         (llrint_test_data): Test for "inexact" exceptions.
58875         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58876         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58877         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58878         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58879         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58880         (llrint_downward_test_data): Test for "inexact" exceptions.
58881         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58882         (llrint_upward_test_data): Test for "inexact" exceptions.
58883         (logb_test_data): Likewise.
58884         (logb_downward_test_data): Likewise.
58885         (nextafter_test_data): Likewise.
58886         (nexttoward_test_data): Likewise.
58887         (remainder_test_data): Likewise.
58888         (remquo_test_data): Likewise.
58889         (scalbn_test_data): Likewise.
58890         (scalbln_test_data): Likewise.
58891         (signbit_test_data): Likewise.
58892         (sqrt_test_data): Likewise.
58893         (significand_test_data): Likewise.
58895 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58897         [BZ #15424]
58898         * benchtests/bench-modf.c (struct args): Mark arg0 as
58899         volatile.
58900         * scripts/bench.pl: Mark members of struct args as volatile.
58902 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58904         [BZ # 15497]
58905         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58906         negative infinity on POWER6 or lower.
58907         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58909 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58911         [BZ #15442]
58912         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58913         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58914         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58915         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58916         (_FP_SETQNAN): New macro.
58917         (_FP_SETQNAN_SEMIRAW): Likewise.
58918         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58919         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58920         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58921         (FP_EXTEND): Use _FP_FRAC_SNANP.
58922         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58923         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58924         into account.
58925         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58926         New macro.
58927         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58928         Likewise.
58930 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58932         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58933         with DIVIDE_BY_ZERO_EXCEPTION.
58934         (gamma_test_data): Likewise.
58935         (lgamma_test_data): Likewise.
58936         (log_test_data): Likewise.
58937         (log10_test_data): Likewise.
58938         (log2_test_data): Likewise.
58939         (tgamma_test_data): Likewise.
58941         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58942         (acos_test_tonearest): Likewise.
58943         (acos_test_towardzero): Likewise.
58944         (acos_test_downward): Likewise.
58945         (acos_test_upward): Likewise.
58946         (acosh_test): Likewise.
58947         (asin_test): Likewise.
58948         (asin_test_tonearest): Likewise.
58949         (asin_test_towardzero): Likewise.
58950         (asin_test_downward): Likewise.
58951         (asin_test_upward): Likewise.
58952         (asinh_test): Likewise.
58953         (atan_test): Likewise.
58954         (atanh_test): Likewise.
58955         (atan2_test): Likewise.
58956         (cabs_test): Likewise.
58957         (cacos_test): Likewise.
58958         (cacosh_test): Likewise.
58959         (casin_test): Likewise.
58960         (casinh_test): Likewise.
58961         (catan_test): Likewise.
58962         (catanh_test): Likewise.
58963         (cbrt_test): Likewise.
58964         (ccos_test): Likewise.
58965         (ccosh_test): Likewise.
58966         (cexp_test): Likewise.
58967         (clog_test): Likewise.
58968         (clog10_test): Likewise.
58969         (cos_test): Likewise.
58970         (cos_test_tonearest): Likewise.
58971         (cos_test_towardzero): Likewise.
58972         (cos_test_downward): Likewise.
58973         (cos_test_upward): Likewise.
58974         (cosh_test): Likewise.
58975         (cosh_test_tonearest): Likewise.
58976         (cosh_test_towardzero): Likewise.
58977         (cosh_test_downward): Likewise.
58978         (cosh_test_upward): Likewise.
58979         (cpow_test): Likewise.
58980         (csin_test): Likewise.
58981         (csinh_test): Likewise.
58982         (csqrt_test): Likewise.
58983         (ctan_test): Likewise.
58984         (ctan_test_tonearest): Likewise.
58985         (ctan_test_towardzero): Likewise.
58986         (ctan_test_downward): Likewise.
58987         (ctan_test_upward): Likewise.
58988         (ctanh_test): Likewise.
58989         (ctanh_test_tonearest): Likewise.
58990         (ctanh_test_towardzero): Likewise.
58991         (ctanh_test_downward): Likewise.
58992         (ctanh_test_upward): Likewise.
58993         (erf_test): Likewise.
58994         (erfc_test): Likewise.
58995         (exp_test): Likewise.
58996         (exp_test_tonearest): Likewise.
58997         (exp_test_towardzero): Likewise.
58998         (exp_test_downward): Likewise.
58999         (exp_test_upward): Likewise.
59000         (exp10_test): Likewise.
59001         (exp2_test): Likewise.
59002         (expm1_test): Likewise.
59003         (fmod_test): Likewise.
59004         (gamma_test): Likewise.
59005         (hypot_test): Likewise.
59006         (j0_test): Likewise.
59007         (j1_test): Likewise.
59008         (jn_test): Likewise.
59009         (lgamma_test): Likewise.
59010         (log_test): Likewise.
59011         (log10_test): Likewise.
59012         (log1p_test): Likewise.
59013         (log2_test): Likewise.
59014         (logb_test_downward): Likewise.
59015         (pow_test): Likewise.
59016         (pow_test_tonearest): Likewise.
59017         (pow_test_towardzero): Likewise.
59018         (pow_test_downward): Likewise.
59019         (pow_test_upward): Likewise.
59020         (remainder_test): Likewise.
59021         (remquo_test): Likewise.
59022         (sin_test): Likewise.
59023         (sin_test_tonearest): Likewise.
59024         (sin_test_towardzero): Likewise.
59025         (sin_test_downward): Likewise.
59026         (sin_test_upward): Likewise.
59027         (sincos_test): Likewise.
59028         (sinh_test): Likewise.
59029         (sinh_test_tonearest): Likewise.
59030         (sinh_test_towardzero): Likewise.
59031         (sinh_test_downward): Likewise.
59032         (sinh_test_upward): Likewise.
59033         (sqrt_test): Likewise.
59034         (tan_test): Likewise.
59035         (tan_test_tonearest): Likewise.
59036         (tan_test_towardzero): Likewise.
59037         (tan_test_downward): Likewise.
59038         (tan_test_upward): Likewise.
59039         (tanh_test): Likewise.
59040         (tgamma_test): Likewise.
59041         (y0_test): Likewise.
59042         (y1_test): Likewise.
59043         (yn_test): Likewise.
59045         * math/gen-libm-test.pl (adjust_arg): Remove function.
59046         (special_function): Remove argument $in_func.  Only handle
59047         generating output for tables of tests, not inside functions.
59048         (parse_args): Likewise.
59049         (generate_testfile): Remove variable $in_func.  Update call to
59050         parse_args.
59051         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59052         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59053         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59054         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59055         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59056         (MAX_VALUE_INIT): Rename macro to max_value.
59057         (MIN_VALUE_INIT): Rename macro to min_value.
59058         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59059         (plus_zero): Remove variable.
59060         (minus_zero): Likewise.
59061         (plus_infty): Likewise.
59062         (minus_infty): Likewise.
59063         (qnan_value): Likewise.
59064         (max_value): Likewise.
59065         (min_value): Likewise.
59066         (min_subnorm_value): Likewise.
59068 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59070         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59071         uint64_t or uint32_t usage.
59072         * crypt/sha256-block.c: Likewise.
59073         * crypt/sha256-crypt.c: Likewise.
59074         * crypt/sha256.c: Likewise.
59075         * crypt/sha512-block.c: Likewise.
59076         * crypt/sha512-crypt.c: Likewise.
59077         * crypt/sha512.c: Likewise.
59078         * debug/backtrace-tst.c: Likewise.
59079         * debug/pcprofiledump.c: Likewise.
59080         * elf/cache.c: Likewise.
59081         * elf/dl-cache.c: Likewise.
59082         * elf/dl-misc.c: Likewise.
59083         * elf/dl-profile.c: Likewise.
59084         * elf/dl-support.c: Likewise.
59085         * elf/ldconfig.c: Likewise.
59086         * elf/sprof.c: Likewise.
59087         * iconv/dummy-repertoire.c: Likewise.
59088         * iconv/iconv_charmap.c: Likewise.
59089         * iconv/skeleton.c: Likewise.
59090         * iconvdata/8bit-generic.c: Likewise.
59091         * iconvdata/cp737.h: Likewise.
59092         * iconvdata/cp775.h: Likewise.
59093         * iconvdata/ibm1008.h: Likewise.
59094         * iconvdata/ibm1025.h: Likewise.
59095         * iconvdata/ibm1046.h: Likewise.
59096         * iconvdata/ibm1097.h: Likewise.
59097         * iconvdata/ibm1112.h: Likewise.
59098         * iconvdata/ibm1122.h: Likewise.
59099         * iconvdata/ibm1123.h: Likewise.
59100         * iconvdata/ibm1124.h: Likewise.
59101         * iconvdata/ibm1129.h: Likewise.
59102         * iconvdata/ibm1130.h: Likewise.
59103         * iconvdata/ibm1132.h: Likewise.
59104         * iconvdata/ibm1133.h: Likewise.
59105         * iconvdata/ibm1137.h: Likewise.
59106         * iconvdata/ibm1140.h: Likewise.
59107         * iconvdata/ibm1141.h: Likewise.
59108         * iconvdata/ibm1142.h: Likewise.
59109         * iconvdata/ibm1143.h: Likewise.
59110         * iconvdata/ibm1144.h: Likewise.
59111         * iconvdata/ibm1145.h: Likewise.
59112         * iconvdata/ibm1146.h: Likewise.
59113         * iconvdata/ibm1147.h: Likewise.
59114         * iconvdata/ibm1148.h: Likewise.
59115         * iconvdata/ibm1149.h: Likewise.
59116         * iconvdata/ibm1153.h: Likewise.
59117         * iconvdata/ibm1154.h: Likewise.
59118         * iconvdata/ibm1155.h: Likewise.
59119         * iconvdata/ibm1156.h: Likewise.
59120         * iconvdata/ibm1157.h: Likewise.
59121         * iconvdata/ibm1158.h: Likewise.
59122         * iconvdata/ibm1160.h: Likewise.
59123         * iconvdata/ibm1161.h: Likewise.
59124         * iconvdata/ibm1162.h: Likewise.
59125         * iconvdata/ibm1163.h: Likewise.
59126         * iconvdata/ibm1164.h: Likewise.
59127         * iconvdata/ibm1166.h: Likewise.
59128         * iconvdata/ibm1167.h: Likewise.
59129         * iconvdata/ibm12712.h: Likewise.
59130         * iconvdata/ibm1390.h: Likewise.
59131         * iconvdata/ibm1399.h: Likewise.
59132         * iconvdata/ibm16804.h: Likewise.
59133         * iconvdata/ibm4517.h: Likewise.
59134         * iconvdata/ibm4899.h: Likewise.
59135         * iconvdata/ibm4909.h: Likewise.
59136         * iconvdata/ibm4971.h: Likewise.
59137         * iconvdata/ibm5347.h: Likewise.
59138         * iconvdata/ibm803.h: Likewise.
59139         * iconvdata/ibm856.h: Likewise.
59140         * iconvdata/ibm901.h: Likewise.
59141         * iconvdata/ibm902.h: Likewise.
59142         * iconvdata/ibm9030.h: Likewise.
59143         * iconvdata/ibm9066.h: Likewise.
59144         * iconvdata/ibm921.h: Likewise.
59145         * iconvdata/ibm922.h: Likewise.
59146         * iconvdata/ibm9448.h: Likewise.
59147         * iconvdata/isiri-3342.h: Likewise.
59148         * iconvdata/jis0201.h: Likewise.
59149         * include/link.h: Likewise.
59150         * include/netdb.h: Likewise.
59151         * inet/check_native.c: Likewise.
59152         * inet/check_pf.c: Likewise.
59153         * inet/getipv4sourcefilter.c: Likewise.
59154         * inet/getnameinfo.c: Likewise.
59155         * inet/getsourcefilter.c: Likewise.
59156         * inet/htonl.c: Likewise.
59157         * inet/setipv4sourcefilter.c: Likewise.
59158         * inet/setsourcefilter.c: Likewise.
59159         * inet/test-inet6_opt.c: Likewise.
59160         * inet/tst-network.c: Likewise.
59161         * locale/C-collate.c: Likewise.
59162         * locale/C-ctype.c: Likewise.
59163         * locale/C-time.c: Likewise.
59164         * locale/C-translit.h: Likewise.
59165         * locale/loadarchive.c: Likewise.
59166         * locale/programs/3level.h: Likewise.
59167         * locale/programs/charmap.c: Likewise.
59168         * locale/programs/charmap.h: Likewise.
59169         * locale/programs/ld-address.c: Likewise.
59170         * locale/programs/ld-collate.c: Likewise.
59171         * locale/programs/ld-ctype.c: Likewise.
59172         * locale/programs/ld-identification.c: Likewise.
59173         * locale/programs/ld-measurement.c: Likewise.
59174         * locale/programs/ld-messages.c: Likewise.
59175         * locale/programs/ld-monetary.c: Likewise.
59176         * locale/programs/ld-name.c: Likewise.
59177         * locale/programs/ld-numeric.c: Likewise.
59178         * locale/programs/ld-paper.c: Likewise.
59179         * locale/programs/ld-telephone.c: Likewise.
59180         * locale/programs/ld-time.c: Likewise.
59181         * locale/programs/linereader.c: Likewise.
59182         * locale/programs/locale.c: Likewise.
59183         * locale/programs/locarchive.c: Likewise.
59184         * locale/programs/locfile.h: Likewise.
59185         * locale/programs/repertoire.c: Likewise.
59186         * locale/programs/simple-hash.c: Likewise.
59187         * locale/programs/simple-hash.h: Likewise.
59188         * malloc/memusage.c: Likewise.
59189         * malloc/memusagestat.c: Likewise.
59190         * nis/nis_defaults.c: Likewise.
59191         * nis/nis_hash.c: Likewise.
59192         * nis/nis_print.c: Likewise.
59193         * nis/nis_xdr.c: Likewise.
59194         * nscd/connections.c: Likewise.
59195         * nscd/hstcache.c: Likewise.
59196         * nscd/nscd_gethst_r.c: Likewise.
59197         * nscd/nscd_getserv_r.c: Likewise.
59198         * nscd/nscd_helper.c: Likewise.
59199         * nscd/servicescache.c: Likewise.
59200         * nss/makedb.c: Likewise.
59201         * nss/nss_db/db-XXX.c: Likewise.
59202         * nss/nss_db/db-initgroups.c: Likewise.
59203         * nss/nss_db/db-netgrp.c: Likewise.
59204         * nss/nss_files/files-network.c: Likewise.
59205         * nss/nss_files/files-parse.c: Likewise.
59206         * posix/bug-regex5.c: Likewise.
59207         * posix/fnmatch_loop.c: Likewise.
59208         * posix/regcomp.c: Likewise.
59209         * posix/regexec.c: Likewise.
59210         * posix/tst-rfc3484-2.c: Likewise.
59211         * posix/tst-rfc3484-3.c: Likewise.
59212         * posix/tst-rfc3484.c: Likewise.
59213         * resolv/nss_dns/dns-canon.c: Likewise.
59214         * resolv/nss_dns/dns-network.c: Likewise.
59215         * resolv/res_init.c: Likewise.
59216         * resolv/res_mkquery.c: Likewise.
59217         * resolv/tst-aton.c: Likewise.
59218         * stdlib/cxa_atexit.c: Likewise.
59219         * stdlib/cxa_finalize.c: Likewise.
59220         * stdlib/gen-fpioconst.c: Likewise.
59221         * stdlib/strtol_l.c: Likewise.
59222         * string/tst-endian.c: Likewise.
59223         * sunrpc/auth_des.c: Likewise.
59224         * sunrpc/clnt_udp.c: Likewise.
59225         * sunrpc/rtime.c: Likewise.
59226         * sunrpc/svcauth_des.c: Likewise.
59227         * sunrpc/xdr.c: Likewise.
59228         * sunrpc/xdr_intXX_t.c: Likewise.
59229         * sunrpc/xdr_rec.c: Likewise.
59230         * sysdeps/generic/ldconfig.h: Likewise.
59231         * sysdeps/generic/ldsodefs.h: Likewise.
59232         * sysdeps/generic/memusage.h: Likewise.
59233         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59234         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59235         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59236         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59237         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59238         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59239         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59240         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59241         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59243         * sysdeps/posix/getaddrinfo.c: Likewise.
59244         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59245         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59246         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59247         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59248         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59249         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59250         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59251         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59252         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59253         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59254         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59255         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59256         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59257         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59258         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59259         * sysdeps/x86_64/dl-tls.h: Likewise.
59260         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59261         * time/alt_digit.c: Likewise.
59262         * time/era.c: Likewise.
59263         * wcsmbs/tst-c16c32-1.c: Likewise.
59265 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59267         * math/libm-test.inc (struct test_sincos_data): New type.
59268         (RUN_TEST_LOOP_sincos): New macro.
59269         (sincos_test_data): New variable.
59270         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59272 2013-05-16  Richard Henderson  <rth@redhat.com>
59274         * math/atest-exp2.c (LIMB64): New macro.
59275         (CONSTSZ): New macro.
59276         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59277         (hexdig): Move ...
59278         (print_mpn_fp): ... to function scope.
59279         (read_mpn_hex): Remove.
59280         (get_log2): Remove.
59281         (exp2_mpn): Use mp_log2.
59282         (main): Use mp_exp1.
59284 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59286         * math/libm-test.inc: Remove comment about not testing "inexact"
59287         exceptions.
59288         (INEXACT_EXCEPTION): New macro.
59289         (NO_INEXACT_EXCEPTION): Likewise.
59290         (INVALID_EXCEPTION_OK): Update value.
59291         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59292         (OVERFLOW_EXCEPTION_OK): Likewise.
59293         (UNDERFLOW_EXCEPTION_OK): Likewise.
59294         (IGNORE_ZERO_INF_SIGN): Likewise.
59295         (ERRNO_UNCHANGED): Likewise.
59296         (ERRNO_EDOM): Likewise.
59297         (ERRNO_ERANGE): Likewise.
59298         (test_exceptions): Handle testing "inexact" exceptions.
59299         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59300         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59301         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59302         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59303         INEXACT_EXCEPTION.
59304         (rint_towardzero_test_data): Likewise.
59305         (rint_downward_test_data): Likewise.
59306         (rint_upward_test_data): Likewise.
59308         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59309         with OVERFLOW_EXCEPTION.
59310         (exp10_test_data): Likewise.
59311         (exp2_test_data): Likewise.
59312         (expm1_test_data): Likewise.
59313         (lgamma_test_data): Likewise.
59314         (pow_test_data): Likewise.
59315         (tgamma_test_data): Likewise.
59316         (yn_test_data): Remove duplicate test of overflow.
59318         * math/libm-test.inc (struct test_cc_c_data): New type.
59319         (RUN_TEST_LOOP_cc_c): New macro.
59320         (cpow_test_data): New variable.
59321         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59323         * math/libm-test.inc (struct test_f_L_data): New type.
59324         (RUN_TEST_LOOP_f_L): New macro.
59325         (llrint_test_data): New variable.
59326         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59327         (llrint_tonearest_test_data): New variable.
59328         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59329         (llrint_towardzero_test_data): New variable.
59330         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59331         (llrint_downward_test_data): New variable.
59332         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59333         (llrint_upward_test_data): New variable.
59334         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59335         (llround_test_data): New variable.
59336         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59338 2013-05-13  Peter Collingbourne  <pcc@google.com>
59340         * math/atest-exp2.c (get_log2): Remove const attribute.
59342 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59344         * math/libm-test.inc (struct test_f_l_data): New type.
59345         (RUN_TEST_LOOP_f_l): New macro.
59346         (lrint_test_data): New variable.
59347         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59348         (lrint_tonearest_test_data): New variable.
59349         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59350         (lrint_towardzero_test_data): New variable.
59351         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59352         (lrint_downward_test_data): New variable.
59353         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59354         (lrint_upward_test_data): New variable.
59355         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59356         (lround_test_data): New variable.
59357         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59359 2013-05-15  Peter Collingbourne  <pcc@google.com>
59361         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59362         (EXTRACT_WORDS64) Use where appropriate.
59363         (INSERT_WORDS64) Likewise.
59365         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59366         constraints with x constraints.
59367         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59369         * malloc/obstack.c (_obstack_compat): Add initializer.
59371 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59373         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59374         si_trapno and add si_addr_lsb to _sifields.sigfault.
59375         (si_trapno): Remove macro.
59376         (si_addr_lsb): Define new macro.
59377         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59379 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59381         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59382         instead of TEST_f_l.
59383         (llrint_test_tonearest): Likewise.
59384         (llrint_test_towardzero): Likewise.
59385         (llrint_test_downward): Likewise.
59386         (llrint_test_upward): Likewise.
59387         (llround_test): Likewise.
59389         * math/libm-test.inc (struct test_f_i_data): Add comment.
59390         (RUN_TEST_LOOP_f_b): New macro.
59391         (RUN_TEST_LOOP_f_b_tg): Likewise.
59392         (finite_test_data): New variable.
59393         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59394         (isfinite_test_data): New variable.
59395         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59396         (isinf_test_data): New variable.
59397         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59398         (isnan_test_data): New variable.
59399         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59400         (isnormal_test_data): New variable.
59401         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59402         (issignaling_test_data): New variable.
59403         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59404         (signbit_test_data): New variable.
59405         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59407         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59408         with INVALID_EXCEPTION.
59409         (acosh_test_data): Likewise.
59410         (asin_test_data): Likewise.
59411         (atanh_test_data): Likewise.
59412         (fmod_test_data): Likewise.
59413         (log_test_data): Likewise.
59414         (log10_test_data): Likewise.
59415         (log2_test_data): Likewise.
59416         (pow_test_data): Likewise.
59417         (sqrt_test_data): Likewise.
59418         (y0_test_data): Likewise.
59419         (y1_test_data): Likewise.
59420         (yn_test_data): Likewise.
59422         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59423         function contents.
59425         * math/libm-test.inc (struct test_ff_i_data): New type.
59426         (RUN_TEST_LOOP_ff_i_tg): New macro.
59427         (isgreater_test_data): New variable.
59428         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59429         (isgreaterequal_test_data): New variable.
59430         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59431         (isless_test_data): New variable.
59432         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59433         (islessequal_test_data): New variable.
59434         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59435         (islessgreater_test_data): New variable.
59436         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59437         (isunordered_test_data): New variable.
59438         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59440 2013-05-14  David S. Miller  <davem@davemloft.net>
59442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59444 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59446         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59448         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59449         extra_test to int.
59450         (struct test_f_i_data): Change type of max_ulp to int.
59452         * math/libm-test.inc (test_ffI_f1_data): New type.
59453         (RUN_TEST_LOOP_ffI_f1): New macro.
59454         (remquo_test_data): New variable.
59455         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59457         * setjmp/tst-setjmp-fp.c: New file.
59458         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59459         (link-libm): New variable.
59460         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59462         * math/libm-test.inc (struct test_f_i_data): New type.
59463         (RUN_TEST_LOOP_f_i): New macro.
59464         (RUN_TEST_LOOP_f_i_tg): Likewise.
59465         (fpclassify_test_data): New variable.
59466         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59467         (ilogb_test_data): New variable.
59468         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59470         * math/libm-test.inc (scalbln_test): Correct function name in END
59471         call.
59473         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59474         (RUN_TEST_LOOP_fI_f1): New macro.
59475         (frexp_test_data): New variable.
59476         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59478         * math/libm-test.inc (struct test_fF_f1_data): New type.
59479         (RUN_TEST_LOOP_fF_f1): New macro.
59480         (modf_test_data): New variable.
59481         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59483         * math/libm-test.inc (struct test_f_f1_data): New type.
59484         (RUN_TEST_LOOP_f_f1): New macro.
59485         (gamma_test_data): New variable.
59486         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59487         (lgamma_test_data): New variable.
59488         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59490 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
59492         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
59493         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
59494         (main): Comment "tls" pseudo-hwcap.
59496 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
59498         * math/libm-test.inc (struct test_fl_f_data): New type.
59499         (RUN_TEST_LOOP_fl_f): New variable.
59500         (scalbln_test_data): New variable.
59501         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
59503         * math/libm-test.inc (struct test_fi_f_data): New type.
59504         (RUN_TEST_LOOP_fi_f): New macro.
59505         (ldexp_test_data): New variable.
59506         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
59507         (scalbn_test_data): New variable.
59508         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
59510         * math/libm-test.inc (struct test_c_f_data): New type.
59511         (RUN_TEST_LOOP_c_f): New macro.
59512         (cabs_test_data): New variable.
59513         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
59514         (carg_test_data): New variable.
59515         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
59516         (cimag_test_data): New variable.
59517         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59518         (creal_test_data): New variable.
59519         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
59521         * math/libm-test.inc (struct test_if_f_data): New type.
59522         (RUN_TEST_LOOP_if_f): New macro.
59523         (jn_test_data): New variable.
59524         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
59525         (yn_test_data): New variable.
59526         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
59528         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
59530 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59532         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
59533         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
59535 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59537         * benchtests/Makefile (CPPFLAGS-nonlib): Add
59538         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
59539         (bench-deps): Add bench-timing.h.
59540         * benchtests-bench-skeleton.c: Include bench-timing.h.
59541         (main): Use TIMING_* macros instead of clock_gettime.
59542         * benchtests/bench-timing.h: New file.
59544         [BZ #14582]
59545         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
59546         Renamed from _LIB_VERSION.
59547         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
59549 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
59551         * math/libm-test.inc (struct test_fff_f_data): New type.
59552         (RUN_TEST_LOOP_fff_f): New macro.
59553         (fma_test_data): New variable.
59554         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
59555         (fma_towardzero_test_data): New variable.
59556         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
59557         (fma_downward_test_data): New variable.
59558         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
59559         (fma_upward_test_data): New variable.
59560         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
59562         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
59563         (struct test_c_c_data): New type.
59564         (RUN_TEST_LOOP_c_c): New macro.
59565         (cacos_test_data): New variable.
59566         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
59567         (cacosh_test_data): New variable.
59568         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
59569         (casin_test_data): New variable.
59570         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
59571         (casinh_test_data): New variable.
59572         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
59573         (catan_test_data): New variable.
59574         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
59575         (catanh_test_data): New variable.
59576         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
59577         (ccos_test_data): New variable.
59578         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
59579         (ccosh_test_data): New variable.
59580         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
59581         (cexp_test_data): New variable.
59582         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
59583         (clog_test_data): New variable.
59584         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
59585         (clog10_test_data): New variable.
59586         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
59587         (conj_test_data): New variable.
59588         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
59589         (cproj_test_data): New variable.
59590         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
59591         (csin_test_data): New variable.
59592         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
59593         (csinh_test_data): New variable.
59594         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
59595         (csqrt_test_data): New variable.
59596         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
59597         (ctan_test_data): New variable.
59598         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
59599         (ctan_tonearest_test_data): New variable.
59600         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59601         (ctan_towardzero_test_data): New variable.
59602         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59603         (ctan_downward_test_data): New variable.
59604         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59605         (ctan_upward_test_data): New variable.
59606         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59607         (ctanh_test_data): New variable.
59608         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
59609         (ctanh_tonearest_test_data): New variable.
59610         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59611         (ctanh_towardzero_test_data): New variable.
59612         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59613         (ctanh_downward_test_data): New variable.
59614         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59615         (ctanh_upward_test_data): New variable.
59616         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59617         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
59618         of BUILD_COMPLEX.
59620         * math/libm-test.inc (struct test_ff_f_data): New type.
59621         (struct test_ff_f_data_nexttoward): Likewise.
59622         (RUN_TEST_LOOP_2_f): New macro.
59623         (RUN_TEST_LOOP_ff_f): Likewise.
59624         (atan2_test_data): New variable.
59625         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
59626         (copysign_test_data): New variable.
59627         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
59628         (fdim_test_data): New variable.
59629         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
59630         (fmax_test_data): New variable.
59631         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
59632         (fmin_test_data): New variable.
59633         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
59634         (fmod_test_data): New variable.
59635         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
59636         (hypot_test_data): New variable.
59637         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
59638         (nextafter_test_data): New variable.
59639         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
59640         (nexttoward_test_data): New variable.
59641         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
59642         (pow_test_data): New variable.
59643         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
59644         (pow_tonearest_test_data): New variable.
59645         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
59646         (pow_towardzero_test_data): New variable.
59647         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
59648         (pow_downward_test_data): New variable.
59649         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
59650         (pow_upward_test_data): New variable.
59651         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
59652         (remainder_test_data): New variable.
59653         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
59654         (scalb_test_data): New variable.
59655         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59656         * sysdeps/i386/fpu/libm-test-ulps: Update.
59658 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59660         * math/libm-test.inc (fma_test): Use max_value instead of local
59661         variable fltmax.
59662         (nextafter_test): Likewise.
59664         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59665         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59666         (acos_downward_test_data): New variable.
59667         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59668         (acos_upward_test_data): New variable.
59669         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59670         (acosh_test_data): New variable.
59671         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59672         (asin_test_data): New variable.
59673         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59674         (asin_tonearest_test_data): New variable.
59675         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59676         (asin_towardzero_test_data): New variable.
59677         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59678         (asin_downward_test_data): New variable.
59679         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59680         (asin_upward_test_data): New variable.
59681         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59682         (asinh_test_data): New variable.
59683         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59684         (atan_test_data): New variable.
59685         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59686         (atanh_test_data): New variable.
59687         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59688         (cbrt_test_data): New variable.
59689         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59690         (ceil_test_data): New variable.
59691         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59692         (cos_test_data): New variable.
59693         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59694         (cos_tonearest_test_data): New variable.
59695         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59696         (cos_towardzero_test_data): New variable.
59697         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59698         (cos_downward_test_data): New variable.
59699         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59700         (cos_upward_test_data): New variable.
59701         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59702         (cosh_test_data): New variable.
59703         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59704         (cosh_tonearest_test_data): New variable.
59705         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59706         (cosh_towardzero_test_data): New variable.
59707         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59708         (cosh_downward_test_data): New variable.
59709         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59710         (cosh_upward_test_data): New variable.
59711         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59712         (erf_test_data): New variable.
59713         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59714         (erfc_test_data): New variable.
59715         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59716         (exp_test_data): New variable.
59717         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59718         (exp_tonearest_test_data): New variable.
59719         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59720         (exp_towardzero_test_data): New variable.
59721         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59722         (exp_downward_test_data): New variable.
59723         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59724         (exp_upward_test_data): New variable.
59725         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59726         (exp10_test_data): New variable.
59727         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59728         (exp2_test_data): New variable.
59729         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59730         (expm1_test_data): New variable.
59731         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59732         (fabs_test_data): New variable.
59733         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59734         (floor_test_data): New variable.
59735         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59736         (j0_test_data): New variable.
59737         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59738         (j1_test_data): New variable.
59739         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59740         (log_test_data): New variable.
59741         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59742         (log10_test_data): New variable.
59743         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59744         (log1p_test_data): New variable.
59745         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59746         (log2_test_data): New variable.
59747         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59748         (logb_test_data): New variable.
59749         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59750         (logb_downward_test_data): New variable.
59751         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59752         (nearbyint_test_data): New variable.
59753         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59754         (rint_test_data): New variable.
59755         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59756         (rint_tonearest_test_data): New variable.
59757         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59758         (rint_towardzero_test_data): New variable.
59759         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59760         (rint_downward_test_data): New variable.
59761         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59762         (rint_upward_test_data): New variable.
59763         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59764         (round_test_data): New variable.
59765         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59766         (sin_test_data): New variable.
59767         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59768         (sin_tonearest_test_data): New variable.
59769         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59770         (sin_towardzero_test_data): New variable.
59771         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59772         (sin_downward_test_data): New variable.
59773         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59774         (sin_upward_test_data): New variable.
59775         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59776         (sinh_test_data): New variable.
59777         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59778         (sinh_tonearest_test_data): New variable.
59779         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59780         (sinh_towardzero_test_data): New variable.
59781         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59782         (sinh_downward_test_data): New variable.
59783         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59784         (sinh_upward_test_data): New variable.
59785         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59786         (sqrt_test_data): New variable.
59787         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59788         (tan_test_data): New variable.
59789         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59790         (tan_tonearest_test_data): New variable.
59791         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59792         (tan_towardzero_test_data): New variable.
59793         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59794         (tan_downward_test_data): New variable.
59795         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59796         (tan_upward_test_data): New variable.
59797         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59798         (tanh_test_data): New variable.
59799         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59800         (tgamma_test_data): New variable.
59801         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59802         (trunc_test_data): New variable.
59803         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59804         (y0_test_data): New variable.
59805         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59806         (y1_test_data): New variable.
59807         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59808         (significand_test_data): New variable.
59809         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59811 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59813         [BZ #12387]
59814         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59816 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59818         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59820 2013-05-10  Andreas Jaeger  <aj@suse.de>
59822         [BZ #15448]
59823         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59824         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59826 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59828         * math/gen-libm-test.pl (adjust_arg): New function.
59829         (special_functions): Handle generating output in both functions
59830         and arrays.
59831         (parse_args): Likewise.
59832         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59833         $in_func argument to parse_args.
59834         * math/libm-test.inc (struct test_f_f_data): New type.
59835         (IF_ROUND_INIT_): New macro.
59836         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59837         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59838         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59839         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59840         (ROUND_RESTORE_): Likewise.
59841         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59842         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59843         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59844         (ROUND_RESTORE_FE_UPWARD): Likewise.
59845         (RUN_TEST_LOOP_f_f): New macro.
59846         (acos_test_data): New variable.
59847         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59848         (acos_tonearest_test_data): New variable.
59849         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59851 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59853         * benchtests/bench-skeleton.c (startup): Fix coding style.
59855 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59857         [BZ #6809]
59858         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59859         negative infinity argument.
59860         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59861         negative infinity argument.
59862         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59863         negative infinity argument.
59864         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59865         domain errors.
59867 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59869         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59870         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59871         * iconv/iconv_prog.c (main): Likewise.
59872         * locale/programs/charmap-dir.c (charmap_readdir)
59873         (fopen_uncompressed): Likewise.
59874         * locale/programs/locfile.c (siblings_uncached)
59875         (write_locale_data): Use lstat64 instead of lstat.
59876         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59877         stat.
59879 2013-05-10  Andreas Jaeger  <aj@suse.de>
59881         [BZ #15395]
59882         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59883         localization.
59884         Include <locale.h>.
59886 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59888         * elf/dl-close.c (_dl_close_worker): Add comments.
59890 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59892         [BZ #15359]
59893         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59894         high part of pi/2.
59895         (__ieee754_rem_pio2l): Update comments.
59897         [BZ #15429]
59898         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59899         high part of pi/2.
59900         (__ieee754_rem_pio2l): Update comments.
59902         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59903         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59905         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59906         M_PI_4l.
59908         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59909         (M_PI_34_LOG10El): Likewise.
59910         (M_PI2_LOG10El): Likewise.
59911         (M_PI4_LOG10El): Likewise.
59912         (M_PI_LOG10El): Likewise.
59914 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59918 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59920         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59921         (MINUS_ZERO_INIT): Likewise.
59922         (PLUS_INFTY_INIT): Likewise.
59923         (MINUS_INFTY_INIT): Likewise.
59924         (QNAN_VALUE_INIT): Likewise.
59925         (MAX_VALUE_INIT): Likewise.
59926         (MIN_VALUE_INIT): Likewise.
59927         (MIN_SUBNORM_VALUE_INIT): Likewise.
59928         (plus_zero): Initialize with PLUS_ZERO_INIT.
59929         (minus_zero): Initialize with MINUS_ZERO_INIT.
59930         (plus_infty): Initialize with PLUS_INFTY_INIT.
59931         (minus_infty): Initialize with MINUS_INFTY_INIT.
59932         (qnan_value): Initialize with QNAN_VALUE_INIT.
59933         (max_value): Initialize with MAX_VALUE_INIT.
59934         (min_value): Initialize with MIN_VALUE_INIT.
59935         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59937         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59938         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59939         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59940         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59942         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59943         (RUN_TEST_2_f): Likewise.
59944         (RUN_TEST_ff_f): Likewise.
59945         (RUN_TEST_fi_f): Likewise.
59946         (RUN_TEST_fl_f): Likewise.
59947         (RUN_TEST_fff_f): Likewise.
59948         (RUN_TEST_c_f): Likewise.
59949         (RUN_TEST_f_f1): Likewise.
59950         (RUN_TEST_fF_f1): Likewise.
59951         (RUN_TEST_fI_f1): Likewise.
59952         (RUN_TEST_ffI_f1): Likewise.
59953         (RUN_TEST_c_c): Likewise.
59954         (RUN_TEST_cc_c): Likewise.
59955         (RUN_TEST_f_i): Likewise.
59956         (RUN_TEST_f_i_tg): Likewise.
59957         (RUN_TEST_ff_i_tg): Likewise.
59958         (RUN_TEST_f_b): Likewise.
59959         (RUN_TEST_f_b_tg): Likewise.
59960         (RUN_TEST_f_l): Likewise.
59961         (RUN_TEST_f_L): Likewise.
59962         (RUN_TEST_sincos): Likewise.
59963         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59964         whether to show exceptions.  Do not include ");\n" in return
59965         value.
59966         (special_functions): Output call to RUN_TEST_sincos instead of
59967         check_float calls.  Update calls to new_test.
59968         (parse_args): Output call to single RUN_TEST_* macro instead of
59969         check_* calls and other assignments.  Update calls to new_test.
59971         [BZ #2546]
59972         [BZ #2560]
59973         [BZ #5159]
59974         [BZ #15426]
59975         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59976         input to result for tgamma overflow.
59977         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59978         (gamma_coeff): New variable.
59979         (NCOEFF): New macro.
59980         (gamma_positive): New function.
59981         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59982         underflow here.  Use gamma_positive instead of exp (lgamma) for
59983         other arguments.
59984         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59985         (gamma_coeff): New variable.
59986         (NCOEFF): New macro.
59987         (gammaf_positive): New function.
59988         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59989         underflow here.  Use gamma_positive instead of exp (lgamma) for
59990         other arguments.
59991         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59992         (gamma_coeff): New variable.
59993         (NCOEFF): New macro.
59994         (gammal_positive): New function.
59995         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59996         underflow here.  Use gamma_positive instead of exp (lgamma) for
59997         other arguments.
59998         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59999         (gamma_coeff): New variable.
60000         (NCOEFF): New macro.
60001         (gammal_positive): New function.
60002         (__ieee754_gammal_r): Handle positive infinity, overflow and
60003         underflow here.  Handle NaN the same as positive infinity.  Remove
60004         check x < 0xffffffff for negative integers.  Use gamma_positive
60005         instead of exp (lgamma) for other arguments.
60006         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60007         (gamma_coeff): New variable.
60008         (NCOEFF): New macro.
60009         (gammal_positive): New function.
60010         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60011         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60012         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60013         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60014         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60015         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60016         * sysdeps/generic/math_private.h (__gamma_productf): New
60017         prototype.
60018         (__gamma_product): Likewise.
60019         (__gamma_productl): Likewise.
60020         * math/Makefile (libm-calls): Add gamma_product.
60021         * math/libm-test.inc (tgamma_test): Add more tests.
60022         * sysdeps/i386/fpu/libm-test-ulps: Update.
60023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60025 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60027         * benchtests/bench-skeleton.c (main): Preheat CPU.
60029 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60031         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60033 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60035         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60036         and _dl_skip_args_internal.
60038 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60040         * manual/message.texi (Message Translation): Talk about users.
60041         Message to key mapping impacts design.
60043 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60045         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60047         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60049         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60050         * sysdeps/wordsize-64/glob64.c: ... here.
60052         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60053         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60054         New macros.
60056         * debug/getlogin_r_chk.c: Moved to ...
60057         * login/getlogin_r_chk.c: ... here.
60058         * debug/Makefile (routines): Move getlogin_r_chk to ...
60059         * login/Makefile (routines): ... here.
60060         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60061         * login/Versions (libc: GLIBC_2.4): ... here.
60063         * io/poll.c (__poll): Renamed from poll.
60064         Add libc_hidden_def.
60065         (poll): Define as weak alias.
60067         * debug/ptsname_r_chk.c: Moved to ...
60068         * login/ptsname_r_chk.c: ... here.
60069         * debug/Makefile (routines): Move ptsname_r_chk to ...
60070         * login/Makefile (routines): ... here.
60071         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60072         * login/Versions (libc: GLIBC_2.4): ... here.
60074         * posix/getlogin.c: Moved to ...
60075         * login/getlogin.c: ... here.
60076         * posix/getlogin_r.c: Moved to ...
60077         * login/getlogin_r.c: ... here.
60078         * posix/getlogin_r.c: Moved to ...
60079         * login/getlogin_r.c: ... here.
60080         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60081         * login/Makefile (routines): ... here.
60082         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60083         * login/Versions (libc: GLIBC_2.0): ... here.
60085         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60086         (setrlimit): Define as weak alias.
60088         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60089         Call __ names for open, ftruncate, and close.
60090         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60091         (truncate): Define as weak alias.
60093 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60095         * math/gen-libm-test.pl (parse_args): Initialize x before each
60096         test of frexp, modf and remquo.
60098         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60099         test signgam value.
60101 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60103         [BZ #15418]
60104         [BZ #15419]
60105         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60106         internal tests.
60107         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60109 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60111         * elf/dl-writev.h: New file.
60112         * elf/dl-misc.c: Include it.
60113         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60114         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60116 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60118         * math/libm-test.inc (noXFails): Remove variable.
60119         (noXPasses): Likewise.
60120         (BUILD_COMPLEX_INT): Remove macro.
60121         (print_screen): Remove xfail argument.
60122         (print_screen_max_error): Likewise.
60123         (update_stats): Likewise.
60124         (print_max_error): Likewise.  Update calls to other affected
60125         functions.
60126         (print_complex_max_error): Likewise.
60127         (test_single_exception): Update calls to print_screen.
60128         (test_single_errno): Likewise.
60129         (check_float_internal): Remove xfail argument.  Update calls to
60130         other affected functions.
60131         (check_float): Likewise.
60132         (check_complex): Likewise.
60133         (check_int): Likewise.
60134         (check_long): Likewise.
60135         (check_bool): Likewise.
60136         (check_longlong): Likewise.
60137         (main): Don't print noXFails and noXPasses.
60138         * math/gen-libm-test.pl (top level): Don't mention expected
60139         failure handling in comment.
60140         (new_test): Don't handle expected failures.
60141         (parse_args): Don't mention expected failure handling in comment.
60142         (generate_testfile): Don't handle expected failures.
60143         (parse_ulps): Likewise.
60144         (print_ulps_file): Likewise.
60145         (get_failure): Remove function.
60146         (output_test): Don't handle expected failures.
60147         * make/README.libm-test: Don't mention expected failure handling.
60149         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60150         (minus_zero): Likewise.
60151         (plus_infty): Likewise.
60152         (minus_infty): Likewise.
60153         (qnan_value): Likewise.
60154         (max_value): Likewise.
60155         (min_value): Likewise.
60156         (min_subnorm_value): Likewise.
60157         (initialize): Do not initialize those variables dynamically.
60159 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60161         * io/open.c (__open_2): Moved to ...
60162         * io/open_2.c: ... this new file.
60163         * io/open64.c (__open64_2): Moved to ...
60164         * io/open64_2.c: ... this new file.
60165         * io/openat.c (__openat_2): Moved to ...
60166         * io/openat_2.c: ... this new file.
60167         * io/openat64.c (__openat64_2): Moved to ...
60168         * io/openat64_2.c: ... this new file.
60169         * io/Makefile (routines): Add them.
60170         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60171         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60172         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60173         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60174         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60175         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60176         (__openat64): Add hidden_ver.
60177         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60178         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60180         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60181         Separately conditionalize setting of GLRO(dl_sysinfo) so
60182         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60183         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60185 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60187         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60188         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60189         definition.
60190         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60191         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60192         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60193         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60194         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60196 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60198         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60199         test signgam value.
60201         * math/libm-test.inc (hypot_test): Do not use
60202         IGNORE_ZERO_INF_SIGN.
60204 2013-05-03  Andreas Jaeger  <aj@suse.de>
60206         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60207         Linux 3.9.
60208         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60209         (PF_MAX): Adjust for VSOCK change.
60211 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60215 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60217         [BZ #15264]
60218         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60219         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60220         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60222 2013-05-02  David S. Miller  <davem@davemloft.net>
60224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60226 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60228         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60230 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60232         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60234 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60236         [BZ #14952]
60237         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60238         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60239         Use __attribute__ ((__gnu_inline__)).
60240         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60241         Don't use __attribute__ ((__gnu_inline__)).
60243 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60245         [BZ #15423]
60246         * math/s_catan.c (__catan): Handle small real or imaginary part of
60247         input specially to avoid spurious underflow.
60248         * math/s_catanf.c (__catanf): Likewise.
60249         * math/s_catanh.c (__catanh): Likewise.
60250         * math/s_catanhf.c (__catanhf): Likewise.
60251         * math/s_catanhl.c (__catanhl): Likewise.
60252         * math/s_catanl.c (__catanl): Likewise.
60253         * math/libm-test.inc (catan_test): Add more tests.
60254         (catanh_test): Likewise.
60255         * sysdeps/i386/fpu/libm-test-ulps: Update.
60256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60258 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60262 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60264         [BZ #15416]
60265         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60266         accurately for denominator in atan2.
60267         * math/s_catanf.c (__catanf): Likewise.
60268         * math/s_catanh.c (__catanh): Likewise.
60269         * math/s_catanhf.c (__catanhf): Likewise.
60270         * math/s_catanhl.c (__catanhl): Likewise.
60271         * math/s_catanl.c (__catanl): Likewise.
60272         * math/libm-test.inc (catan_test): Add more tests.
60273         (catanh_test): Likewise.
60274         * sysdeps/i386/fpu/libm-test-ulps: Update.
60275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60277 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60279         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60281         * benchtests/Makefile (bench): Remove slow benchmarks.
60282         * benchtests/atan-inputs: Add slow benchmark inputs.
60283         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60284         (BENCH_FUNC): Accept variant offset.
60285         (VARIANT): Define.
60286         * benchtests/bench-skeleton.c (main): Run benchmark for each
60287         variant.
60288         * benchtests/cos-inputs: Add slow benchmark inputs.
60289         * benchtests/exp-inputs: Likewise.
60290         * benchtests/pow-inputs: Likewise.
60291         * benchtests/sin-inputs: Likewise.
60292         * benchtests/slowatan-inputs: Remove.
60293         * benchtests/slowatan.c: Remove.
60294         * benchtests/slowcos-inputs: Remove.
60295         * benchtests/slowcos.c: Remove.
60296         * benchtests/slowexp-inputs: Remove.
60297         * benchtests/slowexp.c: Remove.
60298         * benchtests/slowpow-inputs: Remove.
60299         * benchtests/slowpow.c: Remove.
60300         * benchtests/slowsin-inputs: Remove.
60301         * benchtests/slowsin.c: Remove.
60302         * benchtests/slowtan-inputs: Remove.
60303         * benchtests/slowtan.c: Remove.
60304         * benchtests/tan-inputs: Add slow benchmark inputs.
60305         * scripts/bench.pl: Parse comments and directives.
60307         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60308         in CPPFLAGS.
60309         ($(objpfx)bench-%.c): Remove *-ITER.
60310         * benchtests/bench-modf.c: Remove definition of ITER.
60311         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60312         (main): Loop for DURATION seconds instead of fixed number of
60313         iterations.
60314         * scripts/bench.pl: Don't expect iterations in parameters.
60316 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60318         * io/fchdir.c (__fchdir): Renamed from fchdir.
60319         (fchdir): Define as weak alias.
60321 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60323         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60324         (ERRNO_EDOM): Likewise.
60325         (ERRNO_ERANGE): Likewise.
60326         (noErrnoTests): New variable.
60327         (init_max_error): Set errno to 0.
60328         (test_single_errno): New function.
60329         (test_errno): Likewise.
60330         (check_float_internal): Call test_errno.  Set errno to 0.
60331         (check_complex): Refer to errno tests in comment.
60332         (check_int): Call test_errno.  Set errno to 0.
60333         (check_long): Likewise.
60334         (check_bool): Likewise.
60335         (check_longlong): Likewise.
60336         (cos_test): Use ERRNO_* flags for errno tests instead of
60337         check_int.
60338         (expm1_test): Likewise.
60339         (fmod_test): Likewise.
60340         (ilogb_test): Likewise.
60341         (lgamma_test): Likewise.
60342         (pow_test): Likewise.
60343         (remainder_test): Likewise.
60344         (sin_test): Likewise.
60345         (tan_test): Likewise.
60346         (yn_test): Likewise.
60347         (initialize): Set errno to 0.
60348         (main): Print number of errno tests.
60349         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60351 2013-04-29  Andreas Jaeger  <aj@suse.de>
60353         [BZ #15084]
60354         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60355         and RES_USEVC.
60357         [BZ #15085]
60358         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60359         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60360         unimplemented.
60362         [BZ #15380]
60363         * stdlib/random.c (__initstate): Return NULL if
60364         __initstate fails.
60366         [BZ #15086]
60367         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60368         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60369         RES_SNGLKUPREOP.
60371 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60375 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60377         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60378         of individual tests.
60379         (casin_test): Likewise.
60380         (casinh_test): Likewise.
60382 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60384         [BZ #15409]
60385         * math/s_catan.c (__catan): Handle arguments with large real or
60386         imaginary part separately without squaring.
60387         * math/s_catanf.c (__catanf): Likewise.
60388         * math/s_catanh.c (__catanh): Likewise.
60389         * math/s_catanhf.c (__catanhf): Likewise.
60390         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60391         and redefine.
60392         (__catanhl): Handle arguments with large real or imaginary part
60393         separately without squaring.
60394         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60395         and redefine.
60396         (__catanl): Handle arguments with large real or imaginary part
60397         separately without squaring.
60398         * math/libm-test.inc (catan_test): Add more tests.
60399         (catanh_test): Likewise.
60400         * sysdeps/i386/fpu/libm-test-ulps: Update.
60401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60403 2013-04-27  Andreas Jaeger  <aj@suse.de>
60405         [BZ #15007]
60406         * stdlib/stdlib.h: Update guards for qecvt.
60407         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60408         <stdlib.h>.
60410 2013-04-27  Allan McRae  <allan@archlinux.org>
60412         * sysdeps/i386/fpu/libm-test-ulps: Update.
60414 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60416         [BZ #15406]
60417         * math/s_catan.c: Include <float.h>.
60418         (__catan): Ensure underflow exception occurs for underflowed
60419         result.
60420         * math/s_catanf.c: Include <float.h>.
60421         (__catanf): Ensure underflow exception occurs for underflowed
60422         result.
60423         * math/s_catanh.c: Include <float.h>.
60424         (__catanh): Ensure underflow exception occurs for underflowed
60425         result.
60426         * math/s_catanhf.c: Include <float.h>.
60427         (__catanhf): Ensure underflow exception occurs for underflowed
60428         result.
60429         * math/s_catanhl.c: Include <float.h>.
60430         (__catanhl): Ensure underflow exception occurs for underflowed
60431         result.
60432         * math/s_catanl.c: Include <float.h>.
60433         (__catanl): Ensure underflow exception occurs for underflowed
60434         result.
60435         * math/libm-test.inc (catan_test): Add more tests.
60436         (catanh_test): Likewise.
60438         [BZ #15405]
60439         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60440         underflowed result.
60441         * math/s_ccoshf.c (__ccoshf): Likewise.
60442         * math/s_ccoshl.c (__ccoshl): Likewise.
60443         * math/s_csin.c (__csin): Likewise.
60444         * math/s_csinf.c (__csinf): Likewise.
60445         * math/s_csinh.c (__csinh): Likewise.
60446         * math/s_csinhf.c (__csinhf): Likewise.
60447         * math/s_csinhl.c (__csinhl): Likewise.
60448         * math/s_csinl.c (__csinl): Likewise.
60449         * math/libm-test.inc (ccos_test): Add more tests.
60450         (ccosh_test): Likewise.
60451         (csin_test): Likewise.
60452         (csinh_test): Likewise.
60454 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60456         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60457         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60458         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60459         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60460         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60461         powerpc/power5+/fpu folders.
60462         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60465 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60469 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60471         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60472         additions to variable.
60473         [$(config-machine) = x86_64] (modules-names): Likewise.
60474         ($(objpfx)tst-audit3): Remove dependency.
60475         ($(objpfx)tst-audit3.out): Likewise.
60476         ($(objpfx)tst-audit4): Likewise.
60477         ($(objpfx)tst-audit4.out): Likewise.
60478         ($(objpfx)tst-audit5): Likewise.
60479         ($(objpfx)tst-audit5.out): Likewise.
60480         ($(objpfx)tst-audit6): Likewise.
60481         ($(objpfx)tst-audit6.out): Likewise.
60482         ($(objpfx)tst-audit7): Likewise.
60483         ($(objpfx)tst-audit7.out): Likewise.
60484         (tst-audit3-ENV): Remove variable.
60485         (tst-audit4-ENV): Likewise.
60486         (tst-audit5-ENV): Likewise.
60487         (tst-audit6-ENV): Likewise.
60488         (tst-audit7-ENV): Likewise.
60489         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
60490         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
60491         addition to variable.
60492         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
60493         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
60494         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60495         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
60496         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
60497         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
60498         tst-audit3, tst-audit4 and tst-audit5.
60499         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
60500         tst-audit6 and tst-audit7.
60501         [$(subdir) = elf] (modules-names): Add audit modules for those
60502         tests.
60503         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
60504         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
60505         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
60506         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
60507         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
60508         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
60509         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
60510         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
60511         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
60512         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
60513         [$(subdir) = elf] (tst-audit3-ENV): New variable.
60514         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
60515         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
60516         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
60517         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
60518         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
60519         Likewise.
60520         [$(subdir) = elf && $(config-cflags-avx) = yes]
60521         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
60522         [$(subdir) = elf && $(config-cflags-avx) = yes]
60523         (CFLAGS-tst-auditmod4a.c): Likewise.
60524         [$(subdir) = elf && $(config-cflags-avx) = yes]
60525         (CFLAGS-tst-auditmod4b.c): Likewise.
60526         [$(subdir) = elf && $(config-cflags-avx) = yes]
60527         (CFLAGS-tst-auditmod6b.c): Likewise.
60528         [$(subdir) = elf && $(config-cflags-avx) = yes]
60529         (CFLAGS-tst-auditmod6c.c): Likewise.
60530         [$(subdir) = elf && $(config-cflags-avx) = yes]
60531         (CFLAGS-tst-auditmod7b.c): Likewise.
60532         * elf/tst-audit3.c: Move to ...
60533         * sysdeps/x86_64/tst-audit3.c: ... here.
60534         * elf/tst-audit4.c: Move to ...
60535         * sysdeps/x86_64/tst-audit4.c: ... here.
60536         * elf/tst-audit5.c: Move to ...
60537         * sysdeps/x86_64/tst-audit5.c: ... here.
60538         * elf/tst-audit6.c: Move to ...
60539         * sysdeps/x86_64/tst-audit6.c: ... here.
60540         * elf/tst-audit7.c: Move to ...
60541         * sysdeps/x86_64/tst-audit7.c: ... here.
60542         * elf/tst-auditmod3a.c: Move to ...
60543         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
60544         * elf/tst-auditmod3b.c: Move to ...
60545         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
60546         * elf/tst-auditmod4a.c: Move to ...
60547         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
60548         * elf/tst-auditmod4b.c: Move to ...
60549         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
60550         * elf/tst-auditmod5a.c: Move to ...
60551         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
60552         * elf/tst-auditmod5b.c: Move to ...
60553         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
60554         * elf/tst-auditmod6a.c: Move to ...
60555         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
60556         * elf/tst-auditmod6b.c: Move to ...
60557         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
60558         * elf/tst-auditmod6c.c: Move to ...
60559         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
60560         * elf/tst-auditmod7a.c: Move to ...
60561         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
60562         * elf/tst-auditmod7b.c: Move to ...
60563         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
60565 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
60567         [BZ #15366]
60568         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
60569         define unconditionally.
60570         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
60571         define unconditionally.
60572         (INT8_C, INT16_C, etc.): Likewise.
60574 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
60576         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
60577         __ehdr_start with hidden visibility.
60579         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
60581 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
60583         * math/libm-test.inc (cos_test): Use accurate hex constants.
60584         (sincost_test): Likewise.
60586 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
60588         * math/libm-test.inc (catan_test): Add more tests.
60589         (catanh_test): Likewise.
60591         * math/s_catanf.c (__catanf): Use suffixed floating-point
60592         constants.
60593         * math/s_catanhf.c (__catanhf): Likewise.
60594         * math/s_catanhl.c (__catanhl): Likewise.
60595         * math/s_catanl.c (__catanl): Likewise.
60597         [BZ #15394]
60598         * math/s_catan.c (__catan): Calculate imaginary part of result
60599         with log1p not log unless computing log of number close to 0.
60600         * math/s_catanf.c (__catanf): Likewise.
60601         * math/s_catanl.c (__catanl): Likewise.
60602         * math/s_catanh.c (__catanh): Calculate real part of result with
60603         log1p not log unless computing log of number close to 0.
60604         * math/s_catanhf.c (__catanhf): Likewise.
60605         * math/s_catanhl.c (__catanhl): Likewise.
60606         * math/libm-test.inc (catan_test): Add more tests.
60607         (catanh_test): Likewise.
60608         * sysdeps/i386/fpu/libm-test-ulps: Update.
60609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60611 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60613         * benchtests/Makefile: Mention files in which fast and slow
60614         paths of math functions are implemented.
60616 2013-04-23  Roland McGrath  <roland@hack.frob.com>
60618         * sysdeps/posix/timespec_get.c: New file.
60620 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60622         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
60623         POWER.
60624         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
60625         for POWER.
60626         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
60627         powerpc/power5/fpu folders.
60628         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
60629         * benchtests/Makefile: Add modf testcase.
60630         * benchtests/bench-modf.c: New file: Benchmark test for mo
60632 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60634         [BZ #14888]
60635         * time/Makefile (tests): Add tst-strptime-whitespace.
60636         * time/strptime_l.c (get_number): Use ISSPACE.
60637         (__strptime_internal): Likewise.
60638         * time/tst-strptime-whitespace.c: New test case.
60640 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
60642         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
60643         member.
60644         (_nss_files_init): Set it here.
60646 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
60648         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
60649         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
60650         unsigned.
60652 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
60654         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60656 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60658         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60659         size just once.
60661 2013-04-21  David S. Miller  <davem@davemloft.net>
60663         * po/ru.po: Update Russion translation from translation project.
60665 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60667         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60668         and setfsgid.
60670 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60672         * configure.in: Remove i386 configure warning. Remove i386 case.
60673         * configure: Regenerate.
60674         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60675         Add example to error message.
60676         * sysdeps/i386/configure: Regenerate.
60678 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60680         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60681         slowtan.
60682         * benchtests/cos-inputs: New file.
60683         * benchtests/slowcos-inputs: New file.
60684         * benchtests/slowcos.c: New file.
60685         * benchtests/slowtan-inputs: New file.
60686         * benchtests/slowtan.c: New file.
60687         * benchtests/tan-inputs: New file.
60689 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60691         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60692         considered kosher.
60694 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60696         * benchtests/Makefile: Include cppflags-iterator.mk to add
60697         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60699         * Makefile.in (bench-clean): New target.
60700         * benchtests/Makefile (bench-clean): Likewise.
60702 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60704         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60706 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60708         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60710 2013-04-15  Andreas Schwab  <schwab@suse.de>
60712         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60713         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60714         * nscd/pwdcache.c (cache_addpw): Likewise.
60715         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60716         more than recsize.
60718 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60720         * benchtests/Makefile (bench): Write all output to
60721         bench-out.tmp together.
60723 2013-04-15  Andreas Schwab  <schwab@suse.de>
60725         * nscd/nscd.c (main): Don't fork again after closing files.
60727 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60729         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60731         * benchtests/Rules (bench-deps): Collect dependencies into a
60732         single variable.  Add Makefile to dependencies.
60733         ($(objpfx)bench-%.c): Depend on bench-deps.
60735 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60736             Xavier Roche  <roche+kml2@exalead.com>
60738         [BZ #15361]
60739         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60740         just that it's a file descriptor.
60741         * manual/llio.texi (Synchronizing AIO Operations): Update description
60742         for EBADF error from aio_fsync.
60744 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60746         * Rules (bench): Move target definition...
60747         * benchtests/Makefile: ... here.
60749 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60751         * math/libm-test.inc (cos_test): Fix PI/2 test.
60752         (sincos_test): Likewise.
60753         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60754         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60756 2013-04-11  Andreas Schwab  <schwab@suse.de>
60758         [BZ #13988]
60759         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60760         accept exponent character only when digits were seen.
60761         * stdio-common/Makefile (tests): Add bug26.
60762         * stdio-common/bug26.c: New file.
60764         [BZ #14293]
60765         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60766         non-freeable.
60768 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60770         * Makeconfig (rtld-prefix): Define built linker prefix.
60771         * Rules (run-bench): Use it.
60772         * math/Makefile (run-regen-ulps): Likewise.
60774         * Rules (bench): Remove eval.
60776 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60777             Roland McGrath  <roland@hack.frob.com>
60778             Ondrej Bilka  <neleai@seznam.cz>
60780         [BZ #15346]
60781         * time/getdate.c: Include ctype.h and alloca.h.
60782         (__getdate_r): Trim leading and trailing spaces of input.
60783         * time/tst-getdate.c (tests): Add tests with leading and
60784         trailing spaces.
60786 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60788         [BZ #14280]
60789         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60790         when computing value.
60792 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60794         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60795         Use testrun.sh to run libm tests.
60797         [BZ #15309]
60798         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60800 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60802         [BZ #15264]
60803         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60805 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60807         * Makefile.in (regen-ulps): New target.
60808         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60809         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60810         [ifneq (no,$(PERL)] (regen-ulps): New target.
60811         [ifeq (no,$(PERL)] (regen-ulps): New target.
60812         * math/libm-test.inc (ulps_file_name): Define.
60813         (output_dir): New variable.
60814         (options): Add "output-dir" option.
60815         (parse_opt): Handle 'o' case.
60816         (main): If output_dir is non-NULL use it as a prefix
60817         otherwise use "".
60818         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60820 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60822         [BZ #10060, #10062]
60823         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60824         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60825         fail configure if __sync_val_compare_and_swap is not inlined.
60826         * sysdeps/i386/configure: Regenerate.
60827         * configure.in: Build for i686 when configured for i386.
60828         * configure: Regenerate.
60829         * README: Remove i386 reference.
60831 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60833         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60834         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60836 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60838         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60839         (lmsnanval): New variables.
60840         (F): Add conversion tests.
60841         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60842         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60844         * stdio-common/tstdiomisc.c (F): Properly collect individual
60845         tests' results.
60847         [BZ #14686, #15336]
60848         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60849         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60850         Instead, use input NaN values or generate a qNaN by arithmetic
60851         operation.  Also fix bugs to comply with the standard.
60852         * math/libm-test.inc (remainder_test): Add more tests.
60854         [BZ #15335, #15342]
60855         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60856         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60857         input NaN values or generate a qNaN by arithmetic operation.
60859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60860         unreachable code.
60862         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60863         definitions.
60865 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60867         [BZ #14478]
60868         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60869         underflowed result.
60870         * math/s_cexpf.c (__cexpf): Likewise.
60871         * math/s_cexpl.c (__cexpl): Likewise.
60872         * math/libm-test.inc (cexp_test): Add more tests.
60874 2013-04-03  Andreas Schwab  <schwab@suse.de>
60876         [BZ #15330]
60877         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60878         order arrays from heap if bigger than alloca cutoff.
60880 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60882         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60883         (SNAN_TESTS_double): Refer to GCC PR56831.
60884         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60885         GCC PR56828.
60887 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60889         * Rules (bench): Move bench.out after the run is complete.
60891         * Rules (bench): Echo currently running benchmark.
60893         * benchtests/Makefile (bench): Add atan and slowatan.
60894         * benchtests/atan-inputs: New file.
60895         * benchtests/slowatan-inputs: New file.
60896         * benchtests/slowatan.c: New file.
60898         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60899         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60900         its value.
60902         [BZ #15305]
60903         * sysdeps/unix/sysv/linux/kernel-features.h
60904         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60905         __ASSUME_XFS_RESTRICTED_CHOWN.
60906         * sysdeps/unix/sysv/linux/pathconf.c
60907         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60908         Save and restore errno.
60910 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60912         [BZ #15327]
60913         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60914         arguments using __kernel_casinh.
60915         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60916         arguments using __kernel_casinhf.
60917         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60918         arguments using __kernel_casinhl.
60919         * math/libm-test.inc (cacosh_test): Add more tests.
60920         * sysdeps/i386/fpu/libm-test-ulps: Update.
60921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60923 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60925         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60928         * bench/Makefile (bench): Add sin and slowsin.
60929         * benchtests/sin-inputs: New file.
60930         * benchtests/slowsin-inputs: New file.
60931         * benchtests/slowsin.c: New file.
60933         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60934         (bench): Add slowexp and slowpow.
60935         (exp-ITER): Increase iterations.
60936         (pow-ITER): Likewise.
60937         * benchtests/exp-inputs: Change input.
60938         * benchtests/pow-inputs: Likewise.
60939         * benchtests/slowexp-inputs: New file.
60940         * benchtests/slowexp.c: New file.
60941         * benchtests/slowpow-inputs: New file.
60942         * benchtests/slowpow.c: New file.
60944 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60946         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60947         instructions.
60948         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60949         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60950         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60951         * benchtests/Makefile: Add rint benchtest.
60952         * benchtests/rint-inputs: Input for rint benchtest.
60954 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60956         * Versions.def (libm): Add GLIBC_2.18.
60957         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60958         hidden libm prototypes.
60959         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60960         * math/Makefile (libm-calls): Add s_issignaling.
60961         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60962         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60963         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60964         declaration.
60965         * math/math.h [__USE_GNU] (issignaling): New macro.
60966         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60967         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60968         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60969         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60970         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60971         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60972         * manual/arith.texi (issignaling): New section.
60973         * manual/libm-err-tab.pl (@all_functions): Update comment.
60974         * math/gen-libm-test.pl (parse_args): Apply special handling for
60975         issignaling.
60976         * math/libm-test.inc (print_float, issignaling_test): New
60977         functions.
60978         (check_float_internal): Add issignaling checks.
60979         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60980         default definition.
60981         * sysdeps/powerpc/math-tests.h: New file.
60982         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60983         tests.
60984         * math/test-snan.c (TEST_FUNC): Likewise.
60986 2013-03-30  David S. Miller  <davem@davemloft.net>
60988         * po/de.po: Update from translation team.
60990 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60992         [BZ #10357]
60993         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60994         imaginary part less than 1.0 and real part less than 0.5
60995         specially.
60996         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60997         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60998         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60999         (cacos_test): Add more tests.
61000         (casin_test): Likewise.
61001         (casinh_test): Likewise.
61002         * sysdeps/i386/fpu/libm-test-ulps: Update.
61003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61005 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61007         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61008         ONE with its value.
61010         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61011         (__pow_mp): Replace ONE and MONE with their values.
61012         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61013         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61014         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61015         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61016         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61017         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61019         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61021         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61022         (__pow_mp): Replace ZERO and MZERO with their values.
61023         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61024         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61025         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61027         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61028         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61029         (__sqr): Likewise.
61031         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61033         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61035 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61037         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61038         Declare with __attribute__ ((weak)).
61039         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61040         Call __call_tls_dtors only if it's not NULL.
61042 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61044         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61045         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61046         magic __ehdr_start linker symbol if it's defined.
61047         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61048         them up here if it was already done.
61050         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61051         (_dl_aux_init): Use const in cast when setting it.
61052         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61053         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61054         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61056         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61057         Declare them here.
61058         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61059         * csu/libc-tls.c: Nor here.
61060         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61062         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61063         (__libc_message): Never call vsyslog.
61065 2013-03-28  Alan Modra  <amodra@gmail.com>
61067         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61068         Define as empty.
61069         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61070         Likewise.
61072 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61074         [BZ #15214]
61075         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61076         underflow.
61077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61079 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61081         [BZ #15304]
61082         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61083         Don't add gid passed as argument.
61085         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61087 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61089         [BZ #15307]
61090         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61091         imaginary part between 1.0 and 1.5 and real part less than 0.5
61092         specially.
61093         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61094         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61095         * math/libm-test.inc (cacos_test): Add more tests.
61096         (casin_test): Likewise.
61097         (casinh_test): Likewise.
61098         * sysdeps/i386/fpu/libm-test-ulps: Update.
61099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61101 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61103         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61104         constants.
61105         (norm): Likewise.
61106         (denorm): Likewise.
61107         (__dbl_mp): Likewise.
61108         (add_magnitudes): Likewise.
61109         (sub_magnitudes): Likewise.
61110         (__add): Likewise.
61111         (__sub): Likewise.
61112         (__mul): Likewise.
61113         (__sqr): Likewise.
61114         (__inv): Likewise.
61115         (__dvd): Likewise.
61117         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61118         commented code.
61119         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61120         (__dubcos): Likewise.
61121         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61122         (__ieee754_acos): Likewise.
61123         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61124         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61125         (__exp1): Likewise.
61126         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61128         (log1): Likewise.
61129         (my_log2): Likewise.
61130         (checkint): Likewise.
61131         * sysdeps/ieee754/dbl-64/e_remainder.c
61132         (__ieee754_remainder): Likewise.
61133         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61135         (bsloww): Likewise.
61136         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61138         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61139         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61140         MANTISSA_STORE_T to store computations on mantissa.  Use
61141         macros for rounding and division.
61142         (denorm): Likewise.
61143         (__dbl_mp): Likewise.
61144         (add_magnitudes): Likewise.
61145         (sub_magnitudes): Likewise.
61146         (__mul): Likewise.
61147         (__sqr): Likewise.
61148         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61149         powers of two in terms of TWOPOW macro.
61150         (mp_no): Make type of mantissa as MANTISSA_T.
61151         [!RADIXI]: Define RADIXI.
61152         [!TWO52]: Define TWO52.
61153         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61155 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61157         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61158         llroundl symbol when building for PPC32.
61160 2013-03-24  Mark H Weaver  <mhw@netris.org>
61162         * manual/arith.texi (Normalization Functions): Fix prototypes for
61163         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61165 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61167         [BZ #13889]
61168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61169         high value to check if expl overflow.
61170         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61171         to check for underflow and overflow.
61172         * math/libm-test.inc: Add exp test.
61174 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61176         [BZ #11120]
61177         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61178         with NOT_IN_libc.
61180 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61182         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61183         symbol.
61185 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61187         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61188         wrap blocks consisting of several statements.
61190         * sysdeps/generic/math-tests.h: New file.
61191         * sysdeps/i386/fpu/math-tests.h: Likewise.
61192         * math/test-snan.c: Include it.
61193         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61195 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61197         [BZ #15285]
61198         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61199         (__ieee754_j0l): Do not improve calculations using cos of twice
61200         input for inputs above LDBL_MAX / 2.0L.
61201         (__ieee754_y0l): Likewise.
61202         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61203         (__ieee754_j1l): Do not improve calculations using cos of twice
61204         input for inputs above LDBL_MAX / 2.0L.
61205         (__ieee754_y1l): Likewise.
61206         * math/libm-test.inc (j0_test): Add another test.
61207         (j1_test): Likewise.
61208         (y0_test): Likewise.
61209         (y1_test): Likewise.
61210         * sysdeps/i386/fpu/libm-test-ulps: Update.
61212 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61214         * Rules ($(objpfx)bench-%.c): Include code from a C source
61215         file.
61217 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61219         [BZ #15287]
61220         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61221         imaginary part 1.0 and real part less than 0.5 specially.
61222         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61223         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61224         * math/libm-test.inc (cacos_test): Add more tests.
61225         (casin_test): Likewise.
61226         (casinh_test): Likewise.
61227         * sysdeps/i386/fpu/libm-test-ulps: Update.
61228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61230 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61232         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61233         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61235 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61237         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61238         * config.make.in (config-cflags-sse4): Remove variable.
61239         (config-cflags-avx): Likewise.
61240         (config-cflags-sse2avx): Likewise.
61241         (config-cflags-novzeroupper): Likewise.
61242         (config-asflags-i686): Likewise.
61243         (have-mfma4): Likewise.
61244         (have-as-vis3): Likewise.
61245         (MIG): Likewise.
61246         * configure.in (MIG): Do not AC_SUBST.
61247         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61248         (libc_cv_cc_sse4): Do not AC_SUBST.
61249         (libc_cv_cc_avx): Likewise.
61250         (libc_cv_cc_sse2avx): Likewise.
61251         (libc_cv_cc_novzeroupper): Likewise.
61252         (libc_cv_cc_fma4): Likewise.
61253         (libc_cv_as_i686): Likewise.
61254         (libc_cv_sparc_as_vis3): Likewise.
61255         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61256         LIBC_CONFIG_VAR.
61257         (config-asflags-i686): Likewise.
61258         (config-cflags-avx): Likewise.
61259         (config-cflags-sse2avx): Likewise.
61260         (have-mfma4): Likewise.
61261         (config-cflags-novzeroupper): Likewise.
61262         * sysdeps/mach/configure.in (MIG): Likewise.
61263         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61264         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61265         LIBC_CONFIG_VAR.
61266         (config-cflags-avx): Likewise.
61267         (config-cflags-sse2avx): Likewise.
61268         (have-mfma4): Likewise.
61269         (config-cflags-novzeroupper): Likewise.
61270         * configure: Regenerated.
61271         * sysdeps/i386/configure: Likewise.
61272         * sysdeps/mach/configure: Likewise.
61273         * sysdeps/sparc/configure: Likewise.
61274         * sysdeps/x86_64/configure: Likewise.
61276 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61278         [BZ #14812]
61279         * locale/programs/localedef.c (options): Put N_ translation marker
61280         on argument names, not just descriptions.
61282 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61284         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61286 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61288         [BZ #14176]
61289         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61291 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61293         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61294         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61295         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61296         [!BEFORE_ABORT] (before_abort): New function.
61297         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61298         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61299         (writev_for_fatal): New function.
61300         (WRITEV_FOR_FATAL): New macro; call that.
61301         (backtrace_and_maps): New function.
61302         (BEFORE_ABORT): New macro; call that.
61303         (struct str_list): Type removed.
61304         (__libc_message, __libc_fatal): Functions removed.
61305         Include <sysdeps/posix/libc_fatal.c> instead.
61307 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61309         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61310         constants.
61311         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61312         double constants.
61314 2013-03-19  Andreas Schwab  <schwab@suse.de>
61316         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61317         * sysdeps/gnu/configure: Regenerate.
61319         * configure.in: Substitute libc_cv_rtlddir.
61320         * configure: Regenerate.
61321         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61322         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61323         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61324         * elf/Makefile (install-others, CFLAGS-interp.c)
61325         (ldso_install, common-ldd-rewrite): Likewise.
61326         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61327         $(inst_slibdir)/$(rtld-installed-name).
61328         * scripts/rellns-sh: Add -p option.
61329         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61330         for source.
61332 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61334         * manual/nptl.texi: Renamed to ...
61335         * manual/threads.texi: ... this.
61336         * manual/Makefile (chapters): Update.
61338 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61340         [BZ #14812]
61341         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61342         on argument names, not just descriptions.
61343         * malloc/memusagestat.c (options): Likewise.
61344         * nss/getent.c (options): Likewise.
61346 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61348         [BZ #14812]
61349         * iconv/iconv_prog.c (options): Put N_ translation marker
61350         on argument names, not just descriptions.
61351         * iconv/iconvconfig.c (options): Likewise.
61353 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61355         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61356         implementation which is faster on all x86_64 architectures.
61357         Tested on AMD, Intel Nehalem, SNB, IVB.
61358         * sysdeps/x86_64/strnlen.S: Likewise.
61360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61361         Remove all multiarch strlen and strnlen versions.
61362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61363         Remove strlen and strnlen related parts.
61365         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61366         Inline strlen part.
61367         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61369         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61370         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61371         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61372         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61373         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61374         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61376 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61378         * manual/memory.texi (Malloc Tunable Parameters):
61379         Sort parameters alphabetically. Add comments for missing entries.
61381 2013-03-17  David S. Miller  <davem@davemloft.net>
61383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61385 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61387         [BZ #15283]
61388         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61389         for arguments at most half maximum finite value.
61390         * math/libm-test.inc (j0_test): Add more tests.
61391         (j1_test): Likewise.
61392         (y0_test): Likewise.
61393         (y1_test): Likewise.
61394         * sysdeps/i386/fpu/libm-test-ulps: Update.
61395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61397         [BZ #14155]
61398         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61399         1 / x and functions P and Q for arguments above 0x1p256L.
61400         (__ieee754_y0l): Likewise.
61401         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61402         (__ieee754_y1l): Likewise.
61403         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61404         (j1_test): Likewise.
61405         (y0_test): Likewise.
61406         (y1_test): Likewise.
61408 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61410         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61411         variable.
61413 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61415         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61416         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61417         zero since it's initialized to EXEC_PAGESIZE.
61419         * sysdeps/unix/sysv/linux/ldsodefs.h
61420         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61421         * sysdeps/generic/ldsodefs.h: ... here.
61423 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61425         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61427         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61428         math/test-snan.c.
61429         * math/test-snan.c: Renamed from
61430         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61431         * math/Makefile (tests): Add test-snan.
61432         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61433         test-powerpc-snan.
61435         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61436         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61437         functions.
61438         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61439         __builtin_nan family of functions.
61440         * math/libm-test.inc (initialize): Initialize qnan_value with
61441         __builtin_nan family of functions.
61442         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61443         Remove variables.
61444         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61445         Remove functions.
61446         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61447         storage class.  Initialize qNaN_var and sNaN_var with
61448         __builtin_nan and __builtin_nans families of functions,
61449         respectively.
61451         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61452         (sqrt_test): Remove duplicate test with qNaN input.
61453         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61454         (round_test, signbit_test, significand_test): Note missing +/-Inf
61455         as well as qNaN tests.
61457         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61458         qNaN_var.  Fix a few strings, too.
61459         * math/libm-test.inc (nan_value): Rename to qnan_value.
61460         * math/gen-libm-test.pl (%beautify): Adjust to that.
61461         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61462         * math/test-misc.c (main): Likewise.
61463         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61464         to __qnan_bytes, and __qnan_union, respectively.
61465         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61466         Likewise.
61467         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61468         and lqnanval, respectively.
61469         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61470         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61471         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61472         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61474         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61475         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61476         doubles.
61478         * math/test-misc.c (main): Fix copy'n'pastos.
61479         * misc/tst-efgcvt.c (special): Likewise.
61481         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61482         Remove declarations.
61484 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61486         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61487         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
61488         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
61489         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
61491 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61493         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
61494         macro to return vdso values correctly in IFUNC implementations.
61495         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
61496         Optimization by using IFUNC.
61498 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61499             Richard Henderson  <rth@redhat.com>
61500             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61502         * Makefile.in (bench): New target.
61503         * NEWS: Mention the benchmark framework.
61504         * Rules (bench): Likewise.
61505         (binaries-bench): Generate binaries for functions to
61506         benchmark.
61507         * benchtests/Makefile: New makefile for benchmark tests.
61508         * benchtests/bench-skeleton.c: New skeleton file for benchmark
61509         programs.
61510         * benchtests/exp-inputs: New input file for EXP function.
61511         * benchtests/pow-inputs: New input file for POW function.
61512         * scripts/bench.pl: New script to generate source files for
61513         benchmark programs.
61515 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61517         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61518         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
61519         computations on mantissa.  Use macros for rounding and
61520         division.
61521         (denorm): Likewise.
61522         (__dbl_mp): Likewise.
61523         (add_magnitudes): Likewise.
61524         (sub_magnitudes): Likewise.
61525         (__mul): Likewise.
61526         (__sqr): Likewise.
61527         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61528         powers of two in terms of TWOPOW macro.
61529         (mp_no): Make type of mantissa as MANTISSA_T.
61530         [!RADIXI]: Define RADIXI.
61531         [!TWO52]: Define TWO52.
61532         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61534         * manual/nptl.texi (cindex): Modify threads to pthreads.
61536 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
61538         * sysdeps/x86_64/preconfigure: Regenerated.
61540 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
61542         [BZ #14155]
61543         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
61544         0x1p28 and above.
61545         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
61546         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
61547         0x1p28 and above.
61548         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
61549         * math/libm-test.inc (j0_test): Do not allow one spurious
61550         underflow exception.
61551         (y1_test): Likewise.
61553 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61555         * manual/Makefile (chapters): Add nptl.
61556         * manual/debug.texi (Debugging Support): Add link to Threads
61557         chapter.
61558         * manual/nptl.texi: New file.
61560         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
61562 2013-03-14  Petr Baudis  <pasky@ucw.cz>
61564         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
61565         for non-NULL pointer before the memory validity test. Pointed
61566         out by Holger Brunck <holger.brunck@keymile.com>.
61568 2013-03-13  Andreas Schwab  <schwab@suse.de>
61570         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
61571         instead of .os.
61573 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
61575         * timezone/zic.c: Update from tzcode 2013b.
61577 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
61579         * manual/install.texi (Configuring and compiling):
61580         Mention i686 and i586.
61581         * INSTALL: Regenerate.
61583 2013-03-12  Roland McGrath  <roland@hack.frob.com>
61585         * sysdeps/init_array/elf-init.c: New file.
61586         * csu/elf-init.c
61587         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
61588         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
61590         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
61591         __gmon_start__ as global, but as static with a .preinit_array pointer.
61592         * sysdeps/init_array/gmon-start.c: New file.  Use that.
61593         * sysdeps/init_array/crti.S: New file, empty except for comments.
61594         * sysdeps/init_array/crtn.S: Likewise.
61596 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
61598         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
61599         definining bcopy.
61600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61601         Remove Prefer_SSE_for_memop.
61602         * sysdeps/x86_64/multiarch/init-arch.h: Remove
61603         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
61604         HAS_PREFER_SSE_FOR_MEMOP.
61605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
61606         memset-x86-64.
61607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61608         Remove bzero, memset ifunc support.
61609         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
61610         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
61611         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61612         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61614 2013-03-11  Andreas Schwab  <schwab@suse.de>
61616         [BZ #15234]
61617         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
61618         by SHLIB_COMPAT.
61619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
61620         (GLIBC_2.16): Remove pthread_atfork.
61622 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
61624         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
61625         (ptestcases.h): Likewise.
61627 2013-03-08  Roland McGrath  <roland@hack.frob.com>
61629         * Makeconfig ($(common-objpfx)config.status): Depend on
61630         sysdeps/*/preconfigure{,.in} too.
61632 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
61634         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
61635         (__free_hook): Use void * instead of __malloc_ptr_t.
61636         (__malloc_hook): Likewise.
61637         (__realloc_hook): Likewise.
61638         (__memalign_hook): Likewise.
61639         (__after_morecore_hook): Likewise.
61640         * malloc/arena.c (save_malloc_hook): Likewise.
61641         (save_free_hook): Likewise.
61642         * malloc/hooks.c (malloc_hook_ini): Likewise.
61643         (realloc_hook_ini): Likewise.
61644         (memalign_hook_ini): Likewise.
61645         * malloc/malloc.c (malloc_hook_ini): Likewise.
61646         (realloc_hook_ini): Likewise.
61647         (memalign_hook_ini): Likewise.
61648         (__free_hook): Likewise.
61649         (__malloc_hook): Likewise.
61650         (__realloc_hook): Likewise.
61651         (__memalign_hook): Likewise.
61652         (__libc_malloc): Likewise.
61653         (__libc_free): Likewise.
61654         (__libc_realloc): Likewise.
61655         (__libc_memalign): Likewise.
61656         (__libc_valloc): Likewise.
61657         (__libc_pvalloc): Likewise.
61658         (__libc_calloc): Likewise.
61659         (__posix_memalign): Likewise.
61660         * malloc/morecore.c (__sbrk): Likewise.
61661         (__default_morecore): Likewise.
61663         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61665         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61666         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61667         __malloc_ptrdiff_t.
61669         * malloc/malloc.h (__malloc_size_t): Remove macro.
61670         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61671         __malloc_size_t.
61672         (old_memalign_hook): Likewise.
61673         (old_realloc_hook): Likewise.
61674         (struct hdr): Likewise.
61675         (flood): Likewise.
61676         (mallochook): Likewise.
61677         (memalignhook): Likewise.
61678         (reallochook): Likewise.
61679         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61680         (tr_old_realloc_hook): Likewise.
61681         (tr_old_memalign_hook): Likewise.
61682         (tr_mallochook): Likewise.
61683         (tr_reallochook): Likewise.
61684         (tr_memalignhook): Likewise.
61686 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61689         default_ldbl_pack and using as default implementation.
61690         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61691         implementation.
61692         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61693         redundant definition.
61694         (ldbl_insert_mantissa): Likewise.
61695         (ldbl_canonicalize): Likewise.
61696         (ldbl_nearbyint): Likewise.
61697         (ldbl_pack): Rename to ldbl_pack_ppc.
61698         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61699         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61700         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61702 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61705         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61706         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61707         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61709         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61710         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61711         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61713 2013-03-07  Andreas Jaeger  <aj@suse.de>
61715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61716         bits/mman-linux.h.
61718 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61720         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61721         Include mpa.h and declare __MPEXP.
61722         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61723         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61724         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61725         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61726         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61727         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61728         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61730         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61731         (__slowpow): Use long double EXPL and LOGL functions to
61732         compute POW.
61733         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61734         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61735         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61736         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61737         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61738         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61741         intermediate variable to calculate exponent.
61742         (__sqr): Likewise.
61743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61744         Likewise.
61745         (__sqr): Likewise.
61747         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61748         [!NO__SQR]: Define __sqr.
61749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61750         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61751         sysdeps/ieee754/dbl-64/mpa.c.
61752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61754         [BZ #12723]
61755         * posix/Makefile (tests): Add tst-pathconf.
61756         * posix/tst-pathconf.c: New test case.
61757         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61758         _PC_PIPE_BUF.
61759         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61761 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61763         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61765 2013-03-06  Andreas Jaeger  <aj@suse.de>
61767         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61768         definition via __MAP_ANONYMOUS.
61770         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61771         it's not part of Linux headers.
61773         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61774         (MAP_HUGE_MASK): Define.
61776         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61777         Define.
61778         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61780         Define.
61781         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61782         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61783         Define.
61784         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61785         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61786         Define.
61787         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61789         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61790         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61791         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61792         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61793         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61794         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61797         Handle f2fs.
61799         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61800         Handle f2fs and efivarfs.
61802         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61803         f2fs.
61805         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61806         (EFIVARFS_MAGIC): Add.
61807         (F2FS_LINK_MAX): Add.
61809 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61811         * stdio-common/vfprintf.c: Replace __builtin_expect with
61812         __glibc_unlikely.
61814 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61816         [BZ #13550]
61817         * sysdeps/generic/bp-sym.h: Remove file.
61818         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61819         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61820         <bp-sym.h> and <bp-asm.h>.
61821         (__longjmp): Don't use BP_SYM.
61822         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61823         and <bp-asm.h>.
61824         (memcpy): Don't use BP_SYM.
61825         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61826         <bp-sym.h> and <bp-asm.h>.
61827         (memcpy): Don't use BP_SYM.
61828         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61829         <bp-asm.h>.
61830         (memcpy): Don't use BP_SYM.
61831         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61832         <bp-asm.h>.
61833         (memset): Don't use BP_SYM.
61834         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61835         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61836         (__bzero): Don't use BP_SYM.
61837         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61838         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61839         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61840         <bp-sym.h> and <bp-asm.h>.
61841         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61842         pointers.
61843         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61844         <bp-sym.h> and <bp-asm.h>.
61845         (memcpy): Don't use BP_SYM.
61846         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61847         <bp-sym.h> and <bp-asm.h>.
61848         (memset): Don't use BP_SYM.
61849         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61850         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61851         (__bzero): Don't use BP_SYM.
61852         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61853         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61854         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61855         <bp-sym.h> and <bp-asm.h>.
61856         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61857         pointers.
61858         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61859         <bp-sym.h> and <bp-asm.h>.
61860         (memcpy): Don't use BP_SYM.
61861         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61862         <bp-sym.h> and <bp-asm.h>.
61863         (memset): Don't use BP_SYM.
61864         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61865         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61866         (__bzero): Don't use BP_SYM.
61867         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61868         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61869         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61870         <bp-sym.h> and <bp-asm.h>.
61871         (__memchr): Don't use BP_SYM.
61872         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61873         <bp-sym.h> and <bp-asm.h>.
61874         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61875         pointers.
61876         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61877         <bp-sym.h> and <bp-asm.h>.
61878         (memcpy): Don't use BP_SYM.
61879         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61880         <bp-sym.h> and <bp-asm.h>.
61881         (__mempcpy): Don't use BP_SYM.
61882         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61883         <bp-sym.h> and <bp-asm.h>.
61884         (__memrchr): Don't use BP_SYM.
61885         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61886         <bp-sym.h> and <bp-asm.h>.
61887         (memset): Don't use BP_SYM.
61888         (__bzero): Likewise.
61889         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61890         <bp-sym.h> and <bp-asm.h>.
61891         (__rawmemchr): Don't use BP_SYM.
61892         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61893         <bp-sym.h> and <bp-asm.h>.
61894         (__STRCMP): Don't use BP_SYM.
61895         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61896         <bp-sym.h> and <bp-asm.h>.
61897         (strchr): Don't use BP_SYM.
61898         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61899         <bp-sym.h> and <bp-asm.h>.
61900         (__strchrnul): Don't use BP_SYM.
61901         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61902         <bp-sym.h> and <bp-asm.h>.
61903         (strlen): Don't use BP_SYM.
61904         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61905         <bp-sym.h> and <bp-asm.h>.
61906         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61907         pointers.
61908         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61909         <bp-sym.h> and <bp-asm.h>.
61910         (__strnlen): Don't use BP_SYM.
61911         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61912         <bp-sym.h> and <bp-asm.h>.
61913         (__GI__setjmp): Don't use BP_SYM.
61914         (_setjmp): Likewise.
61915         (__sigsetjmp): Likewise.
61916         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61917         (L(start_addresses)): Don't use BP_SYM.
61918         (_start): Likewise.
61919         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61920         <bp-asm.h>.
61921         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61922         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61923         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61924         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61925         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61926         <bp-asm.h>.
61927         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61928         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61929         about bounded pointers.
61930         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61931         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61932         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61933         <bp-asm.h>.
61934         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61935         about bounded pointers.  Remove GKM FIXME comments.
61936         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61937         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61938         <bp-asm.h>.
61939         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61940         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61941         Remove GKM FIXME comments.
61942         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61943         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61944         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61945         <bp-asm.h>.
61946         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61947         about bounded pointers.  Remove GKM FIXME comment.
61948         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61949         and <bp-asm.h>.
61950         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61951         pointers.
61952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61953         <bp-sym.h> and <bp-asm.h>.
61954         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61956         <bp-sym.h> and <bp-asm.h>.
61957         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61958         comment.
61960 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61962         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61963         call free(NULL).
61965 2013-03-05  David S. Miller  <davem@davemloft.net>
61967         * po/es.po: Update from translation team.
61969 2013-03-05  Andreas Jaeger  <aj@suse.de>
61971         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61972         <bits/mman-linux.h>.
61973         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61974         is fine.
61975         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61976         <bits/mman-linux.h> to end of file.
61977         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61978         is fine.
61979         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61980         <bits/mman-linux.h> to end of file.
61981         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61982         is fine.
61983         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61984         <bits/mman-linux.h> to end of file.
61986         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61987         (MCL_CURRENT, MCL_FUTURE): Define here.
61989 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61991         [BZ #15232]
61992         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61993         attribute_hidden.
61994         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61996 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61998         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61999         fourth parameter needed for rt_sigprocmask syscall.
62000         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62001         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62002         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62003         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62004         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62005         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62007 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62009         [BZ #13550]
62010         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62011         comment about bounded pointers.
62012         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62013         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62015 2013-03-04  Andreas Jaeger  <aj@suse.de>
62017         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62018         common definitions.
62020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62021         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62022         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62023         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62024         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62025         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62027 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62029         [BZ #15055]
62030         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62031         __ieee754_sqrl instead of __sqrl.
62033 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62035         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62036         * sysdeps/powerpc/fpu_control.h: ... here.
62037         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62038         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62039         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62040         * sysdeps/powerpc/bits/mathinline.h: ... here.
62042 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62044         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62045         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62046         to just [NEED_DL_SYSINFO_DSO].
62047         * elf/dl-support.c: Likewise.
62048         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62049         * elf/rtld.c (dl_main): Likewise.
62050         * elf/setup-vdso.h (setup_vdso): Likewise.
62051         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62052         * sysdeps/unix/sysv/linux/dl-sysdep.c
62053         (_dl_discover_osversion): Likewise.
62055 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62057         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62058         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62060 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62062         * NEWS: Mention libm performance improvements and non-x86 PI
62063         futex support.
62065         * csu/libc-start.c (__pthread_initialize_minimal): Change
62066         function arguments.
62067         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62069 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62071         [BZ #13550]
62072         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62073         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62074         <bp-sym.h> and <bp-asm.h>.
62075         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62076         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62077         and <bp-asm.h>.
62078         (memcpy): Don't use BP_SYM.
62079         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62080         <bp-asm.h>.
62081         (__mpn_add_n): Don't use BP_SYM.
62082         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62083         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62084         and <bp-asm.h>.
62085         (__mpn_addmul_1): Don't use BP_SYM.
62086         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62087         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62088         <bp-sym.h>.
62089         (_setjmp): Don't use BP_SYM.
62090         (__novmx_setjmp): Likewise.
62091         (__GI__setjmp): Likewise.
62092         (__vmx_setjmp): Likewise.
62093         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62094         <bp-sym.h>.
62095         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62096         (__bzero): Don't use BP_SYM.
62097         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62098         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62099         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62100         <bp-sym.h> and <bp-asm.h>.
62101         (memcpy): Don't use BP_SYM.
62102         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62103         <bp-sym.h> and <bp-asm.h>.
62104         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62105         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62106         <bp-sym.h> and <bp-asm.h>.
62107         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62108         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62109         <bp-asm.h>.
62110         (__mpn_lshift): Don't use BP_SYM.
62111         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62112         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62113         <bp-asm.h>.
62114         (memset): Don't use BP_SYM.
62115         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62116         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62117         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62118         <bp-asm.h>.
62119         (__mpn_mul_1): Don't use BP_SYM.
62120         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62121         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62122         <bp-sym.h> and <bp-asm.h>.
62123         (memcmp): Don't use BP_SYM.
62124         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62125         <bp-sym.h> and <bp-asm.h>.
62126         (memcpy): Don't use BP_SYM.
62127         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62128         <bp-sym.h> and <bp-asm.h>.
62129         (memset): Don't use BP_SYM.
62130         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62131         <bp-sym.h> and <bp-asm.h>.
62132         (strncmp): Don't use BP_SYM.
62133         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62134         <bp-sym.h> and <bp-asm.h>.
62135         (memcpy): Don't use BP_SYM.
62136         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62137         <bp-sym.h> and <bp-asm.h>.
62138         (memset): Don't use BP_SYM.
62139         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62140         <bp-sym.h> and <bp-asm.h>.
62141         (__memchr): Don't use BP_SYM.
62142         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62143         <bp-sym.h> and <bp-asm.h>.
62144         (memcmp): Don't use BP_SYM.
62145         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62146         <bp-sym.h> and <bp-asm.h>.
62147         (memcpy): Don't use BP_SYM.
62148         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62149         <bp-sym.h> and <bp-asm.h>.
62150         (__mempcpy): Don't use BP_SYM.
62151         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62152         <bp-sym.h> and <bp-asm.h>.
62153         (__memrchr): Don't use BP_SYM.
62154         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62155         <bp-sym.h> and <bp-asm.h>.
62156         (memset): Don't use BP_SYM.
62157         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62158         <bp-sym.h> and <bp-asm.h>.
62159         (__rawmemchr): Don't use BP_SYM.
62160         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62161         <bp-sym.h> and <bp-asm.h>.
62162         (__STRCMP): Don't use BP_SYM.
62163         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62164         <bp-sym.h> and <bp-asm.h>.
62165         (strchr): Don't use BP_SYM.
62166         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62167         <bp-sym.h> and <bp-asm.h>.
62168         (__strchrnul): Don't use BP_SYM.
62169         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62170         <bp-sym.h> and <bp-asm.h>.
62171         (strlen): Don't use BP_SYM.
62172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62173         <bp-sym.h> and <bp-asm.h>.
62174         (strncmp): Don't use BP_SYM.
62175         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62176         <bp-sym.h> and <bp-asm.h>.
62177         (__strnlen): Don't use BP_SYM.
62178         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62179         <bp-asm.h>.
62180         (__mpn_rshift): Don't use BP_SYM.
62181         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62182         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62183         <bp-sym.h> and <bp-asm.h>.
62184         (__sigsetjmp): Don't use BP_SYM.
62185         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62186         (L(start_addresses)): Don't use BP_SYM.
62187         (_start): Likewise.
62188         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62189         <bp-asm.h>.
62190         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62191         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62192         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62193         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62194         <bp-asm.h>.
62195         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62196         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62197         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62198         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62199         <bp-asm.h>.
62200         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62201         comments.
62202         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62203         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62204         <bp-asm.h>.
62205         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62206         FIXME comments.
62207         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62208         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62209         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62210         <bp-asm.h>.
62211         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62212         comment.
62213         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62214         and <bp-asm.h>.
62215         (strncmp): Don't use BP_SYM,
62216         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62217         <bp-asm.h>.
62218         (__mpn_sub_n): Don't use BP_SYM.
62219         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62220         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62221         and <bp-asm.h>.
62222         (__mpn_submul_1): Don't use BP_SYM.
62223         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62225         <bp-sym.h> and <bp-asm.h>.
62226         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62228         <bp-sym.h> and <bp-asm.h>.
62229         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62230         comment.
62232 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62235         Use ZK to minimize writes to Z.
62236         (sub_magnitudes): Simplify code a bit.
62237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62238         Use ZK to minimize writes to Z.
62239         (sub_magnitudes): Simplify code a bit.
62241 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62243         * csu/gmon-start.c: Add special exception to license text.
62245 2013-02-27  Richard Henderson  <rth@redhat.com>
62247         * scripts/config.guess: Update from config.git.
62248         * scripts/config.sub: Likewise.
62250 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62252         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62254         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62256         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62258         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62260         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62262 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62264         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62265         [$(build-shared = yes].
62267 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62269         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62270         (__mul): Reduce iterations for calculating mantissa.
62272         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62273         MPTWO.
62274         (__mpranred): Likewise.
62276         [BZ #15160]
62277         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62278         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62280 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62282         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62283         Define __attribute__.
62285 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62287         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62288         unused.
62289         * posix/regex_internal.h (__attribute): Remove.
62290         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62291         (re_string_context_at): Likewise.
62292         (bitset_not): Use __attribute__ and mark function as possibly
62293         unused.
62294         (bitset_merge): Likewise.
62295         (bitset_mask): Likewise.
62296         (re_string_char_size_at): Likewise.
62297         (re_string_wchar_at): Likewise.
62298         (re_string_elem_size_at): Likewise.
62300 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62302         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62303         code.
62304         (cc32): Likewise.
62306         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62307         (__acr): Likewise.
62308         (__cpy): Likewise.
62309         (norm): Likewise.
62310         (denorm): Likewise.
62311         (__dbl_mp): Likewise.
62312         (add_magnitudes): Likewise.
62313         (sub_magnitudes): Likewise.
62314         (__mul): Likewise.
62315         (__inv): Likewise.
62317         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62318         style.
62320         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62321         style.
62323         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62324         code.
62326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62327         up changes with default code.
62328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62329         Likewise.
62331 2013-02-24  Allan McRae  <allan@archlinux.org>
62333         * manual/socket.texi (The Internet Namespace): Order menu items
62334         to match that in the file.
62336         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62337         node listing of the info page menu.
62339 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62341         [BZ #13550]
62342         * sysdeps/i386/bp-asm.h: Remove file.
62343         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62344         (PARMS): Do not use macros from bp-asm.h.
62345         (S1): Likewise.
62346         (S2): Likewise.
62347         (SIZE): Likewise.
62348         (__mpn_add_n): Do not use BP_SYM
62349         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62350         "bp-asm.h".
62351         (PARMS): Do not use macros from bp-asm.h.
62352         (S1): Likewise.
62353         (SIZE): Likewise.
62354         (__mpn_addmul_1): Do not use BP_SYM
62355         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62356         "bp-asm.h".
62357         (PARMS): Do not use macros from bp-asm.h.
62358         (SIGMSK): Likewise.
62359         (_setjmp): Likewise.  Do not use BP_SYM.
62360         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62361         "bp-asm.h".
62362         (PARMS): Do not use macros from bp-asm.h.
62363         (SIGMSK): Likewise.
62364         (setjmp): Likewise.  Do not use BP_SYM.
62365         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62366         "bp-asm.h".
62367         (PARMS): Do not use macros from bp-asm.h.
62368         (__frexp): Do not use BP_SYM.
62369         (frexp): Likewise.
62370         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62371         "bp-asm.h".
62372         (PARMS): Do not use macros from bp-asm.h.
62373         (__frexpf): Do not use BP_SYM.
62374         (frexpf): Likewise.
62375         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62376         "bp-asm.h".
62377         (PARMS): Do not use macros from bp-asm.h.
62378         (__frexpl): Do not use BP_SYM.
62379         (frexpl): Likewise.
62380         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62381         "bp-asm.h".
62382         (PARMS): Do not use macros from bp-asm.h.
62383         (__remquo): Do not use BP_SYM.
62384         (remquo): Likewise.
62385         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62386         "bp-asm.h".
62387         (PARMS): Do not use macros from bp-asm.h.
62388         (__remquof): Do not use BP_SYM.
62389         (remquof): Likewise.
62390         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62391         "bp-asm.h".
62392         (PARMS): Do not use macros from bp-asm.h.
62393         (__remquol): Do not use BP_SYM.
62394         (remquol): Likewise.
62395         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62396         "bp-asm.h".
62397         (PARMS): Do not use macros from bp-asm.h.
62398         (DEST): Likewise.
62399         (SRC): Likewise.
62400         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62401         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62402         "bp-asm.h".
62403         (PARMS): Do not use macros from bp-asm.h.
62404         (strlen): Do not use BP_SYM.
62405         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62406         "bp-asm.h".
62407         (PARMS): Do not use macros from bp-asm.h.
62408         (S1): Likewise.
62409         (S2): Likewise.
62410         (SIZE): Likewise.
62411         (__mpn_add_n): Do not use BP_SYM.
62412         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62413         "bp-asm.h".
62414         (PARMS): Do not use macros from bp-asm.h.
62415         (S1): Likewise.
62416         (SIZE): Likewise.
62417         (__mpn_addmul_1): Do not use BP_SYM.
62418         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62419         weak_alias.
62420         (bzero): Likewise.
62421         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62422         "bp-asm.h".
62423         (PARMS): Do not use macros from bp-asm.h.
62424         (S): Likewise.
62425         (SIZE): Likewise.
62426         (__mpn_lshift): Do not use BP_SYM.
62427         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62428         "bp-asm.h".
62429         (PARMS): Do not use macros from bp-asm.h.
62430         (DEST): Likewise.
62431         (SRC): Likewise.
62432         (LEN): Likewise.
62433         (memcpy): Likewise.  Do not use BP_SYM.
62434         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62435         libc_hidden_def and weak_alias.
62436         (mempcpy): Do not use BP_SYM in weak_alias.
62437         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62438         "bp-asm.h".
62439         (PARMS): Do not use macros from bp-asm.h.
62440         (DEST): Likewise.
62441         (LEN): Likewise.
62442         [!BZERO_P] (CHR): Likewise.
62443         (memset): Likewise.  Do not use BP_SYM.
62444         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62445         "bp-asm.h".
62446         (PARMS): Do not use macros from bp-asm.h.
62447         (S1): Likewise.
62448         (SIZE): Likewise.
62449         (__mpn_mul_1): Do not use BP_SYM.
62450         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62451         "bp-asm.h".
62452         (PARMS): Do not use macros from bp-asm.h.
62453         (S): Likewise.
62454         (SIZE): Likewise.
62455         (__mpn_rshift): Do not use BP_SYM.
62456         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62457         "bp-asm.h".
62458         (PARMS): Do not use macros from bp-asm.h.
62459         (STR): Likewise.
62460         (CHR): Likewise.
62461         (strchr): Likewise.  Do not use BP_SYM.
62462         (index): Do not use BP_SYM in weak_alias.
62463         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62464         "bp-asm.h".
62465         (PARMS): Do not use macros from bp-asm.h.
62466         (DEST): Likewise.
62467         (SRC): Likewise.
62468         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62469         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62470         "bp-asm.h".
62471         (PARMS): Do not use macros from bp-asm.h.
62472         (strlen): Do not use BP_SYM.
62473         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62474         "bp-asm.h".
62475         (PARMS): Do not use macros from bp-asm.h.
62476         (S1): Likewise.
62477         (S2): Likewise.
62478         (SIZE): Likewise.
62479         (__mpn_sub_n): Do not use BP_SYM.
62480         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62481         "bp-asm.h".
62482         (PARMS): Do not use macros from bp-asm.h.
62483         (S1): Likewise.
62484         (SIZE): Likewise.
62485         (__mpn_submul_1): Do not use BP_SYM.
62486         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62487         "bp-asm.h".
62488         (PARMS): Do not use macros from bp-asm.h.
62489         (S1): Likewise.
62490         (S2): Likewise.
62491         (SIZE): Likewise.
62492         (__mpn_add_n): Do not use BP_SYM.
62493         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
62494         weak_alias.
62495         (bzero): Likewise.
62496         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
62497         "bp-asm.h".
62498         (PARMS): Do not use macros from bp-asm.h.
62499         (BLK2): Likewise.
62500         (LEN): Likewise.
62501         (memcmp): Do not use BP_SYM.
62502         (bcmp): Do not use BP_SYM in weak_alias.
62503         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
62504         "bp-asm.h".
62505         (PARMS): Do not use macros from bp-asm.h.
62506         (DEST): Likewise.
62507         (SRC): Likewise.
62508         (LEN): Likewise.
62509         (memcpy): Likewise.  Do not use BP_SYM.
62510         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
62511         "bp-asm.h".
62512         (PARMS): Do not use macros from bp-asm.h.
62513         (DEST): Likewise.
62514         (SRC): Likewise.
62515         (LEN): Likewise.
62516         (memmove): Likewise.  Do not use BP_SYM.
62517         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
62518         "bp-asm.h".
62519         (PARMS): Do not use macros from bp-asm.h.
62520         (DEST): Likewise.
62521         (SRC): Likewise.
62522         (LEN): Likewise.
62523         (__mempcpy): Likewise.  Do not use BP_SYM.
62524         (mempcpy): Do not use BP_SYM in weak_alias.
62525         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
62526         "bp-asm.h".
62527         (PARMS): Do not use macros from bp-asm.h.
62528         (DEST): Likewise.
62529         (LEN): Likewise.
62530         [!BZERO_P] (CHR): Likewise.
62531         (memset): Likewise.  Do not use BP_SYM.
62532         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
62533         "bp-asm.h".
62534         (PARMS): Do not use macros from bp-asm.h.
62535         (STR2): Likewise.
62536         (strcmp): Do not use BP_SYM.
62537         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
62538         "bp-asm.h".
62539         (PARMS): Do not use macros from bp-asm.h.
62540         (STR): Likewise.
62541         (DELIM): Likewise.
62542         [USE_AS_STRTOK_R] (SAVE): Likewise.
62543         (FUNCTION): Likewise.  Do not use BP_SYM.
62544         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
62545         aliases.
62546         (strtok_r): Likewise.
62547         (__GI___strtok_r): Likewise.
62548         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62549         (PARMS): Do not use macros from bp-asm.h.
62550         (S): Likewise.
62551         (SIZE): Likewise.
62552         (__mpn_lshift): Do not use BP_SYM.
62553         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62554         (PARMS): Do not use macros from bp-asm.h.
62555         (STR): Likewise.
62556         (CHR): Likewise.
62557         (__memchr): Do not use BP_SYM.
62558         (memchr): Do not use BP_SYM in weak_alias.
62559         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62560         (PARMS): Do not use macros from bp-asm.h.
62561         (BLK2): Likewise.
62562         (LEN): Likewise.
62563         (memcmp): Do not use BP_SYM.
62564         (bcmp): Do not use BP_SYM in weak_alias.
62565         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
62566         (PARMS): Do not use macros from bp-asm.h.
62567         (S1): Likewise.
62568         (SIZE): Likewise.
62569         (__mpn_mul_1): Do not use BP_SYM.
62570         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
62571         "bp-asm.h".
62572         (PARMS): Do not use macros from bp-asm.h.
62573         (STR): Likewise.
62574         (CHR): Likewise.
62575         (__rawmemchr): Do not use BP_SYM.
62576         (rawmemchr): Do not use BP_SYM in weak_alias.
62577         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62578         (PARMS): Do not use macros from bp-asm.h.
62579         (S): Likewise.
62580         (SIZE): Likewise.
62581         (__mpn_rshift): Do not use BP_SYM.
62582         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62583         (PARMS): Do not use macros from bp-asm.h.
62584         (SIGMSK): Likewise.
62585         (__sigsetjmp): Likewise.  Do not use BP_SYM.
62586         * sysdeps/i386/start.S: Do not include "bp-sym.h".
62587         (_start): Do not use BP_SYM.
62588         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
62589         (PARMS): Do not use macros from bp-asm.h.
62590         (DEST): Likewise.
62591         (SRC): Likewise.
62592         (__stpcpy): Likewise.  Do not use BP_SYM.
62593         (stpcpy): Do not use BP_SYM in weak_alias.
62594         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
62595         "bp-asm.h".
62596         (PARMS): Do not use macros from bp-asm.h.
62597         (DEST): Likewise.
62598         (SRC): Likewise.
62599         (LEN): Likewise.
62600         (__stpncpy): Likewise.  Do not use BP_SYM.
62601         (stpncpy): Do not use BP_SYM in weak_alias.
62602         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62603         (PARMS): Do not use macros from bp-asm.h.
62604         (STR): Likewise.
62605         (CHR): Likewise.
62606         (strchr): Likewise.  Do not use BP_SYM.
62607         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
62608         "bp-asm.h".
62609         (PARMS): Do not use macros from bp-asm.h.
62610         (STR): Likewise.
62611         (CHR): Likewise.
62612         (__strchrnul): Likewise.  Do not use BP_SYM.
62613         (strchrnul): Do not use BP_SYM in weak_alias.
62614         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
62615         "bp-asm.h".
62616         (PARMS): Do not use macros from bp-asm.h.
62617         (STOP): Likewise.
62618         (strcspn): Do not use BP_SYM.
62619         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
62620         "bp-asm.h".
62621         (PARMS): Do not use macros from bp-asm.h.
62622         (STR): Likewise.
62623         (STOP): Likewise.
62624         (strpbrk): Likewise.  Do not use BP_SYM.
62625         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
62626         "bp-asm.h".
62627         (PARMS): Do not use macros from bp-asm.h.
62628         (STR): Likewise.
62629         (CHR): Likewise.
62630         (strrchr): Likewise.  Do not use BP_SYM.
62631         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
62632         (PARMS): Do not use macros from bp-asm.h.
62633         (SKIP): Likewise.
62634         (strspn): Do not use BP_SYM.
62635         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
62636         (PARMS): Do not use macros from bp-asm.h.
62637         (STR): Likewise.
62638         (DELIM): Likewise.
62639         (SAVE): Likewise.
62640         (FUNCTION): Likewise.  Do not use BP_SYM.
62641         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
62642         aliases.
62643         (strtok_r): Likewise.
62644         (__GI___strtok_r): Likewise.
62645         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62646         (PARMS): Do not use macros from bp-asm.h.
62647         (S1): Likewise.
62648         (S2): Likewise.
62649         (SIZE): Likewise.
62650         (__mpn_sub_n): Do not use BP_SYM.
62651         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
62652         "bp-asm.h".
62653         (PARMS): Do not use macros from bp-asm.h.
62654         (S1): Likewise.
62655         (SIZE): Likewise.
62656         (__mpn_submul_1): Do not use BP_SYM.
62657         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62658         <bp-sym.h>.
62659         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62660         and <bp-asm.h>.
62661         (PARMS): Do not use macros from bp-asm.h.
62662         (FLAGS): Likewise.
62663         (PTID): Likewise.
62664         (TLS): Likewise.
62665         (CTID): Likewise.
62666         (__clone): Do not use BP_SYM.
62667         (clone): Do not use BP_SYM in weak_alias.
62668         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62669         and <bp-asm.h>.
62670         (PARMS): Do not use macros from bp-asm.h.
62671         (LEN): Likewise.
62672         (__mmap64): Do not use BP_SYM.
62673         (mmap64): Do not use BP_SYM in weak_alias.
62674         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62675         <bp-sym.h> and <bp-asm.h>.
62676         (PARMS): Do not use macros from bp-asm.h.
62677         (__posix_fadvise64_l64): Do not use BP_SYM.
62678         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62679         (PARMS): Do not use macros from bp-asm.h.
62680         (NSOPS): Likewise.
62681         (semtimedop): Do not use BP_SYM.
62682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62683         and <bp-asm.h>.
62685 2013-02-21  Allan McRae  <allan@archlinux.org>
62687         * manual/message.texi (Charset conversion in gettext):
62688         Move @end statement to beginning of line.
62690 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62693         static.
62694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62695         Likewise.
62697         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62698         (denorm): Likewise.
62699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62702 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62704         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62705         tail-call to the resolved function if pltexit isn't needed.
62707 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62710         or Y being zero as being unlikely.
62711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62712         Likewise.
62714 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62716         * manual/nss.texi (System Databases and Name Service Switch):
62717         Remove frobnicate @pxref.
62719 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62721         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62722         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62724 2013-02-20  Petr Machata  <pmachata@redhat.com>
62726         * elf/elf.h (R_ARM_TARGET1): New macro.
62727         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62728         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62729         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62730         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62731         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62732         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62733         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62734         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62735         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62736         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62737         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62738         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62739         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62740         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62741         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62742         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62743         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62744         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62745         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62746         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62747         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62748         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62749         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62750         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62751         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62752         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62753         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62754         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62755         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62756         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62757         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62758         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62759         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62760         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62761         (R_ARM_THM_GOT_BREL12): Likewise.
62762         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62763         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62764         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62765         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62766         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62767         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62768         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62769         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62770         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62772 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62774         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62775         __attribute_used__ to __attribute__ ((unused)).
62777 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62779         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62780         powerpc mpa.c.
62781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62782         comment formatting.
62783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62785 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62787         [BZ #13550]
62788         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62789         Remove macro.
62790         (ENTER): Remove both macro definitions.
62791         (LEAVE): Likewise.
62792         (CHECK_BOUNDS_LOW): Likewise.
62793         (CHECK_BOUNDS_HIGH): Likewise.
62794         (CHECK_BOUNDS_BOTH): Likewise.
62795         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62796         (RETURN_BOUNDED_POINTER): Likewise.
62797         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62798         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62799         (POP_ERRNO_LOCATION_RETURN): Likewise.
62800         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62801         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62802         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62803         macros.
62804         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62805         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62806         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62807         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62808         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62809         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62810         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62811         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62812         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62813         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62814         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62815         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62816         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62817         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62818         removed macros.
62819         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62820         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62821         macros.
62822         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62823         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62824         * sysdeps/i386/i586/memset.S (memset): Likewise.
62825         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62826         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62827         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62828         macros.
62829         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62830         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62831         Change uses of L(2) to L(out).
62832         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62833         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62834         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62835         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62836         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62837         removed macros.
62838         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62839         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62840         macros.
62841         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62842         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62843         (RETURN): Do not use macro LEAVE.
62844         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62845         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62846         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62847         * sysdeps/i386/i686/memset.S (memset): Likewise.
62848         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62849         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62850         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62851         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62852         Likewise.
62853         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62854         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62855         L(1_2) and L(1_3) into L(1).
62856         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62857         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62858         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62859         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62860         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62861         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62862         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62863         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62864         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62865         macros.
62866         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62867         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62868         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62869         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62870         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62871         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62872         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62873         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62874         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62875         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62876         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62877         * sysdeps/i386/strspn.S (strspn): Likewise.
62878         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62879         conditional code.
62880         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62881         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62882         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62883         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62884         L(1_3) into L(1_1).
62885         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62886         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62887         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62888         macros.
62889         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62891 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62893         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62894         macro.
62896 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62898         * math/atest-exp.c (exp_mpn): Remove ROUND.
62899         * math/atest-exp2.c (exp_mpn): Likewise.
62900         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62902         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62903         * stdlib/tst-tls-atexit-lib.c: Likewise.
62904         * stdlib/tst-tls-atexit.c: Likewise.
62906 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62908         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62909         and __attribute_alloc_size__.
62911 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62913         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62914         __attribute_alloc_size__.
62915         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62916         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62918 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62920         * include/programs/xmalloc.h: New file.
62921         * catgets/gencat.c: Include it.
62922         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62923         * elf/pldd.c: Likewise.
62924         * iconv/iconv_charmap.c: Likewise.
62925         * iconv/iconvconfig.c: Likewise.
62926         * iconv/strtab.c: Likewise.
62927         * locale/programs/locale.c: Likewise.
62928         * locale/programs/localedef.h: Likewise.
62929         * locale/programs/simple-hash.c: Likewise.
62930         * nscd/nscd.h: Likewise.
62931         * nss/makedb.c: Likewise.
62932         * sysdeps/generic/ldconfig.h: Likewise.
62934 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62936         * Versions.def: Add GLIBC_2.18.
62937         * include/link.h (struct link_map): New member l_tls_dtor_count.
62938         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62939         (__call_tls_dtors): Likewise.
62940         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62941         __cxa_thread_atexit_impl.
62942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62943         Likewise.
62944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62945         Likewise.
62946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62947         Likewise.
62948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62949         Likewise.
62950         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62952         Likewise.
62953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62954         Likewise.
62955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62957         Likewise.
62958         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62959         (tests): Add test case tst-tls-atexit.
62960         (modules-names): Add shared library for tst-tls-atexit.
62961         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62962         (GLIBC_PRIVATE): Add __call_tls_dtors.
62963         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62964         for libstdc++.
62965         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62966         * stdlib/tst-tls-atexit.c: New test case.
62967         * stdlib/tst-tls-atexit-lib.c: New test case.
62969         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62971         * elf/Versions (ld): Add _dl_find_dso_for_object.
62972         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62973         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62974         (dl_open_worker): Use _dl_find_dso_for_object.
62975         * elf/dl-sym.c (do_sym): Likewise.
62976         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62978 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62980         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62981         Syntactic changes only.
62982         (_dl_runtime_profile): Do a tail-call to the resolved function.
62984 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62986         [BZ #13550]
62987         * sysdeps/x86_64/bp-asm.h: Remove file.
62988         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62989         <bp-sym.h> and <bp-asm.h>.
62990         (__clone): Do not use BP_SYM.
62991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62992         <bp-sym.h> and <bp-asm.h>.
62993         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62994         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62995         "bp-asm.h".
62996         (_setjmp): Do not use BP_SYM.
62997         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62998         "bp-asm.h".
62999         (setjmp): Do not use BP_SYM.
63000         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63001         libc_hidden_def.
63002         (mempcpy): Do not use BP_SYM in weak_alias.
63003         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63004         "bp-asm.h".
63005         (strchr): Do not use BP_SYM.
63006         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63007         "bp-asm.h".
63008         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63009         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63010         (_start): Do not use BP_SYM.
63011         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63012         "bp-asm.h".
63013         (strcat): Do not use BP_SYM.
63014         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63015         "bp-asm.h".
63016         (STRCMP): Do not use BP_SYM.
63017         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63018         "bp-asm.h".
63019         (STRCPY): Do not use BP_SYM.
63020         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63021         "bp-asm.h".
63022         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63023         "bp-asm.h".
63024         (FUNCTION): Do not use BP_SYM.
63025         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63026         weak_alias.
63027         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63029 2013-02-17  Andreas Jaeger  <aj@suse.de>
63031         * time/Versions: Sort entries.
63032         * string/Versions: Likewise.
63033         * resolv/Versions: Likewise.
63034         * posix/Versions: Likewise.
63035         * iconv/Versions: Likewise.
63036         * elf/Versions: Likewise.
63037         * wcsmbs/Versions: Likewise.
63039 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63041         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63042         loop termination condition.
63044         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63045         variable to calculate EZ.
63046         (__sqr): Likewise.
63048         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63049         the lower precision input.
63051 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63053         [BZ #13550]
63054         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63055         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63056         (run-via-rtld-prefix): Do not handle %-bp tests.
63057         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63058         (all-object-suffixes): Remove .ob.
63059         (bppfx): Remove variable.
63060         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63061         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63062         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63063         [$(build-bounded) = yes] (libtype.ob): Likewise.
63064         * Makerules (elide-routines.ob): Remove variable.
63065         (do-tests-clean): Do not handle *-bp.out.
63066         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63067         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63068         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63069         (tests): Do not include $(tests-bp.out).
63070         (xtests): Do not include $(xtests-bp.out).
63071         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63072         [$(build-bounded) = yes] ($(addprefix
63073         $(objpfx),$(binaries-bounded))): Remove rule.
63074         ($(objpfx)%-bp.out): Remove rule.
63075         * config.make.in (build-bounded): Remove variable.
63076         * crypt/Makefile [$(build-bounded) = yes]
63077         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63078         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63079         append to variable.
63080         [$(build-bounded) = yes] (install-lib): Likewise.
63081         [$(build-bounded) = yes] (generated): Likewise.
63082         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63083         Remove rule.
63084         * intl/Makefile [$(build-bounded) = yes]
63085         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63086         * math/Makefile [$(build-bounded) = yes]
63087         ($(tests:%=$(objpfx)%-bp): Likewise.
63088         * misc/Makefile [$(build-bounded) = yes]
63089         ($(objpfx)tst-tsearch-bp): Likewise.
63090         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63091         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63092         Remove dependency.
63093         * string/Makefile (o-objects.ob): Remove variable.
63094         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63095         (CFLAGS-.ob): Remove variable.
63096         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63097         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63098         both definitions of variable.
63099         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63100         (ASFLAGS-.ob): Remove variable.
63102 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63104         [BZ #13550]
63105         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63106         Remove __BOUNDED_POINTERS__ from condition.
63107         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63108         * string/bits/string2.h [!__NO_STRING_INLINES &&
63109         !__BOUNDED_POINTERS__]: Likewise.
63110         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63111         Likewise.
63112         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63113         Remove conditional code.
63114         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63115         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63116         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63117         condition.
63119         [BZ #13550]
63120         * csu/libc-start.c: Do not include <bp-sym.h>.
63121         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63122         * elf/dl-open.c: Do not include <bp-sym.h>.
63123         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63124         * math/fegetenv.c: Do not include <bp-sym.h>.
63125         (fegetenv): Do not use BP_SYM in versioned symbols.
63126         * nptl/sysdeps/pthread/bits/libc-lockP.h
63127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63128         <bp-sym.h>.
63129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63130         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63132         (__pthread_mutex_destroy): Likewise.
63133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63134         (__pthread_mutex_lock): Likewise.
63135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63136         (__pthread_mutex_trylock): Likewise.
63137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63138         (__pthread_mutex_unlock): Likewise.
63139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63140         (__pthread_mutexattr_init): Likewise.
63141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63142         (__pthread_mutexattr_destroy): Likewise.
63143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63144         (__pthread_mutexattr_settype): Likewise.
63145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63146         (__pthread_rwlock_init): Likewise.
63147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63148         (__pthread_rwlock_destroy): Likewise.
63149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63150         (__pthread_rwlock_rdlock): Likewise.
63151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63152         (__pthread_rwlock_tryrdlock): Likewise.
63153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63154         (__pthread_rwlock_wrlock): Likewise.
63155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63156         (__pthread_rwlock_trywrlock): Likewise.
63157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63158         (__pthread_rwlock_unlock): Likewise.
63159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63160         (__pthread_key_create): Likewise.
63161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63162         (__pthread_setspecific): Likewise.
63163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63164         (__pthread_getspecific): Likewise.
63165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63166         Likewise.
63167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63168         (_pthread_cleanup_push_defer): Likewise.
63169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63170         (_pthread_cleanup_pop_restore): Likewise.
63171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63172         (pthread_setcancelstate): Likewise.
63173         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63174         <bp-sym.h>.
63175         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63176         (memchr): Do not use BP_SYM in weak_alias.
63177         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63178         (fegetenv): Do not use BP_SYM in versioned symbols.
63179         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63180         (fesetenv): Do not use BP_SYM in versioned symbols.
63181         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63182         (feupdateenv): Do not use BP_SYM in versioned symbols.
63183         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63184         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63185         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63186         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63187         (open64): Do not use BP_SYM in weak_alias.
63188         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63189         (fegetenv): Do not use BP_SYM in versioned symbols.
63190         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63191         (fesetenv): Do not use BP_SYM in versioned symbols.
63192         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63193         (feupdateenv): Do not use BP_SYM in versioned symbols.
63194         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63195         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63196         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63197         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63198         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63199         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63200         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63201         <bp-sym.h>.
63202         (__libc_start_main): Do not use BP_SYM.
63204 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63207         redundant return line.
63208         (norm): Likewise.
63209         (denorm): Likewise.
63210         (dbl_mp): Likewise.
63211         (sub_magnitudes): Likewise.
63212         (__add): Likewise.
63213         (__sub): Likewise.
63214         (__mul): Likewise.
63215         (__inv): Likewise.
63216         (__dvd): Likewise.
63217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63218         (norm): Likewise.
63219         (denorm): Likewise.
63220         (dbl_mp): Likewise.
63221         (sub_magnitudes): Likewise.
63222         (__add): Likewise.
63223         (__sub): Likewise.
63224         (__mul): Likewise.
63225         (__inv): Likewise.
63226         (__dvd): Likewise.
63228         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63229         instead of __mul.
63230         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63231         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63232         (cc32): Likewise.
63234         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63235         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63236         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63237         of __mul for squares.
63238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63239         function
63240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63241         Likewise.
63242         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63243         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63245 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63247         [BZ #13550]
63248         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63249         code.
63250         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63251         prototype or function definition.  Rename ubp_* variables and
63252         parameters.  Remove argv definitions conditional on
63253         [__BOUNDED_POINTERS__].
63254         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63255         * elf/dl-runtime.c (_dl_fixup): Likewise.
63256         * include/set-hooks.h (RUN_HOOK): Likewise.
63257         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63258         definition.
63259         * string/strcpy.c (strcpy): Do not use __unbounded.
63260         * sysdeps/generic/frame.h (struct layout): Likewise.
63261         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63262         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63263         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63264         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63265         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63266         (__backtrace): Likewise.
63267         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63268         use __ptrvalue.
63269         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63270         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63271         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63272         Likewise.
63273         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63274         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63275         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63276         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63277         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63278         Do not use __unbounded.
63279         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63280         Rename __unboundedrlimits parameter to rlimits in prototype.
63281         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63282         Do not use __unbounded.
63283         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63284         not use __ptrvalue.
63285         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63286         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63287         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63288         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63289         __ptrvalue or __unbounded.
63290         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63291         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63292         use __unbounded.
63293         (__new_msgctl): Do not use __ptrvalue.
63294         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63295         __unbounded.
63296         (__libc_msgrcv): Do not use __ptrvalue.
63297         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63298         startup_info): Do not use __unbounded.
63299         (__libc_start_main): Likewise.  Rename ubp_* variables and
63300         parameters.  Remove argv definitions conditional on
63301         [__BOUNDED_POINTERS__].
63302         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63303         __ptrvalue.
63304         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63305         use __unbounded.
63306         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63307         or __ptrvalue.
63308         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63309         use __unbounded.
63310         (__new_shmctl): Do not use __ptrvalue.
63311         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63312         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63313         Likewise.
63314         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63315         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63316         (__libc_sigaction): Likewise.
63317         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63318         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63319         Likewise.
63320         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63322 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63324         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63326         * string/mempcpy.c: Implement by calling memcpy.
63328 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63332         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63333         evaluation.
63335         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63336         values in the mantissa.
63338         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63339         minimize writes to Z.
63340         (sub_magnitudes): Simplify code a bit.
63342 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63344         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63345         from the message.  The linker prefixes all warnings with that already.
63347 2013-02-12  Andreas Schwab  <schwab@suse.de>
63349         [BZ #15078]
63350         * posix/regexec.c (extend_buffers): Add parameter min_len.
63351         (check_matching): Pass minimum needed length.
63352         (clean_state_log_if_needed): Likewise.
63353         (get_subexp): Likewise.
63354         * posix/Makefile (tests): Add bug-regex34.
63355         (bug-regex34-ENV): Define.
63356         * posix/bug-regex34.c: New file.
63358         [BZ #11561]
63359         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63360         elements compare against the byte sequence of it, not its name.
63361         * posix/Makefile (tests): Add bug-regex35.
63362         (bug-regex35-ENV): Define.
63363         * posix/bug-regex35.c: New file.
63365 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63367         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63368         comment.
63369         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63370         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63371         (CHECK_EOL): Add undef.
63373 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63375         * bits/stdlib-bsearch.h: New file.
63376         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63377         * stdlib/stdlib.h: Likewise.
63379 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63381         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63382         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63383         declaration.
63384         * manual/search.texi (Array Search Function): Add missing const in
63385         lfind prototype.
63386         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63387         declaration to use rlim_t.
63388         (Basic Scheduling Functions): Remove erroneous const from
63389         sched_getparam prototype.  Remove erroneous * from
63390         sched_get_priority_max and sched_get_priority_min prototypes.
63391         (Resource Usage): Fix summary @comment on vtimes to refer to
63392         sys/vtimes.h rather than vtimes.h.
63393         Add missing *s in vtimes prototype.
63394         (Limits on Resources): Fix ulimit prototype to return long int.
63395         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63396         prototypes to use long int rather than double.
63397         (BSD Random): Fix initstate and setstate to use char *, not void *.
63398         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63399         prototype to make second argument 'struct aiocb64 *const[]'.
63400         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63401         (Status of AIO Operations): Remove erroneous const in aio_return and
63402         aio_return64 prototypes.
63403         (Synchronizing I/O): Fix sync prototype to return void.
63404         * manual/startup.texi (Suboptions): Remove an erroneous const in
63405         getsubopt prototype.
63406         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63407         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63408         use size_t rather than int.
63409         (Scanning All Users): Likewise for getpwent_r.
63410         (Setting Groups): Add missing const to setgroups prototype.
63411         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63412         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63413         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63414         'const void *' rather than 'const char *'.
63415         (Host Address Functions): Likewise for inet_ntop.
63416         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63417         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63418         ssize_t for return value.
63419         (Sending Data): Likewise for send, sendto, sendmsg.
63420         (Socket Option Functions): Add a missing const in setsockopt prototype.
63421         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63422         use wchar_t for the argument.
63423         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63424         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63425         take no arguments.
63426         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63427         double/float/long double for second argument.
63428         Fix return types of significand, significandf, significandl.
63429         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63430         argument in fchmod prototype.
63431         (File Owner): Use uid_t and gid_t in fchown prototype.
63432         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63433         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63434         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63435         use 'const struct dirent **' as argument types to CMP function pointer
63436         argument.
63437         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63438         (File Times): Fix summary magic @comment for struct utimbuf and utime
63439         to refer to utime.h, not time.h.
63440         * manual/string.texi (Argz Functions): Add missing const in
63441         argz_extract and argz_next prototypes.
63442         (Finding Tokens in a String): Likewise for basename.
63443         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63444         (Copying and Concatenation): Fix typo in wmemmove prototype.
63445         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63446         (Signal Stack): Remove erroneous const in sigstack prototype.
63447         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63448         prototype.
63449         (Simple Calendar Time): Likewise for stime.
63450         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63451         prototype.
63452         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63453         say sys/sysctl.h instead.
63454         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63455         and vsyslog prototypes.
63457 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63459         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63460         Remove.
63462 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63464         * misc/sys/mman.h: Fix typo in mremap comment.
63466 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63468         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63469         the '\0' terminator.
63471 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63473         [BZ #13550]
63474         * debug/segfault.c: Don't include <bp-checks.h>.
63475         * sysdeps/generic/bp-checks.h: Remove file.
63476         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63477         (__GETDENTS): Don't use CHECK_N.
63478         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63479         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63480         (__getgroups): Don't use CHECK_N.
63481         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63482         (setgroups): Don't use CHECK_N.
63483         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63484         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63485         (__libc_msgrcv): Don't use CHECK_N.
63486         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63487         (__libc_msgsnd): Don't use CHECK_N.
63488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
63489         <bp-checks.h>.
63490         (__libc_pread): Don't use CHECK_N.
63491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
63492         include <bp-checks.h>.
63493         (__libc_pread64): Don't use CHECK_N.
63494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
63495         include <bp-checks.h>.
63496         (__libc_pwrite): Don't use CHECK_N.
63497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
63498         include <bp-checks.h>.
63499         (__libc_pwrite64): Don't use CHECK_N.
63500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
63501         <bp-checks.h>.
63502         (__libc_pread): Don't use CHECK_N.
63503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
63504         include <bp-checks.h>.
63505         (__libc_pread64): Don't use CHECK_N.
63506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
63507         include <bp-checks.h>.
63508         (__libc_pwrite): Don't use CHECK_N.
63509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
63510         include <bp-checks.h>.
63511         (__libc_pwrite64): Don't use CHECK_N.
63512         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
63513         (do_pread): Don't use CHECK_N.
63514         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
63515         (do_pread64): Don't use CHECK_N.
63516         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
63517         (do_pwrite): Don't use CHECK_N.
63518         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
63519         (do_pwrite64): Don't use CHECK_N.
63520         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
63521         (__libc_readv): Don't use CHECK_N.
63522         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
63523         (semop): Don't use CHECK_N.
63524         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
63525         <bp-checks.h>.
63526         (semtimedop): Don't use CHECK_N.
63527         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
63528         (__libc_pread): Don't use CHECK_N.
63529         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
63530         <bp-checks.h>.
63531         (__libc_pread64): Don't use CHECK_N.
63532         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
63533         <bp-checks.h>.
63534         (__libc_pwrite): Don't use CHECK_N.
63535         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
63536         <bp-checks.h>.
63537         (__libc_pwrite64): Don't use CHECK_N.
63538         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
63539         <bp-checks.h>.
63540         (__libc_msgrcv): Don't use CHECK_N.
63541         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
63542         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
63543         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
63544         (__libc_writev): Don't use CHECK_N.
63546 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63548         * string/strcpy.c: Removed unused variable.
63550         * Makeconfig (+sysdep-includes): Define with := rather than =.
63551         Use an existing include/ subdir of each sysdeps dir before it.
63553 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63555         * nscd/connection.c (register_traced_file): Comment function.
63556         [HAVE_INOTIFY] (union __inev): Define.
63557         [HAVE_INOTIFY] (inotify_check_files): New function.
63558         [HAVE_INOTIFY] (clear_db_cache): Likewise.
63559         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
63560         clear_db_cache.
63561         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
63563 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63565         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
63566         loaded if not already and that a failure is permanent.
63568 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63570         [BZ #15006]
63571         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
63572         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
63574 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63576         [BZ #13550]
63577         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
63578         (CHECK_1_NULL_OK): Likewise.
63579         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
63580         (__fxstat): Do not use CHECK_1.
63581         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
63582         <bp-checks.h>.
63583         (___fxstat64): Do not use CHECK_1.
63584         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
63585         <bp-checks.h>.
63586         (__fxstatat): Do not use CHECK_1.
63587         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
63588         <bp-checks.h>.
63589         (__fxstatat64): Do not use CHECK_1.
63590         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
63591         <bp-checks.h>.
63592         (__fxstat): Do not use CHECK_1.
63593         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
63594         <bp-checks.h>.
63595         (__fxstatat): Do not use CHECK_1.
63596         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63597         <bp-checks.h>.
63598         (__getresgid): Do not use CHECK_1.
63599         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63600         <bp-checks.h>.
63601         (__getresuid): Do not use CHECK_1.
63602         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
63603         <bp-checks.h>.
63604         (__lxstat): Do not use CHECK_1.
63605         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63606         <bp-checks.h>.
63607         (__old_msgctl): Do not use CHECK_1.
63608         (__new_msgctl): Likewise.
63609         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
63610         <bp-checks.h>.
63611         (__new_setrlimit): Do not use CHECK_1.
63612         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63613         <bp-checks.h>.
63614         (__old_shmctl): Do not use CHECK_1.
63615         (__new_shmctl): Likewise.
63616         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
63617         <bp-checks.h>.
63618         (__xstat): Do not use CHECK_1.
63619         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
63620         (__lxstat): Do not use CHECK_1.
63621         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
63622         <bp-checks.h>.
63623         (___lxstat64): Do not use CHECK_1.
63624         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63625         (__old_msgctl): Do not use CHECK_1.
63626         (__new_msgctl): Likewise.
63627         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
63628         <bp-checks.h>.
63629         (__gettimeofday): Do not use CHECK_1.
63630         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63631         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
63632         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
63633         <bp-checks.h>.
63634         (__gettimeofday): Do not use CHECK_1.
63635         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
63636         (__old_shmctl): Do not use CHECK_1_NULL_OK.
63637         (__new_shmctl): Do not use CHECK_1.
63638         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
63639         <bp-checks.h>.
63640         (do_sigtimedwait): Do not use CHECK_1.
63641         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
63642         <bp-checks.h>.
63643         (do_sigwaitinfo): Do not use CHECK_1.
63644         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
63645         <bp-checks.h>.
63646         (msgctl): Do not use CHECK_1.
63647         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
63648         <bp-checks.h>.
63649         (shmctl): Do not use CHECK_1.
63650         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
63651         (ustat): Do not use CHECK_1.
63652         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
63653         <bp-checks.h>.
63654         (__fxstat): Do not use CHECK_1.
63655         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63656         <bp-checks.h>.
63657         (__fxstatat): Do not use CHECK_1.
63658         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63659         <bp-checks.h>.
63660         (__lxstat): Do not use CHECK_1.
63661         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63662         <bp-checks.h>.
63663         (__xstat): Do not use CHECK_1.
63664         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63665         (__xstat): Do not use CHECK_1.
63666         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63667         (___xstat64): Do not use CHECK_1.
63669         [BZ #13550]
63670         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63671         definitions.
63672         (CHECK_BOUNDS_HIGH): Likewise.
63673         * string/strcpy.c: Do not include <bp-checks.h>.
63674         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63676 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63678         * nscd/nscd-client.h (__nscd_drop_map_ref):
63679         Add __attribute__ ((unused)).
63680         * nis/nss-nisplus.h (niserr2nss): Likewise.
63682         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63683         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63685         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63686         Remove inline keyword.
63687         * include/rounding-mode.h (round_away): Likewise.
63688         * libio/wfileops.c (adjust_wide_data): Likewise.
63689         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63690         (__m128i_strloadu_tolower): Likewise.
63691         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63692         (__m128i_strloadu_tolower): Likewise.
63693         * time/mktime.c (ydhms_diff): Likewise.
63694         * locale/elem-hash.h (elem_hash): Likewise.
63695         * locale/setlocale.c (setdata): Likewise.
63696         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63697         (re_string_wchar_at): Likewise.
63698         (bitset_not, bitset_merge, bitset_mask): Likewise.
63699         [!(__GNUC__ > 3)] (inline): Remove macro.
63700         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63701         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63702         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63703         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63704         * string/memcmp.c (memcmp_bytes): Likewise.
63705         * locale/programs/locarchive.c (compute_hashval): Likewise.
63706         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63707         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63708         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63709         * nss/getent.c (print_rpc, print_protocols): Likewise.
63710         (print_passwd, print_group, print_aliases): Likewise.
63711         * nis/nss-nisplus.h (niserr2nss): Likewise.
63712         * nscd/connections.c (restart_p): Likewise.
63713         Change return type to bool.
63715 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63717         * Makeconfig (all-Depend-files): Add existing
63718         $(sorted-subdirs:=/Depend) files.
63719         (all-subdirs): Remove nss.
63720         * sysdeps/unix/inet/Subdirs: Add it here instead.
63721         * hesiod/Depend: New file.
63723         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63724         instead of calling alloca.
63726         * io/lseek.c (__lseek): Rename to __libc_lseek.
63727         Define __lseek as an alias.
63729         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63731 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63733         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63734         else clause and remove check for non-standard endianness.
63736 2013-02-04  David S. Miller  <davem@davemloft.net>
63738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63740 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63742         [BZ #13550]
63743         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63744         (__ubp_memchr): Remove prototype.
63745         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63746         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63747         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63748         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63749         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63750         Remove alias.
63751         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63752         (__ubp_memchr): Likewise.
63753         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63754         (__ubp_memchr): Likewise.
63755         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63756         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63757         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63758         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63759         CHECK_STRING.
63760         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63761         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63762         (__getcwd): Do not use CHECK_STRING.
63763         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63764         <bp-checks.h>.
63765         (__real_chown): Do not use CHECK_STRING.
63766         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63767         <bp-checks.h>.
63768         (fchownat): Do not use CHECK_STRING.
63769         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63770         CHECK_STRING.
63771         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63772         <bp-checks.h>.
63773         (__lchown): Do not use CHECK_STRING.
63774         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63775         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63776         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63777         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63779         include <bp-checks.h>.
63780         (truncate64): Do not use CHECK_STRING.
63781         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63782         <bp-checks.h>.
63783         (__real_chown): Do not use CHECK_STRING.
63784         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63785         <bp-checks.h>.
63786         (__lchown): Do not use CHECK_STRING.
63787         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63788         <bp-checks.h>.
63789         (__chown): Do not use CHECK_STRING.
63790         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63791         <bp-checks.h>.
63792         (truncate64): Do not use CHECK_STRING.
63793         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63794         Likewise.
63795         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63796         (__xmknod): Do not use CHECK_STRING.
63797         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63798         <bp-checks.h>.
63799         (__xmknodat): Do not use CHECK_STRING.
63800         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63801         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63803 2013-02-04  Andreas Schwab  <schwab@suse.de>
63805         [BZ #14142]
63806         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63807         * include/netdb.h: Likewise for h_errno.
63808         * elf/tst-stackguard1.c: Include <tls.h>.
63810 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63812         * elf/link.h (struct link_map): Extend the l_addr comment.
63813         * include/link.h (struct link_map): Likewise.
63815 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63817         [BZ #13550]
63818         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63819         (BOUNDED_1): Remove macro.
63820         * debug/backtrace.c: Don't include <bp-checks.h>.
63821         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63822         (__backtrace): Likewise.
63823         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63824         <bp-checks.h>.
63825         (__backtrace): Don't use BOUNDED_1.
63826         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63827         <bp-checks.h>.
63828         (__backtrace): Don't use BOUNDED_1.
63829         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63830         (__backtrace): Don't use BOUNDED_1.
63831         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63832         (shmat): Don't use BOUNDED_N.
63834 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63836         [BZ #13550]
63837         * sysdeps/generic/bp-start.h: Remove file.
63838         * csu/libc-start.c: Don't include <bp-start.h>.
63839         (LIBC_START_MAIN): Set up __environ directly instead of using
63840         INIT_ARGV_and_ENVIRON.
63841         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63842         <bp-start.h>.
63844         [BZ #13550]
63845         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63846         definitions.
63847         (CHECK_FCNTL): Likewise.
63848         (CHECK_N_PAGES): Likewise.
63850         [BZ #13550]
63851         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63852         definitions.
63853         (CHECK_SIGSET_NULL_OK): Likewise.
63854         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63855         <bp-checks.h>.
63856         (sigpending): Don't use CHECK_SIGSET.
63857         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63858         <bp-checks.h>.
63859         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63860         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63861         <bp-checks.h>.
63862         (do_sigsuspend): Don't use CHECK_SIGSET.
63863         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63864         use CHECK_SIGSET.
63865         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63866         (do_sigwait): Don't use CHECK_SIGSET.
63867         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63868         use CHECK_SIGSET.
63869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63870         include <bp-checks.h>.
63871         (sigpending): Don't use CHECK_SIGSET.
63872         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63873         include <bp-checks.h>.
63874         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63875         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63876         <bp-checks.h>.
63877         (sigpending): Don't use CHECK_SIGSET.
63878         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63879         <bp-checks.h>.
63880         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63882         [BZ #13550]
63883         * sysdeps/generic/bp-semctl.h: Remove file.
63884         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63885         <bp-checks.h> and <bp-semctl.h>.
63886         (__old_semctl): Don't use CHECK_SEMCTL.
63887         (__new_semctl): Likewise.
63888         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63889         and <bp-semctl.h>.
63890         (__old_semctl): Don't use CHECK_SEMCTL.
63891         (__new_semctl): Likewise.
63892         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63893         <bp-checks.h> and <bp-semctl.h>.
63894         (__old_semctl): Don't use CHECK_SEMCTL.
63895         (__new_semctl): Likewise.
63896         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63897         <bp-checks.h> and <bp-semctl.h>.
63898         (semctl): Don't use CHECK_SEMCTL.
63900         [BZ #13550]
63901         * Makerules (elide-bp-thunks): Remove variable.
63902         (elide-routines.oS): Don't use $(elide-bp-thunks).
63903         (elide-routines.os): Likewise.
63904         (elide-routines.o): Likewise.
63905         (elide-routines.op): Likewise.
63906         (elide-routines.og): Likewise.
63907         (objects): Don't use $(bp-thunks).
63908         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63909         include.
63910         (common-generated): Do not add s-proto-bp.d.
63911         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63912         (int): Likewise.
63913         (typ): Likewise.
63914         Do not generate makefile rules for bounded-pointer thunks.
63915         * sysdeps/generic/bp-thunks.h: Remove file.
63916         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63917         * sysdeps/unix/s-proto-bp.S: Likewise.
63919         [BZ #15062]
63920         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63921         parts of result separately when argument is not close to line from
63922         -i to i and one part of argument is small.
63923         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63924         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63925         * math/libm-test.inc (cacos_test): Add more tests.
63926         (casin_test): Likewise.
63927         (casinh_test): Likewise.
63928         * sysdeps/i386/fpu/libm-test-ulps: Update.
63929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63931 2013-01-31  David S. Miller  <davem@davemloft.net>
63933         * po/de.po: Update from translation team.
63935 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63937         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63939 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63941         * configure.in (_AC_PROG_CC_C89): New definition.
63942         * configure: Regenerate.
63944         * configure.in (AC_PROG_CPP): New definition.
63945         * configure: Regenerate.
63947 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63949         * debug/tst-backtrace.h: New file.
63950         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63951         (ret): Remove variable.
63952         (x): Likewise.
63953         (FAIL): Remove macro.
63954         (NO_INLINE): Likewise.
63955         (fn1): Use match function instead of strstr.
63956         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63957         (ret): Remove variable.
63958         (x): Likewise.
63959         (FAIL): Remove macro.
63960         (NO_INLINE): Likewise.
63961         (fn): Use match function instead of strstr.
63962         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63963         (ret): Remove variable.
63964         (x): Likewise.
63965         (FAIL): Remove macro.
63966         (NO_INLINE): Likewise.
63967         (handle_signal): Use match function instead of strstr.
63968         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63969         (ret): Remove variable.
63970         (x): Likewise.
63971         (FAIL): Remove macro.
63972         (NO_INLINE): Likewise.
63973         (handle_signal): Use match function instead of strstr.
63975 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63977         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63979 2013-01-23  David S. Miller  <davem@davemloft.net>
63981         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63982         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63983         argument of CAS if possible.
63984         * sysdeps/sparc/sparc64/bits/atomic.h
63985         (__arch_compare_and_exchange_val_32_acq): Likewise.
63986         (__arch_compare_and_exchange_val_64_acq): Likewise.
63988 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63990         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63991         * sysdeps/posix/ulimit.c: ... this.
63992         Include <limits.h>.
63993         * sysdeps/unix/bsd/ulimit.c: Remove file.
63995 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63997         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63998         (LDFLAGS-tst-array5): Likewise.
64000 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64002         [BZ #15036]
64003         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64004         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64005         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64006         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64008 2013-01-21  David S. Miller  <davem@davemloft.net>
64010         * sysdeps/sparc/backtrace.c: New file.
64011         * sysdeps/sparc/sparc32/backtrace.h: New file.
64012         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64013         * sysdeps/sparc/sparc64/backtrace.h: New file.
64014         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64015         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64016         -funwind-tables.
64018 2013-01-21  Andreas Schwab  <schwab@suse.de>
64020         [BZ #15020]
64021         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64022         closed its stdout.
64024 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64027         "mpa2.h".
64028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64030 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64031             Mark Mitchell  <mark@codesourcery.com>
64032             Tom de Vries  <tom@codesourcery.com>
64033             Paul Pluzhnikov  <ppluzhnikov@google.com>
64035         * debug/tst-backtrace2.c: New file.
64036         * debug/tst-backtrace3.c: Likewise.
64037         * debug/tst-backtrace4.c: Likewise.
64038         * debug/tst-backtrace5.c: Likewise.
64039         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64040         (CFLAGS-tst-backtrace3.c): Likewise.
64041         (CFLAGS-tst-backtrace4.c): Likewise.
64042         (CFLAGS-tst-backtrace5.c): Likewise.
64043         (LDFLAGS-tst-backtrace2): Likewise.
64044         (LDFLAGS-tst-backtrace3): Likewise.
64045         (LDFLAGS-tst-backtrace4): Likewise.
64046         (LDFLAGS-tst-backtrace5): Likewise.
64047         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64048         tst-backtrace4 and tst-backtrace5.
64050 2013-01-18  Anton Blanchard  <anton@samba.org>
64051             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64053         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64054         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64055         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64056         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64058         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64059         "+r" and remove output regs list as redundant.  Add explicit inline
64060         asm to specify register of return val to work around compiler codegen
64061         bug.  Remove (int) cast on return value.  Add return type parameter to
64062         use in macro so that this macro does not truncate return value for
64063         64-bit values.
64064         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64065         pass to INTERNAL_VSYSCALL_NCS.
64066         (INLINE_VSYSCALL): Add 'long int' as return type to
64067         INTERNAL_VSYSCALL_NCS macro invocation.
64068         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64069         INTERNAL_VSYSCALL_NCS macro invocation.
64070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64072 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64074         [BZ #14496]
64075         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64076         Fix application of SIMD FP exception mask.
64078         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64079         mp_no from a power of two.
64080         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64081         __mpexp_twomm1.  Use __pow_mp.
64083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64084         multiplication.
64086 2013-01-17  David S. Miller  <davem@davemloft.net>
64088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64090 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64092         [BZ #15023]
64093         * include/complex.h: Condition contents on [!_COMPLEX_H].
64094         (__kernel_casinhf): New prototype.
64095         (__kernel_casinh): Likewise.
64096         (__kernel_casinhl): Likewise.
64097         * math/Makefile (libm_calls): Add k_casinh.
64098         * math/k_casinh.c: New file.
64099         * math/k_casinhf.c: Likewise.
64100         * math/k_casinhl.c: Likewise.
64101         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64102         finite nonzero arguments.
64103         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64104         finite nonzero arguments.
64105         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64106         finite nonzero arguments.
64107         * math/s_casinh.c: Do not include <float.h>.
64108         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64109         * math/s_casinhf.c: Do not include <float.h>.
64110         (__casinhf): Move code for finite nonzero arguments to
64111         k_casinhf.c.
64112         * math/s_casinhl.c: Do not include <float.h>.
64113         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64114         redefine.
64115         (__casinhl): Move code for finite nonzero arguments to
64116         k_casinhl.c.
64117         * math/libm-test.inc (cacos_test): Add more tests.
64118         * sysdeps/i386/fpu/libm-test-ulps: Update.
64119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64121 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64123         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64124         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64125         [!HAVE_MREMAP]: Remove [defined linux] case.
64126         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64128 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64130         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64132 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64134         * elf/elf.h (R_386_SIZE32): New relocation.
64135         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64136         R_386_SIZE32.
64137         (elf_machine_rela): Likewise.
64138         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64139         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64141 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64143         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64144         (FP_FAST_FMA): Do not define.
64145         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64146         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64147         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64148         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64149         !_SOFT_FLOAT]: Likewise.
64150         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64151         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64152         value.
64153         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64154         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64155         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64156         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64157         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64158         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64159         file.
64161 2013-01-16  Andreas Schwab  <schwab@suse.de>
64163         [BZ #14327]
64164         * include/stdlib.h (__mktemp): Add declaration.
64165         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64166         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64168 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64170         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64171         definitions.
64172         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64173         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64174         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64175         definitions here.
64176         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64177         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64178         definitions.
64179         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64180         and ONE.
64181         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64182         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64183         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64184         definitions.
64185         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64186         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64187         definitions.
64188         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64190         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64192 2013-01-15  David S. Miller  <davem@davemloft.net>
64194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64195         trunc{,f} to libm-sysdep_routes.
64196         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64198         file.
64199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64201         file.
64202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64203         file.
64204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64206         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64207         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64208         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64209         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64210         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64211         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64214         nearbyint{,f} to libm-sysdep_routes.
64215         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64217         New file.
64218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64219         file.
64220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64221         New file.
64222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64223         file.
64224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64226         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64227         file.
64228         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64229         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64230         file.
64231         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64232         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64233         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64235         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64236         libc_feholdexcept and libc_fesetenv.
64238 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64240         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64242 2013-01-14  David S. Miller  <davem@davemloft.net>
64244         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64245         (SPARC_ASM_VIS2_IFUNC): Likewise.
64246         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64248         use of 'siam' instruction.
64249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64250         Likewise.
64251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64252         Likewise.
64253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64254         Likewise.
64255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64260         file.
64261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64262         file.
64263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64264         file.
64265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64266         file.
64267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64272         new VIS2 routines.
64273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64276         Likewise.
64277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64282         routines to libm-sysdep_routines.
64283         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64286         fdim/fdimf to libm-sysdep_routines.
64287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64288         file.
64289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64291         file.
64292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64295         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64296         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64297         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64298         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64300 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64302         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64303         to optimize copies.
64305         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64310         local variable MPTWO.
64311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64312         Likewise.
64314 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64316         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64317         GLOB_NOESCAPE.
64319 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64321         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64323 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64325         * manual/pattern.texi (glob_t): Document gl_flags.
64326         (glob64_t): Likewise.
64328 2013-01-11  David S. Miller  <davem@davemloft.net>
64330         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64331         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64332         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64333         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64334         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64335         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64336         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64337         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64338         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64339         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64340         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64341         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64342         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64344         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64345         sparc V9 rather than using V8 code.
64346         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64347         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64349         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64350         Move to...
64351         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64352         Here.
64354 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64356         [BZ #14941]
64357         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64358         not in the main loop.
64359         * configure: Regenerated.
64361 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64363         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64364         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64365         to just #else.
64366         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64367         [!__GLIBC_HAVE_LONG_LONG] case.
64368         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64369         condition to just #else.
64370         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64371         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64372         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64373         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64374         unconditional.
64375         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64376         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64377         #elif condition to just #else.
64378         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64379         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64380         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64381         #elif condition to just #else.
64383 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64385         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64386         (EF_MIPS_ARCH_64): Fix value.
64387         (EF_MIPS_ARCH_32R2): New.
64388         (EF_MIPS_ARCH_64R2): New.
64390 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64392         * Makeconfig (+link-pie-before-libc): New.
64393         (+link-pie-after-libc): Likewise.
64394         (+link-pie-tests): Likewise.
64395         (+link-pie): Rewritten.
64396         (link-before-libc): Remove $(config-LDFLAGS).
64397         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64398         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64399         (config-LDFLAGS): Renamed to ...
64400         (rtld-LDFLAGS): This.
64401         (rtld-tests-LDFLAGS): New macro.
64402         (link-libc-rpath-link): Likewise.
64403         (link-libc-tests-rpath-link): Likewise.
64404         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64405         (link-libc): Prepand $(link-libc-rpath-link).
64406         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64407         (test-program-prefix): New macro.
64408         (test-via-rtld-prefix): Likewise.
64409         (test-program-cmd): Likewise.
64410         (host-test-program-cmd): Likewise.
64411         * Makefile ($(common-objpfx)testrun.sh): Replace
64412         $(run-program-prefix) with $(test-program-prefix).
64413         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64414         $(rtld-LDFLAGS).
64415         ($(common-objpfx)shlib.lds): Likewise.
64416         (build-module-helper): Likewise.
64417         ($(common-objpfx)format.lds): Likewise.
64418         * Rules (binaries-pie-tests): New.
64419         (binaries-pie-notests): Likewise.
64420         (binaries-pie): Rewritten.
64421         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64422         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64423         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64424         (make-test-out): Replace $(host-built-program-cmd) with
64425         $(host-test-program-cmd).
64426         * config.make.in (build-hardcoded-path-in-tests): New variable.
64427         * configure.in (--enable-hardcoded-path-in-tests): New configure
64428         option.
64429         (hardcoded_path_in_tests): New AC_SUBST.
64430         * configure: Regenerated.
64431         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64432         $(built-program-cmd) with $(test-program-cmd).
64433         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64434         (test_program_cmd): This.
64435         * elf/Makefile ($(objpfx)order.out): Run test with
64436         $(test-program-prefix).
64437         ($(objpfx)order2.out): Likewise.
64438         ($(objpfx)tst-initorder.out): Likewise.
64439         ($(objpfx)tst-initorder2.out): Likewise.
64440         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64441         $(test-program-cmd).
64442         ($(objpfx)tst-array1-static.out): Likewise.
64443         ($(objpfx)tst-array2.out): Likewise.
64444         ($(objpfx)tst-array3.out): Likewise.
64445         ($(objpfx)tst-array4.out): Likewise.
64446         ($(objpfx)tst-array5.out): Likewise.
64447         ($(objpfx)tst-array5-static.out): Likewise.
64448         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64449         $(test-program-cmd).
64450         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64451         $(run-program-prefix) with $(test-program-prefix).
64452         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64453         (test_program_prefix): This.
64454         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64455         $(run-program-prefix) with $(test-program-prefix).
64456         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64457         (test_program_prefix): This.
64458         * iconvdata/tst-tables.sh: Likewise.
64459         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64460         $(run-program-prefix) with $(test-program-prefix).
64461         ($(objpfx)tst-translit.out): Likewise.
64462         ($(objpfx)tst-gettext2.out): Likewise.
64463         ($(objpfx)tst-gettext4.out): Likewise.
64464         ($(objpfx)tst-gettext6.out): Likewise.
64465         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64466         (test_program_prefix): This.
64467         * intl/tst-gettext2.sh: Likewise.
64468         * intl/tst-gettext4.sh  Likewise.
64469         * intl/tst-gettext6.sh: Likewise.
64470         * intl/tst-translit.sh: Likewise.
64471         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64472         with $(test-program-cmd).
64473         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64474         $(run-program-prefix) with $(test-program-prefix).
64475         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64476         (test_program_prefix): This.
64477         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64478         $(run-program-prefix) with $(test-program-prefix).
64479         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64480         (test_program_prefix): This.
64481         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64482         * posix/Makefile ($(objpfx)globtest.out): Replace
64483         $(run-via-rtld-prefix) and $(test-wrapper) with
64484         $(test-program-prefix) and $(test-via-rtld-prefix).
64485         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64486         $(test-program-prefix).
64487         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
64488         $(host-test-program-cmd).
64489         (tst-spawn-ARGS): Likewise.
64490         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
64491         $(test-program-prefix).
64492         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
64493         (test_via_rtld_prefix): This.
64494         (test_wrapper): Renamed to ...
64495         (test_program_prefix): This.
64496         (run_program_prefix): Replaced by test_program_prefix.
64497         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
64498         (test_program_prefix): This.
64499         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
64500         with $(host-test-program-cmd).
64501         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
64502         $(run-program-prefix) with $(test-program-prefix).
64503         ($(objpfx)tst-printf.out): Likewise.
64504         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
64505         $(test-program-cmd).
64506         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
64507         (test_program_prefix): This.
64508         * stdio-common/tst-unbputc.sh: Likewise.
64509         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
64510         $(run-program-prefix) with $(test-program-prefix).
64511         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
64512         (test_program_prefix): This.
64513         * string/Makefile ($(objpfx)tst-svc.out):  Replace
64514         $(built-program-cmd) with $(test-program-cmd).
64516 2013-01-11  Andreas Jaeger  <aj@suse.de>
64518         [BZ #15003]
64519         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
64520         value. Sync with Linux 3.7.
64522 2013-01-10  David S. Miller  <davem@davemloft.net>
64524         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
64525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64528 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64530         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
64531         never set.
64532         * configure: Regenerated.
64534 2013-01-10  David S. Miller  <davem@davemloft.net>
64536         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64537         sparc V9 rather than using V8 code.
64538         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64539         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64541 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64543         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
64544         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
64545         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
64546         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
64547         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
64548         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
64549         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
64550         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
64551         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
64552         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
64553         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
64554         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
64555         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
64556         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
64557         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
64558         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
64559         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
64560         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
64561         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
64562         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
64563         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
64564         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
64565         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
64566         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
64567         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
64568         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
64569         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
64571 2013-01-10  David S. Miller  <davem@davemloft.net>
64573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64575 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64577         * posix/Makefile (tests-static): New variable.
64578         (tests): Add $(tests-static).
64579         (tst-exec-static-ARGS): New variable.
64580         (tst-spawn-static-ARGS): Likewise.
64581         * posix/tst-exec-static.c: New file.
64582         * posix/tst-spawn-static.c: Likewise.
64583         * posix/tst-exec.c: Support run directly.
64584         * posix/tst-spawn.c: Likewise.
64586 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
64588         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
64589         long.
64590         * math/bits/mathcalls.h (llrint): Likewise.
64591         (llround): Likewise.
64592         * stdlib/stdlib.h (struct drand48_data): Likewise.
64593         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
64594         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
64595         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
64596         Likewise.
64597         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
64598         Likewise.
64599         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
64600         (elf_greg_t): Likewise.
64601         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
64602         (__jmp_buf): Likewise.
64603         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
64604         definitions.
64605         (llrint): Likewise, for all definitions.
64606         (llrintl): Likewise.
64608         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
64609         Remove [__GNUC__] condition.
64610         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
64611         condition to just [__USE_ISOC99].
64612         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
64614 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64616         [BZ #14200]
64617         * sysdeps/unix/sysv/linux/x86/bits/environments.h
64618         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
64619         defined.
64620         (_POSIX_V6_ILP32_OFF32): Likewise.
64621         (_XBS5_ILP32_OFF32): Likewise.
64622         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
64623         (__ILP32_OFFBIG_LDFLAGS): Likewise.
64625 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64627         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
64629         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
64630         doubles __mpexp_twomm1.  Adjust usage.
64631         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
64632         Remove.
64634 2013-01-10  Andreas Schwab  <schwab@suse.de>
64636         [BZ #14964]
64637         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64638         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
64640 2013-01-09  David S. Miller  <davem@davemloft.net>
64642         [BZ #15003]
64643         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
64644         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
64645         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
64646         (TCP_FASTOPEN): Define.
64647         (tcp_repair_opt): New structure.
64648         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
64649         enum values.
64650         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
64651         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
64652         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
64653         (tcp_cookie_transactions): New structure.
64655 2013-01-09  Anton Blanchard  <anton@samba.org>
64657         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64658         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64659         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64660         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64662 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64664         * include/features.h (__USE_ANSI): Remove.
64666 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64668         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64670         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64672 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64674         * sysdeps/s390/fpu/libm-test-ulps: Update.
64676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64678         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64679         (__acr): Likewise.
64680         (__cpy): Likewise.
64681         (norm): Likewise.
64682         (denorm): Likewise.
64683         (__mp_dbl): Likewise.
64684         (__dbl_mp): Likewise.
64685         (add_magnitudes): Likewise.
64686         (sub_magnitudes): Likewise.
64687         (__add): Likewise.
64688         (__sub): Likewise.
64689         (__mul): Likewise.
64690         (__inv): Likewise.
64691         (__dvd): Likewise.
64692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64693         (__acr): Likewise.
64694         (__cpy): Likewise.
64695         (norm): Likewise.
64696         (denorm): Likewise.
64697         (__mp_dbl): Likewise.
64698         (__dbl_mp): Likewise.
64699         (add_magnitudes): Likewise.
64700         (sub_magnitudes): Likewise.
64701         (__add): Likewise.
64702         (__sub): Likewise.
64703         (__mul): Likewise.
64704         (__inv): Likewise.
64705         (__dvd): Likewise.
64706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64707         (__acr): Likewise.
64708         (__cpy): Likewise.
64709         (norm): Likewise.
64710         (denorm): Likewise.
64711         (__mp_dbl): Likewise.
64712         (__dbl_mp): Likewise.
64713         (add_magnitudes): Likewise.
64714         (sub_magnitudes): Likewise.
64715         (__add): Likewise.
64716         (__sub): Likewise.
64717         (__mul): Likewise.
64718         (__inv): Likewise.
64719         (__dvd): Likewise.
64721 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64723         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64724         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64725         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64726         2 && __USE_EXTERN_INLINES]: Likewise.
64728 2013-01-08  Andreas Jaeger  <aj@suse.de>
64730         [BZ# 14985]
64731         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64732         Remove.
64733         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64734         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64736 2013-01-07  Anton Blanchard  <anton@samba.org>
64738         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64739         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64740         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64741         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64742         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64743         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64744         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64745         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64747         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64748         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64749         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64751         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64753         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64754         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64755         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64756         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64757         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64758         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64759         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64760         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64761         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64762         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64763         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64764         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64765         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64767         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64768         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64770         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64771         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64772         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64773         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64774         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64775         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64776         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64777         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64778         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64779         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64780         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64782 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64784         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64785         (__MALLOC_PMT): Likewise.
64786         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64787         [__GNUC__], only on [_LIBC].
64788         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64789         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64790         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64791         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64792         forward declaration.
64793         (realloc_hook_ini): Likewise.
64794         (memalign_hook_ini): Likewise.
64795         (__libc_memalign): Do not use __MALLOC_PMT in variable
64796         declaration.
64797         (__libc_valloc): Likewise.
64798         (__libc_pvalloc): Likewise.
64799         (__libc_calloc): Likewise.
64800         (__posix_memalign): Likewise.
64802         [BZ #14996]
64803         * math/s_casinh.c: Include <float.h>.
64804         (__casinh): Do not do computation with squaring and square root
64805         for large arguments.
64806         * math/s_casinhf.c: Include <float.h>.
64807         (__casinhf): Do not do computation with squaring and square root
64808         for large arguments.
64809         * math/s_casinhl.c: Include <float.h>.
64810         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64811         (__casinhl): Do not do computation with squaring and square root
64812         for large arguments.
64813         * math/libm-test.inc (casin_test): Add more tests.
64814         (casinh_test): Likewise.
64815         * sysdeps/i386/fpu/libm-test-ulps: Update.
64816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64818 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64820         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64821         (__x86_64_raw_data_cache_size): Likewise.
64822         (__x86_64_data_cache_size_half): Likewise.
64823         (__x86_64_raw_data_cache_size_half): Likewise.
64824         (__x86_64_shared_cache_size): Likewise.
64825         (__x86_64_raw_shared_cache_size): Likewise.
64826         (__x86_64_shared_cache_size_half): Likewise.
64827         (__x86_64_raw_shared_cache_size_half): Likewise.
64828         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64829         to ...
64830         (__x86_data_cache_size): This.
64831         (__x86_64_raw_data_cache_size): Renamed to ...
64832         (__x86_raw_data_cache_size): This.
64833         (__x86_64_data_cache_size_half): Renamed to ...
64834         (__x86_data_cache_size_half): This.
64835         (__x86_64_raw_data_cache_size_half): Renamed to ...
64836         (__x86_raw_data_cache_size_half): This.
64837         (__x86_64_shared_cache_size): Renamed to ...
64838         (__x86_shared_cache_size): This.
64839         (__x86_64_raw_shared_cache_size): Renamed to ...
64840         (__x86_raw_shared_cache_size): This.
64841         (__x86_64_shared_cache_size_half): Renamed to ...
64842         (__x86_shared_cache_size_half): This.
64843         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64844         (__x86_raw_shared_cache_size_half): This.
64845         * sysdeps/x86_64/memcpy.S: Updated.
64846         * sysdeps/x86_64/memset.S: Likewise.
64847         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64848         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64849         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64851 2013-01-04  David S. Miller  <davem@davemloft.net>
64853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64855 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64857         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64858         1 to avoid redefinition warning.
64859         (__USE_GNU): Don't define.
64860         (init_signaling_nan): Protoize.
64862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64864 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64866         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64868         (__cpymn): Likewise.
64869         (norm): Remove commented code.
64870         (denorm): Likewise.
64871         (__mp_dbl): Likewise.
64872         (__inv): Likewise.
64873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64874         (__cpymn): Likewise.
64875         (norm): Remove commented code.
64876         (denorm): Likewise.
64877         (__mp_dbl): Likewise.
64878         (__inv): Likewise.
64880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64881         mp_no value for 1.0 and 2.0.
64882         (norm): Use RADIXI instead of radixi.d.
64883         (denorm): Likewise.
64884         (__mul): Use 0.0 instead of zero.d.
64885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64886         mp_no value for 1.0 and 2.0.
64887         (norm): Use RADIXI instead of radixi.d.
64888         (denorm): Likewise.
64889         (__mul): Use 0.0 instead of zero.d.
64891 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64893         [BZ #14994]
64894         * math/s_casinh.c (__casinh): Reduce finite argument to first
64895         quadrant then set signs of results at the end.
64896         * math/s_casinhf.c (__casinhf): Likewise.
64897         * math/s_casinhl.c (__casinhl): Likewise.
64898         * math/libm-test.inc (casin_test): Add more tests.
64899         (casinh_test): Likewise.
64900         * sysdeps/i386/fpu/libm-test-ulps: Update.
64901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64903 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64905         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64907         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64909         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64910         declarations.
64911         (denorm): Likewise.
64912         (__mp_dbl): Likewise.
64913         (__inv): Likewise.
64915         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64916         and adjust the header comment.
64918         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64919         variable name from declaration.
64921 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64924         Initialize COMMON_CPUID_INDEX_7 element.
64925         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64926         (CPUID_RTM): Likewise.
64927         (HAS_RTM): Likewise.
64928         (COMMON_CPUID_INDEX_7): New enum.
64930 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64932         [BZ #14981]
64933         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64934         size is zero, record memory as freed.
64936 2013-01-03  Andreas Jaeger  <aj@suse.de>
64938         * po/ia.po: Add new Interlingua translation.
64940 2012-01-03  Allan McRae  <allan@archlinux.org>
64942         * locale/programs/localedef.c: Fix description of '--posix' flag.
64944 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64946         * NEWS: Update dates in second copyright notice.
64947         * README: Update copyright dates in example.
64948         * manual/libc.texinfo: Update copyright dates.
64949         * scripts/test-installation.pl: Update copyright date in --version
64950         output.
64952         * hurd/ctty-input.c: Fix copyright notice formatting.
64953         * hurd/ctty-output.c: Likewise.
64954         * hurd/dtable.c: Likewise.
64955         * hurd/hurd-raise.c: Likewise.
64956         * hurd/hurdprio.c: Likewise.
64957         * hurd/msgportdemux.c: Likewise.
64958         * misc/sys/file.h: Likewise.
64959         * misc/sys/ioctl.h: Likewise.
64960         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64961         * sysdeps/mach/hurd/chdir.c: Likewise.
64962         * sysdeps/mach/hurd/fchdir.c: Likewise.
64963         * sysdeps/mach/hurd/rename.c: Likewise.
64964         * sysdeps/mach/hurd/rmdir.c: Likewise.
64965         * sysdeps/mach/hurd/seekdir.c: Likewise.
64966         * sysdeps/mach/hurd/setsid.c: Likewise.
64967         * sysdeps/posix/wait3.c: Likewise.
64969         * All files with FSF copyright notices: Update copyright dates
64970         using scripts/update-copyrights.
64971         * intl/plural.c: Regenerated.
64972         * locale/programs/charmap-kw.h: Likewise.
64973         * locale/programs/locfile-kw.h: Likewise.
64975 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64977         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64978         four values.
64980         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64981         calculation loop and add branch prediction.
64983         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64984         check access beyond bounds of m1np.
64986         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64987         MPTWO.
64988         (__inv): Remove local variable MPTWO to use the global
64989         constant.
64990         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64991         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64992         variable MPTWO.
64993         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64994         MP3HALFS static const.
64996 2013-01-01  David S. Miller  <davem@davemloft.net>
64998         * po/ca.po: Update from translation team.
65000 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65002         * scripts/update-copyrights: New file.
65003         * Makeconfig: Reformat copyright notice.
65004         * ctype/ctype.h: Likewise.
65005         * debug/swprintf_chk.c: Likewise.
65006         * elf/dl-cache.c: Likewise.
65007         * elf/dl-debug.c: Likewise.
65008         * elf/dl-object.c: Likewise.
65009         * grp/initgroups.c: Likewise.
65010         * hurd/Makefile: Likewise.
65011         * hurd/hurd/signal.h: Likewise.
65012         * hurd/hurdfault.c: Likewise.
65013         * hurd/hurdioctl.c: Likewise.
65014         * hurd/hurdlookup.c: Likewise.
65015         * hurd/intr-msg.c: Likewise.
65016         * iconv/gconv_open.c: Likewise.
65017         * libio/swprintf.c: Likewise.
65018         * locale/lc-ctype.c: Likewise.
65019         * locale/nl_langinfo.c: Likewise.
65020         * mach/Machrules: Likewise.
65021         * mach/Makefile: Likewise.
65022         * malloc/obstack.h: Likewise.
65023         * manual/Makefile: Likewise.
65024         * manual/tsort.awk: Likewise.
65025         * misc/bits/stab.def: Likewise.
65026         * nis/nis_print_group_entry.c: Likewise.
65027         * nis/nis_table.c: Likewise.
65028         * nis/nss_compat/compat-pwd.c: Likewise.
65029         * nis/nss_compat/compat-spwd.c: Likewise.
65030         * po/Makefile: Likewise.
65031         * posix/fnmatch.c: Likewise.
65032         * posix/regex.h: Likewise.
65033         * resolv/Makefile: Likewise.
65034         * resolv/nss_dns/dns-network.c: Likewise.
65035         * resolv/res_hconf.c: Likewise.
65036         * scripts/gen-sorted.awk: Likewise.
65037         * soft-fp/soft-fp.h: Likewise.
65038         * stdio-common/printf.h: Likewise.
65039         * stdlib/monetary.h: Likewise.
65040         * stdlib/random.c: Likewise.
65041         * stdlib/random_r.c: Likewise.
65042         * sysdeps/generic/Makefile: Likewise.
65043         * sysdeps/gnu/Makefile: Likewise.
65044         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65045         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65046         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65047         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65048         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65049         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65051         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65052         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65053         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65054         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65055         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65056         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65057         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65058         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65059         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65060         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65061         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65062         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65063         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65064         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65065         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65066         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65067         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65068         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65069         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65070         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65071         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65072         * sysdeps/mach/hurd/errnos.awk: Likewise.
65073         * sysdeps/mach/hurd/fork.c: Likewise.
65074         * sysdeps/mach/hurd/getcwd.c: Likewise.
65075         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65076         * sysdeps/mach/hurd/mmap.c: Likewise.
65077         * sysdeps/mach/hurd/utimes.c: Likewise.
65078         * sysdeps/mach/hurd/xmknod.c: Likewise.
65079         * sysdeps/posix/profil.c: Likewise.
65080         * sysdeps/posix/readdir_r.c: Likewise.
65081         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65082         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65083         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65084         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65085         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65086         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65087         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65088         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65090         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65091         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65092         * sysdeps/pthread/lio_listio.c: Likewise.
65093         * sysdeps/sparc/dl-procinfo.h: Likewise.
65094         * sysdeps/unix/i386/sysdep.S: Likewise.
65095         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65096         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65097         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65098         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65100         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65101         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65102         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65103         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65104         * sysdeps/wordsize-32/divdi3.c: Likewise.
65105         * time/sys/time.h: Likewise.
65106         * wcsmbs/Makefile: Likewise.
65108 2013-01-01  David S. Miller  <davem@davemloft.net>
65110         * po/fr.po: Update from translation team.
65112         * catgets/gencat.c: Update copyright year.
65113         * csu/version.c: Likewise.
65114         * debug/catchsegv.sh: Likewise.
65115         * debug/pcprofiledump.c: Likewise.
65116         * debug/xtrace.sh: Likewise.
65117         * elf/ldconfig.c: Likewise.
65118         * elf/ldd.bash.in: Likewise.
65119         * elf/pldd.c: Likewise.
65120         * elf/sotruss.ksh: Likewise.
65121         * elf/sprof.c: Likewise.
65122         * iconv/iconv_prog.c: Likewise.
65123         * iconv/iconvconfig.c: Likewise.
65124         * locale/programs/locale.c: Likewise.
65125         * locale/programs/localedef.c: Likewise.
65126         * login/programs/pt_chown.c: Likewise.
65127         * malloc/memusage.sh: Likewise.
65128         * malloc/memusagestat.c: Likewise.
65129         * malloc/mtrace.pl: Likewise.
65130         * nscd/nscd.c: Likewise.
65131         * nss/getent.c: Likewise.
65132         * nss/makedb.c: Likewise.
65133         * posix/getconf.c: Likewise.
65135 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65137         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65138         numbers.
65140 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65142         * math/bits/mathcalls.h (modf): Use __nonnull.
65144 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65146         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65147         (split): Use macro CN instead of the bare value.
65148         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65149         could be used.
65150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65151         instead of the bare value.
65152         (power1): Likewise.
65154 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65156         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65157         __ATAN_TWOM.
65158         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65160         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65161         their values.
65162         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65163         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65164         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65165         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65167 2012-12-28  Andreas Jaeger  <aj@suse.de>
65169         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65170         values are from Linux 3.7.
65172         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65173         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65175 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65177         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65178         TRUE case.
65180         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65181         (norm): Likewise.
65182         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65183         variables with preprocessor constants.
65184         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65185         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65186         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65188 2012-12-27  Bruno Haible  <bruno@clisp.org>
65190         [BZ #14317]
65191         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65192         only if needed.
65194 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65197         and use variable directly.
65198         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65200         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65201         MPONE.
65202         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65204         variable MPONE.
65205         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65206         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65207         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65208         include directive.  Remove local variable MPONE.
65209         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65210         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65211         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65213 2012-12-25  David S. Miller  <davem@davemloft.net>
65215         * version.h (RELEASE): Set to "development".
65216         (VERSION): Set to "2.17.90".
65217         * NEWS: Add 2.18 section.
65219 2012-12-21  David S. Miller  <davem@davemloft.net>
65221         * po/hr.po: Update from translation team.
65223 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65225         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65227 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65229         * NEWS:  Mention new memcpy for MIPS.
65231 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65233         * manual/contrib.texi (Contributors): Spelling correction.
65235 2012-12-15  David S. Miller  <davem@davemloft.net>
65237         * po/ru.po: Update from translation team.
65239 2012-12-13  David S. Miller  <davem@davemloft.net>
65241         * NEWS: Mention IFUNC testsuite enhancements.
65243         * po/pl.po: Update from translation team.
65244         * po/bg.po: Likewise.
65246         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65247         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65249 2012-12-11  David S. Miller  <davem@davemloft.net>
65251         * po/sv.po: Update from translation team.
65253         * po/vi.po: Update from translation team.
65255         * po/cs.po: Update from translation team.
65257         * po/de.po: Update from translation team.
65258         * po/eo.po: Likewise.
65259         * po/nl.po: Likewise.
65261 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65263         [BZ #14246]
65264         * manual/argp.texi (Argp Helper Functions): Move node to follow
65265         Argp Parsing State.
65267         [BZ #14872]
65268         * manual/conf.texi (Limits on File System Capacity): Mention if
65269         terminating null is included in the max size.
65271 2012-12-10  Andreas Jaeger  <aj@suse.de>
65273         * po/cs.po: Update from translation team.
65275 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65277         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65278         void pointer and cast to uintptr_t.
65279         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65280         path.
65281         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65282         * sysdeps/s390/s390-64/memset.S: Likewise.
65284 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65286         [BZ #14833]
65287         * menual/message.texi (Message Translation): Fix typos.
65288         (Helper programs for gettext): Likewise.
65290 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65292         [BZ #14898]
65293         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65294         Change to -1.
65296 2012-12-07  David S. Miller  <davem@davemloft.net>
65298         * po/libc.pot: Update.
65300 2012-12-07  Richard Henderson  <rth@redhat.com>
65302         [BZ #10114]
65303         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65304         normal/normal case to before the switch.
65305         (_FP_DIV): Likewise.
65307 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65308             Mike Frysinger  <vapier@gentoo.org>
65310         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65311         check for __NR_fadvise64_64.
65313 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65315         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65316         0, not just to plain "0" as a statement.
65317         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65318         with cw.
65320 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65322         * NEWS: Use sourceware.org in Bugzilla URL.
65324 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65327         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65329         * stdio-common/tst-put-error.c (do_test): Add newline to the
65330         padded test to ensure flush.
65332 2012-12-05  Jeff Law  <law@redhat.com>
65334         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65336 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65338         * README: Don't refer to ports add-on as distributed separately.
65339         Mention AArch64 in list of systems supported in the ports add-on.
65341         * LICENSES: Add more non-FSF copyright and license notices.
65343         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65344         ((unused)).
65346         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65348         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65349         10000 as width of padded output.
65351 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65353         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65355         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65356         variable LX with __attribute__ ((unused)).
65357         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65358         Likewise.
65359         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65361         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65362         with __attribute__ ((unused)).
65364 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65366         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65368 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65370         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65371         (CFLAGS-nldbl-acos.c): New variable.
65372         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65373         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65374         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65375         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65376         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65377         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65378         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65379         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65380         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65381         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65382         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65383         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65384         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65385         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65386         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65387         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65388         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65389         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65390         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65391         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65392         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65393         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65394         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65395         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65396         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65397         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65398         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65399         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65400         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65401         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65402         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65403         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65404         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65405         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65406         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65407         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65408         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65409         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65410         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65411         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65412         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65413         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65414         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65415         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65416         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65417         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65418         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65419         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65420         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65421         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65422         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65423         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65424         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65425         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65426         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65427         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65428         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65429         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65430         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65431         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65432         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65433         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65434         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65435         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65436         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65437         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65438         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65439         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65440         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65441         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65442         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65443         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65444         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65445         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65446         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65447         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65448         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65449         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65450         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65451         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65452         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65453         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65454         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65455         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65456         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65457         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65458         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65459         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65460         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65461         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65462         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65463         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65464         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65465         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65466         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65467         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65468         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65471         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65473         [BZ #14914]
65474         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65475         whole low double instead of just low 47 bits when splitting values
65476         into two parts.
65478 2012-12-03  Allan McRae  <allan@archlinux.org>
65480         * manual/stdio.texi (Predefined Printf Handlers): Remove
65481         @hsep and @vsep usage.
65483 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65485         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65486         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
65488 2012-12-03  Jeff Law  <law@redhat.com>
65490         * time/sys/time.h (settimeofday): Do not mark TV argument
65491         as __nonnull.
65493 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
65495         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
65496         when currently writing and seek to current position when not.
65497         * libio/Makefile (tests): Remove bug-fclose1.
65498         * libio/bug-fclose1.c: Delete.
65500 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
65502         * manual/arith.texi (feenableexcept): Fix typo.
65503         (fedisableexcept): Likewise.
65505 2012-11-30  Roland McGrath  <roland@hack.frob.com>
65507         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
65508         second, differently-typed declaration, rather than a cast.
65510 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65512         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
65513         * include/rpc/svc.h: ... here.
65515 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
65517         [BZ #13013]
65518         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
65519         depending n and resplen2 to catch cases where answer
65520         equals answerp2.
65522 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
65524         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
65525         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
65527 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
65529         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
65531 2012-11-29  Roland McGrath  <roland@hack.frob.com>
65533         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
65535 2012-11-28  Jeff Law  <law@redhat.com>
65537         [BZ #13761]
65538         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
65539         dataset_temporary.  Track alloca usage into alloca_used.
65540         If dataset is large allocate and release it via malloc/free.
65542 2012-06-04  Florian Weimer  <fweimer@redhat.com>
65544         [BZ #14197]
65545         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
65547 2012-11-28  David S. Miller  <davem@davemloft.net>
65549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65551 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65553         [BZ #14803]
65554         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
65555         of pi/2 rounded to nearest to 64 bits.
65556         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
65557         nearest to 64 bits.
65558         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
65559         bits.
65561 2012-11-28  Jeff Law <law@redhat.com>
65562             Martin Osvald <mosvald@redhat.com>
65564         [BZ #14889]
65565         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
65566         * sunrpc/svc.c: Include time.h.
65567         (__svc_accept_failed): New function.
65568         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
65569         any reason other than EINTR, call __svc_accept_failed.
65570         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
65571         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
65573 2012-11-28  Andreas Schwab  <schwab@suse.de>
65575         * scripts/abilist.awk: Also handle indirect functions in .opd
65576         section.
65578 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65580         [BZ #13881]
65581         * sysdeps/x86/fpu/powl_helper.c: New file.
65582         * sysdeps/x86/fpu/Makefile: Likewise.
65583         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
65584         (p3): New object.
65585         (__ieee754_powl): Use __powl_helper for finite arguments except
65586         integer exponents below 8.
65587         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
65588         (p3): New object.
65589         (__ieee754_powl): Use __powl_helper for finite arguments except
65590         integer exponents below 8.
65591         * math/libm-test.inc (pow_test): Add more tests and enable some
65592         previously disabled tests.
65593         * sysdeps/i386/fpu/libm-test-ulps: Update.
65594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65596 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65597             Carlos O'Donell  <carlos_odonell@mentor.com>
65599         * nss/makedb.c (is_prime): Assert that input is odd and greater
65600         than 4.  Note that fact in a comment too.
65601         (next_prime): Add 4 to input.
65603 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65605         [BZ #11741]
65606         * libio/Makefile (tests): Add test case tst-fwrite-error.
65607         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
65608         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
65609         * libio/tst-fwrite-error.c: New test case.
65611 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
65613         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
65614         before casting to void *.
65615         * include/libc-internal.h (__pointer_type): New macro.
65616         (__integer_if_pointer_type_sub): Likewise.
65617         (__integer_if_pointer_type): Likewise.
65618         (cast_to_integer): Likewise.
65619         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
65620         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
65621         before casting to atomic64_t.
65622         (atomic_exchange_acq): Likewise.
65623         (__arch_exchange_and_add_body): Likewise.
65624         (__arch_add_body): Likewise.
65625         (atomic_add_negative): Likewise.
65626         (atomic_add_zero): Likewise.
65628 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
65630         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
65631         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
65632         (add_fdes): Likewise.
65633         (linear_search_fdes): Likewise.
65634         (binary_search_unencoded_fdes): Likewise.
65636 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
65638         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
65640 2012-11-24  Adam Conrad  <adconrad@0c3.net>
65642         * configure.in: Autodetect C++ header directories.
65643         * configure: Regenerated.
65645 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
65647         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
65649 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
65651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65653 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65655         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65656         LDBL_MANT_DIG == 106]: Disable some tests.
65657         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65658         Likewise.
65659         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65660         Likewise.
65662         [BZ #14871]
65663         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65664         input for small inputs.  Return +/- pi/2 for large inputs.
65665         * math/libm-test.inc (atan_test): Add more tests.
65667         * sysdeps/generic/unwind-dw2-fde-glibc.c
65668         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65669         __attribute__ ((unused)).
65671         [BZ #14645]
65672         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65673         x * y if x and y are nonzero and z is zero.
65675         [BZ #14811]
65676         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65677         nonzero exponents with absolute value below 0x1p-117 to +/-
65678         0x1p-117.
65680         [BZ #14869]
65681         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65682         up arguments below 2**-450, not just those below 2**-500.
65683         * math/libm-test.inc (hypot_test): Add another test.
65685         [BZ #14868]
65686         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65687         Return a+b for ratio over 2**120, not 2**60.
65688         * math/libm-test.inc (hypot_test): Add another test.
65690         * math/libm-test.inc (clog_test): Use
65691         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65692         (clog10_test): Likewise.
65694         [BZ #6778]
65695         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65697 2012-11-22  Andreas Schwab  <schwab@suse.de>
65699         * sysdeps/i386/fpu/libm-test-ulps: Update.
65701 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65703         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65704         printf output with newline.
65706 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65708         [BZ #14865]
65709         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65710         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65711         -z nodlopen, -z initfirst and -z execstack support.
65712         * configure: Regenerated.
65714         * elf/elf.h (DF_1_NODIRECT): New macro.
65715         (DF_1_IGNMULDEF): Likewise.
65716         (DF_1_NOKSYMS): Likewise.
65717         (DF_1_NOHDR): Likewise.
65718         (DF_1_EDITED): Likewise.
65719         (DF_1_NORELOC): Likewise.
65720         (DF_1_SYMINTPOSE): Likewise.
65721         (DF_1_GLOBAUDIT): Likewise.
65722         (DF_1_SINGLETON): Likewise.
65723         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65724         DT_1_SUPPORTED_MASK bits.
65725         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65727 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65729         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65731 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65733         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65734         macro.
65736         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65737         (sendmmsg): Move declarations...
65738         * socket/sys/socket.h: ... here.
65739         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65740         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65741         include it from...
65742         * socket/recvmmsg.c: ... this new file.
65743         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65744         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65745         definition of __sendmmsg hidden.
65746         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65747         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65748         Move ENOSYS stub into and include it from...
65749         * socket/sendmmsg.c: ... this new file.
65750         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65751         (sysdep_routines): Move recvmmsg and sendmmsg...
65752         * socket/Makefile (routines): ... here.
65753         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65754         (GLIBC_PRIVATE): Add __sendmmsg.
65755         * include/sys/socket.h (__sendmmsg): Add declarations.
65756         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65757         sendmmsg.
65759 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65761         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65762         variable I1 with __attribute__ ((unused)).
65763         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65765 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65767         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65768         DUMMY variables with __attribute__ ((unused)).
65770         * bits/byteswap.h: Include <bits/types.h>.
65771         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65773 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65775         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65776         string_t.  Do not manually set errno.
65777         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65778         length with __strnlen.  Make sure to both set errno and return it on
65779         failure.
65781 2012-11-19  David S. Miller  <davem@davemloft.net>
65783         With help from Joseph Myers.
65784         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65785         very large arguments properly.
65786         * math/libm-test.inc (atan_test): New tests.
65787         (atan2_test): New tests.
65788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65791 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65793         [BZ #14856]
65794         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65795         Define to 3.
65797         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65798         [POSIX] (EADDRNOTAVAIL): Likewise.
65799         [POSIX] (EAFNOSUPPORT): Likewise.
65800         [POSIX] (EALREADY): Likewise.
65801         [POSIX] (ECONNABORTED): Likewise.
65802         [POSIX] (ECONNREFUSED): Likewise.
65803         [POSIX] (ECONNRESET): Likewise.
65804         [POSIX] (EDESTADDRREQ): Likewise.
65805         [POSIX] (EDQUOT): Likewise.
65806         [POSIX] (EHOSTUNREACH): Likewise.
65807         [POSIX] (EIDRM): Likewise.
65808         [POSIX] (EISCONN): Likewise.
65809         [POSIX] (ELOOP): Likewise.
65810         [POSIX] (EMULTIHOP): Likewise.
65811         [POSIX] (ENETDOWN): Likewise.
65812         [POSIX] (ENETUNREACH): Likewise.
65813         [POSIX] (ENOBUFS): Likewise.
65814         [POSIX] (ENODATA): Likewise.
65815         [POSIX] (ENOLINK): Likewise.
65816         [POSIX] (ENOMSG): Likewise.
65817         [POSIX] (ENOPROTOOPT): Likewise.
65818         [POSIX] (ENOSR): Likewise.
65819         [POSIX] (ENOSTR): Likewise.
65820         [POSIX] (ENOTCONN): Likewise.
65821         [POSIX] (ENOTSOCK): Likewise.
65822         [POSIX] (EOPNOTSUPP): Likewise.
65823         [POSIX] (EOVERFLOW): Likewise.
65824         [POSIX] (EPROTO): Likewise.
65825         [POSIX] (EPROTONOSUPPORT): Likewise.
65826         [POSIX] (EPROTOTYPE): Likewise.
65827         [POSIX] (ESTALE): Likewise.
65828         [POSIX] (ETIME): Likewise.
65829         [POSIX] (ETXTBSY): Likewise.
65830         [POSIX] (EWOULDBLOCK): Likewise.
65831         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65832         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65833         [POSIX] (SEEK_CUR): Likewise.
65834         [POSIX] (SEEK_END): Likewise.
65835         [POSIX || UNIX98] (mode_t): Do not require.
65836         [POSIX] (off_t): Likewise.
65837         [POSIX] (pid_t): Likewise.
65838         [POSIX] (sys/stat.h): Do not allow header.
65839         [POSIX] (unistd.h): Likewise.
65840         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65841         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65842         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65843         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65844         require.
65845         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65846         sigevent): Specify elements.
65847         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65848         entry.
65849         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65850         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65852         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65853         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65854         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65855         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65856         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65857         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65858         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65859         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65860         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65861         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65862         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65863         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65864         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65865         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65866         Likewise.
65867         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65868         Likewise.
65869         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65870         Likewise.
65871         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65872         Likewise.
65873         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65874         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65875         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65876         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65877         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65878         Specify lower bound on value.
65879         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65880         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65881         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65882         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65883         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65884         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65885         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65886         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65887         value.
65888         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65889         as optional.
65890         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65891         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65892         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65893         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65894         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65895         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65896         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65897         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65898         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65899         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65900         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65901         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65902         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65903         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65904         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65905         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65906         entry.
65907         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65908         optional.
65909         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65910         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65911         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65912         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65913         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65914         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65915         Likewise.
65916         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65917         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65918         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65919         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65920         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65921         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65922         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65923         as optional.
65924         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65925         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65926         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65927         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65928         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65929         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65930         specify as optional.
65931         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65932         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65933         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65934         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65935         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65936         [XPG3] (NL_LANGMAX): Likewise.
65937         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65938         [POSIX || XPG3] (NL_NMAX): Likewise.
65939         [POSIX || XPG3] (NL_SETMAX): Likewise.
65940         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65941         [XPG3] (NZERO): Likewise.
65942         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65943         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65944         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65945         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65946         (REG_ERANGE): Expect.
65947         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65948         optional-constant.
65949         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65950         Use (void) in prototype.
65951         [POSIX] (*_t): Allow.
65952         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65953         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65954         (WRDE_BADVAL): Expect.
65956         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65957         expect.
65958         [XPG3 || XPG4] (O_RSYNC): Likewise.
65959         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65960         Likewise.
65961         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65962         [XPG3 || XPG4] (sigqueue): Likewise.
65963         [XPG3 || XPG4] (sigtimedwait): Likewise.
65964         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65965         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65966         [XPG3 || XPG4] (vsnprintf): Likewise.
65967         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65968         Likewise.
65969         [XPG3 || XPG4] (blksize_t): Likewise.
65970         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65971         Likewise.
65972         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65973         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65974         [XPG3 || XPG4] (struct itimerspec): Likewise.
65975         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65976         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65977         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65978         [XPG3 || XPG4] (clockid_t): Likewise.
65979         [XPG3 || XPG4] (timer_t): Likewise.
65980         [XPG3 || XPG4] (clock_getres): Likewise.
65981         [XPG3 || XPG4] (clock_gettime): Likewise.
65982         [XPG3 || XPG4] (clock_settime): Likewise.
65983         [XPG3 || XPG4] (nanosleep): Likewise.
65984         [XPG3 || XPG4] (timer_create): Likewise.
65985         [XPG3 || XPG4] (timer_delete): Likewise.
65986         [XPG3 || XPG4] (timer_gettime): Likewise.
65987         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65988         [XPG3 || XPG4] (timer_settime): Likewise.
65989         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65990         [XPG3 || XPG4] (getlogin_r): Likewise.
65991         [XPG3 || XPG4] (pread): Likewise.
65992         [XPG3 || XPG4] (pthread_atfork): Likewise.
65993         [XPG3 || XPG4] (pwrite): Likewise.
65995         [BZ #14835]
65996         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65997         <bits/siginfo.h>.
65999 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66001         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66002         finalizing MALLSTREAM.
66004         * sysdeps/mach/hurd/syncfs.c: New file.
66006 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66008         [BZ #14719]
66009         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66010         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66011         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66012         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66013         (_nss_dns_gethostbyname4_r): Likewise.
66014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66015         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66017 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66019         [BZ #13763]
66020         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66022 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66024         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66025         * elf/cache.c (print_entry): Print ",AArch64" for
66026         FLAG_AARCH64_LIB64
66028         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66029         * elf/cache.c (print_entry): Print ",hard-float" for
66030         FLAG_ARM_LIBHF.
66032 2012-11-18  David S. Miller  <davem@davemloft.net>
66034         With help from Joseph Myers.
66035         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66036         cutoff to 2**-13.
66037         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66038         cutoff to 2**-25.
66039         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66040         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66041         small.
66042         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66043         * math/libm-test.inc (y0_test): New tests.
66044         (y1_test): New tests.
66045         * sysdeps/i386/fpu/libm-test-ulps: Update.
66046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66049 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66051         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66052         64-bit targets.
66053         * configure: Regenerated.
66055 2012-11-17  David S. Miller  <davem@davemloft.net>
66057         [BZ #14811]
66058         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66059         nonzero exponents with absolute value below 0x1p-128 to +/-
66060         0x1p-128.
66062 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66064         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66066         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66068         * posix/getconf-speclist.c: New file.
66069         * posix/posix-envs.def: Likewise.
66070         * posix/confstr.c (START_ENV_GROUP): New macro.
66071         (END_ENV_GROUP): Likewise.
66072         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66073         (KNOWN_PRESENT_ENV_STRING): Likewise.
66074         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66075         (UNKNOWN_ENVIRONMENT): Likewise.
66076         (confstr): Include posix-envs.def instead of handling
66077         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66078         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66079         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66080         (END_ENV_GROUP): Likewise.
66081         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66082         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66083         (UNKNOWN_ENVIRONMENT): Likewise.
66084         (__sysconf): Include posix-envs.def instead of handling associated
66085         cases directly here.
66086         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66087         preprocessing getconf-speclist.c rather than running getconf or
66088         generating empty file.
66090 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66092         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66094 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66096         [BZ #14672]
66097         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66099 2012-11-16  David S. Miller  <davem@davemloft.net>
66101         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66102         smaller than LDBL_EPSILON/2.0L, just return xm1.
66104 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66106         * elf/tst-array1.c (init): Set constructor priority to 1000.
66107         (fini): Set destructor priority to 1000.
66108         * elf/tst-array2dep.c: Likewise.
66110 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66112         [BZ #11741]
66113         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66114         (_IO_new_file_xsputn): Also return EOF if none of the input
66115         data was written when overflow failed.
66116         * libio/iopadn.c (_IO_padn): Likewise.
66117         * libio/iowpadn.c (_IO_wpadn): Likewise.
66118         * stdio-common/tst-put-error.c: Add copyright notice.
66119         (do_test): Add case for printing padded string.
66120         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66121         _IO_padn returned error.
66122         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66123         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66124         return EOF.
66126 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66128         * libio/libioP.h: Add comment note that the references to C++
66129         bits are now obsolete.
66131 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66133         * math/libm-test.inc (check_complex): Use asprintf.
66135 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66137         * debug/pcprofiledump.c (print_version): Update copyright year.
66138         * malloc/memusagestat.c (print_version): Likewise.
66140 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66142         [BZ #14831]
66143         * elf/Makefile (tests): Add tst-audit8.
66144         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66145         ($(objpfx)tst-audit8.out): New target.
66146         (tst-audit8-ENV): New variable.
66147         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66148         audit if l_reloc_result is NULL.
66149         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66150         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66151         * elf/tst-audit8.c: New file.
66153 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66155         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66156         * misc/Makefile (CFLAGS-select.c): Define.
66157         * posix/Makefile (CFLAGS-pause.c): Define.
66159 2012-11-13  David S. Miller  <davem@davemloft.net>
66161         * crypt/Makefile: Move test targets after toplevel Rules
66162         inclusion.  Grab any necessary sysdep routines when linking.
66163         * crypt/md5.c (md5_process_block): Remove define, we will always
66164         name it __md5_process_block.
66165         (md5_finish_ctx): Update md5_process_block call.
66166         (md5_stream): Likewise.
66167         (md5_process_bytes): Likewise.
66168         (md5_process_block): Rename to __md5_process_block and move to ...
66169         * crypt/md5-block.c: ... here.
66170         * crypt/sha256.c (sha256_process_block): Move to ...
66171         * crypt/sha256-block.c: ... here.
66172         * crypt/sha512.c (sha512_process_block): Move to ...
66173         * crypt/sha512-block.c: ... here.
66174         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66175         path.
66176         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66177         * sysdeps/sparc/sparc64/multiarch/Makefile
66178         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66179         crypt subdir.
66180         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66181         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66182         multiarch changes.
66183         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66184         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66185         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66186         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66187         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66188         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66189         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66190         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66191         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66192         file.
66193         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66194         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66195         file.
66196         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66198 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66200         * timezone/tzselect.ksh: Update from tzcode git revision
66201         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66202         * timezone/zdump.c: Likewise.
66203         * timezone/zic.c: Likewise.
66204         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66205         in TZVERSION setting, not $(PKGVERSION).
66206         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66207         REPORT_BUGS_TO settings.
66209         [BZ #14838]
66210         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66211         macro.
66213 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66215         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66216         detection to immediately after _FP_ROUND().
66217         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66218         bits are 0.
66220 2012-11-11  David S. Miller  <davem@davemloft.net>
66222         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66223         inttypes.h
66224         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66225         __close rather than their public counterparts.
66227 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66229         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66230         file.
66231         [UNIX98] (sem_timedwait): Do not expect.
66232         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66233         [XPG4 || UNIX98] (sockatmark): Do not expect.
66234         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66235         (clock_getcpuclockid): Do not expect.
66236         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66237         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66238         Do not expect.
66239         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66240         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66241         [UNIX98] (vwscanf): Likewise.
66242         [UNIX98] (vswscanf): Likewise.
66244 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66246         * timezone/version.h: Remove file.
66247         * timezone/README: Do not refer to version.h.
66248         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66249         $(objpfx)version.h.
66250         ($(objpfx)zdump.o): Likewise.
66251         ($(objpfx)version.h): New target.
66253         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66254         2012i.
66255         * timezone/README: Don't mention modification to tzselect.ksh.
66256         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66257         work on unmodified tzselect.ksh.  Substitute version numbers in
66258         tzselect.ksh.
66260         * Makefile (format-me): Remove.
66261         (INSTALL): Adjust indentation.  Use commands directly instead of
66262         using $(format-me).
66264         * aclocal.m4 (ACX_PKGVERSION): New macro.
66265         (ACX_BUGURL): Likewise.
66266         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66267         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66268         (REPORT_BUGS_TO): Likewise.
66269         * configure: Regenerated.
66270         * config.h.in (PKGVERSION): New macro.
66271         (REPORT_BUGS_TO): Likewise.
66272         * config.make.in (PKGVERSION): New variable.
66273         (PKGVERSION_TEXI): Likewise.
66274         (REPORT_BUGS_TO): Likewise.
66275         (REPORT_BUGS_TEXI): Likewise.
66276         * Makefile (format-me): Use -I$(common-objpfx)manual.
66277         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66278         ($(common-objpfx)manual/%): New target.
66279         (manual/%): Remove target.
66280         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66281         (print_version): Use PKGVERSION.
66282         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66283         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66284         and REPORT_BUGS_TO.
66285         ($(objpfx)xtrace): Likewise.
66286         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66287         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66288         (print_version): Use PKGVERSION.
66289         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66290         (do_version): Use PKGVERSION.
66291         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66292         REPORT_BUGS_TO.
66293         (common-ldd-rewrite): Likewise.
66294         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66295         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66296         (print_version): Use PKGVERSION.
66297         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66298         * elf/pldd.c (argp_program_bug_address): Remove variable.
66299         (more_help): New function.
66300         (argp): Use more_help.
66301         (print_version): Use PKGVERSION.
66302         * elf/sln.c (main): Use PKGVERSION.
66303         (usage): Use REPORT_BUGS_TO.
66304         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66305         (top level): Use PKGVERSION.
66306         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66307         (print_version): Use PKGVERSION.
66308         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66309         (print_version): Use PKGVERSION.
66310         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66311         (print_version): Use PKGVERSION.
66312         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66313         (print_version): Use PKGVERSION.
66314         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66315         (print_version): Use PKGVERSION.
66316         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66317         (print_version): Use PKGVERSION.
66318         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66319         and BUGURL.
66320         ($(objpfx)memusage): Likewise.
66321         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66322         (do_version): Use PKGVERSION.
66323         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66324         (print_version): Use PKGVERSION.
66325         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66326         ($PKGVERSION): New variable.
66327         ($REPORT_BUGS_TO): Likewise.
66328         (usage): Use $REPORT_BUGS_TO.
66329         (top level): Use $PKGVERSION.
66330         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66331         ($(objpfx)pkgvers.texi): New rule.
66332         ($(objpfx)stamp-pkgvers): Likewise.
66333         * manual/install.texi: Include pkgvers.texi.
66334         (--with-pkgversion): Document new configure option.
66335         (--with-bugurl): Likewise.
66336         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66337         than necessarily for this particular distribution.  Use
66338         REPORT_BUGS_TO for where to report bugs.
66339         * INSTALL: Regenerated.
66340         * manual/libc.texinfo: Include pkgvers.texi.
66341         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66342         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66343         (print_version): Use PKGVERSION.
66344         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66345         (print_version): Use PKGVERSION.
66346         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66347         (print_version): Use PKGVERSION.
66348         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66349         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66350         macro.
66351         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66352         (print_version): Use PKGVERSION.
66353         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66354         (print_version): Use PKGVERSION.
66355         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66356         and PKGVERSION.
66358         * timezone/checktab.awk: Update from tzcode 2012i.
66359         * timezone/ialloc.c: Likewise.
66360         * timezone/private.h: Likewise.
66361         * timezone/scheck.c: Likewise.
66362         * timezone/tzfile.h: Likewise.
66363         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66364         (TZVERSION): Hardcode tzcode version number.
66365         * timezone/zdump.c: Update from tzcode 2012i.
66366         * timezone/zic.c: Likewise.
66367         * timezone/version.h: New file.
66368         * timezone/README: Describe version.h.  Update upstream location.
66370         [BZ #14824]
66371         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66372         (mktemp): Enable declaration.
66373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66374         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66375         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66376         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66377         Likewise.
66378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66379         Likewise.
66380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66381         Likewise.
66382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66383         Likewise.
66384         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66385         Likewise.
66386         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66387         Likewise.
66389         [BZ #14821]
66390         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66391         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66392         for copies of such integer values.
66393         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66394         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66396 2012-11-09  Andreas Jaeger  <aj@suse.de>
66398         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66399         definitions and declarations that are provided by
66400         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66402 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66404         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66405         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66406         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66407         definition.
66409 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66411         * elf/elf.h: Update comment before AArch64 relocations.
66413 2012-11-07  David S. Miller  <davem@davemloft.net>
66415         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66416         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66417         (__start_context): Declare.
66418         (__makecontext_ret): Delete.
66419         (__makecontext): Hook up __start_context instead of
66420         __makecontext_ret.
66421         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66422         (sysdep_routines): Add __start_context when in stdlib.
66424 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66426         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66427         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66428         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66429         hardcoded "nm".
66430         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66431         (READELF): New variable.  Use it instead of hardcoded "readelf".
66433 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66435         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66436         * sysdeps/x86/Makefile: Here.
66437         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66438         * sysdeps/x86/tst-xmmymm.sh: This.
66440 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66442         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66443         expectations.
66444         [UNIX98] (pthread_barrier_t): Do not expect.
66445         [UNIX98] (pthread_barrierattr_t): Likewise.
66446         [UNIX98] (pthread_spinlock_t): Likewise.
66447         [UNIX98] (pthread_barrier_destroy): Likewise.
66448         [UNIX98] (pthread_barrier_init): Likewise.
66449         [UNIX98] (pthread_barrier_wait): Likewise.
66450         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66451         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66452         [UNIX98] (pthread_barrierattr_init): Likewise.
66453         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66454         [UNIX98] (pthread_getcpuclockid): Likewise.
66455         [UNIX98] (pthread_mutex_timedlock): Likewise.
66456         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66457         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66458         [UNIX98] (pthread_sigmask): Likewise.
66459         [UNIX98] (pthread_spin_destroy): Likewise.
66460         [UNIX98] (pthread_spin_init): Likewise.
66461         [UNIX98] (pthread_spin_lock): Likewise.
66462         [UNIX98] (pthread_spin_trylock): Likewise.
66463         [UNIX98] (pthread_spin_unlock): Likewise.
66464         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66465         Do not expect.
66466         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66467         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66468         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66469         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66470         [XPG3 || XPG4] (pthread_key_t): Likewise.
66471         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66472         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66473         [XPG3 || XPG4] (pthread_once_t): Likewise.
66474         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66475         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66476         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66477         [XPG3 || XPG4] (pthread_t): Likewise.
66479         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66480         not expect.
66481         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66483         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66484         Change function return type to int.
66486         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66487         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
66488         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
66489         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
66490         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
66491         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
66492         [!POSIX] (posix_madvise): Likewise.
66493         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
66494         && !UNIX98].
66495         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
66496         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
66497         (mode_t): Likewise.
66498         (posix_mem_offset): Likewise.
66499         (posix_typed_mem_get_info): Likewise.
66500         (posix_typed_mem_open): Likewise.
66502         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
66503         Change condition to [XOPEN2K8].
66505         * conform/conformtest.pl: Preprocess allow-header data with -x c
66506         instead of from stdin.
66507         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
66508         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
66509         [C99-based standards] (cerfc): Likewise.
66510         [C99-based standards] (cexp2): Likewise.
66511         [C99-based standards] (cexpm1): Likewise.
66512         [C99-based standards] (clog10): Likewise.
66513         [C99-based standards] (clog1p): Likewise.
66514         [C99-based standards] (clog2): Likewise.
66515         [C99-based standards] (clgamma): Likewise.
66516         [C99-based standards] (ctgamma): Likewise.
66517         [C99-based standards] (cerff): Likewise.
66518         [C99-based standards] (cerfcf): Likewise.
66519         [C99-based standards] (cexp2f): Likewise.
66520         [C99-based standards] (cexpm1f): Likewise.
66521         [C99-based standards] (clog10f): Likewise.
66522         [C99-based standards] (clog1pf): Likewise.
66523         [C99-based standards] (clog2f): Likewise.
66524         [C99-based standards] (clgammaf): Likewise.
66525         [C99-based standards] (ctgammaf): Likewise.
66526         [C99-based standards] (cerfl): Likewise.
66527         [C99-based standards] (cerfcl): Likewise.
66528         [C99-based standards] (cexp2l): Likewise.
66529         [C99-based standards] (cexpm1l): Likewise.
66530         [C99-based standards] (clog10l): Likewise.
66531         [C99-based standards] (clog1pl): Likewise.
66532         [C99-based standards] (clog2l): Likewise.
66533         [C99-based standards] (clgammal): Likewise.
66534         [C99-based standards] (ctgammal): Likewise.
66535         * conform/data/inttypes.h-data [C99-based standards]: Include
66536         stdint.h-data.  Remove all expectations for stdint.h contents.
66537         [C99-based standards] (PRI*): Do not allow.
66538         [C99-based standards] (SCN*): Likewise.
66539         [C99-based standards] (*_t): Likewise.
66540         [C99-based-standards] (PRId8): Expect macro.
66541         [C99-based-standards] (PRIi8): Likewise.
66542         [C99-based-standards] (PRIo8): Likewise.
66543         [C99-based-standards] (PRIu8): Likewise.
66544         [C99-based-standards] (PRIx8): Likewise.
66545         [C99-based-standards] (PRIX8): Likewise.
66546         [C99-based-standards] (SCNd8): Likewise.
66547         [C99-based-standards] (SCNi8): Likewise.
66548         [C99-based-standards] (SCNo8): Likewise.
66549         [C99-based-standards] (SCNu8): Likewise.
66550         [C99-based-standards] (SCNx8): Likewise.
66551         [C99-based-standards] (PRIdLEAST8): Likewise.
66552         [C99-based-standards] (PRIiLEAST8): Likewise.
66553         [C99-based-standards] (PRIoLEAST8): Likewise.
66554         [C99-based-standards] (PRIuLEAST8): Likewise.
66555         [C99-based-standards] (PRIxLEAST8): Likewise.
66556         [C99-based-standards] (PRIXLEAST8): Likewise.
66557         [C99-based-standards] (SCNdLEAST8): Likewise.
66558         [C99-based-standards] (SCNiLEAST8): Likewise.
66559         [C99-based-standards] (SCNoLEAST8): Likewise.
66560         [C99-based-standards] (SCNuLEAST8): Likewise.
66561         [C99-based-standards] (SCNxLEAST8): Likewise.
66562         [C99-based-standards] (PRIdFAST8): Likewise.
66563         [C99-based-standards] (PRIiFAST8): Likewise.
66564         [C99-based-standards] (PRIoFAST8): Likewise.
66565         [C99-based-standards] (PRIuFAST8): Likewise.
66566         [C99-based-standards] (PRIxFAST8): Likewise.
66567         [C99-based-standards] (PRIXFAST8): Likewise.
66568         [C99-based-standards] (SCNdFAST8): Likewise.
66569         [C99-based-standards] (SCNiFAST8): Likewise.
66570         [C99-based-standards] (SCNoFAST8): Likewise.
66571         [C99-based-standards] (SCNuFAST8): Likewise.
66572         [C99-based-standards] (SCNxFAST8): Likewise.
66573         [C99-based-standards] (PRId16): Likewise.
66574         [C99-based-standards] (PRIi16): Likewise.
66575         [C99-based-standards] (PRIo16): Likewise.
66576         [C99-based-standards] (PRIu16): Likewise.
66577         [C99-based-standards] (PRIx16): Likewise.
66578         [C99-based-standards] (PRIX16): Likewise.
66579         [C99-based-standards] (SCNd16): Likewise.
66580         [C99-based-standards] (SCNi16): Likewise.
66581         [C99-based-standards] (SCNo16): Likewise.
66582         [C99-based-standards] (SCNu16): Likewise.
66583         [C99-based-standards] (SCNx16): Likewise.
66584         [C99-based-standards] (PRIdLEAST16): Likewise.
66585         [C99-based-standards] (PRIiLEAST16): Likewise.
66586         [C99-based-standards] (PRIoLEAST16): Likewise.
66587         [C99-based-standards] (PRIuLEAST16): Likewise.
66588         [C99-based-standards] (PRIxLEAST16): Likewise.
66589         [C99-based-standards] (PRIXLEAST16): Likewise.
66590         [C99-based-standards] (SCNdLEAST16): Likewise.
66591         [C99-based-standards] (SCNiLEAST16): Likewise.
66592         [C99-based-standards] (SCNoLEAST16): Likewise.
66593         [C99-based-standards] (SCNuLEAST16): Likewise.
66594         [C99-based-standards] (SCNxLEAST16): Likewise.
66595         [C99-based-standards] (PRIdFAST16): Likewise.
66596         [C99-based-standards] (PRIiFAST16): Likewise.
66597         [C99-based-standards] (PRIoFAST16): Likewise.
66598         [C99-based-standards] (PRIuFAST16): Likewise.
66599         [C99-based-standards] (PRIxFAST16): Likewise.
66600         [C99-based-standards] (PRIXFAST16): Likewise.
66601         [C99-based-standards] (SCNdFAST16): Likewise.
66602         [C99-based-standards] (SCNiFAST16): Likewise.
66603         [C99-based-standards] (SCNoFAST16): Likewise.
66604         [C99-based-standards] (SCNuFAST16): Likewise.
66605         [C99-based-standards] (SCNxFAST16): Likewise.
66606         [C99-based-standards] (PRId32): Likewise.
66607         [C99-based-standards] (PRIi32): Likewise.
66608         [C99-based-standards] (PRIo32): Likewise.
66609         [C99-based-standards] (PRIu32): Likewise.
66610         [C99-based-standards] (PRIx32): Likewise.
66611         [C99-based-standards] (PRIX32): Likewise.
66612         [C99-based-standards] (SCNd32): Likewise.
66613         [C99-based-standards] (SCNi32): Likewise.
66614         [C99-based-standards] (SCNo32): Likewise.
66615         [C99-based-standards] (SCNu32): Likewise.
66616         [C99-based-standards] (SCNx32): Likewise.
66617         [C99-based-standards] (PRIdLEAST32): Likewise.
66618         [C99-based-standards] (PRIiLEAST32): Likewise.
66619         [C99-based-standards] (PRIoLEAST32): Likewise.
66620         [C99-based-standards] (PRIuLEAST32): Likewise.
66621         [C99-based-standards] (PRIxLEAST32): Likewise.
66622         [C99-based-standards] (PRIXLEAST32): Likewise.
66623         [C99-based-standards] (SCNdLEAST32): Likewise.
66624         [C99-based-standards] (SCNiLEAST32): Likewise.
66625         [C99-based-standards] (SCNoLEAST32): Likewise.
66626         [C99-based-standards] (SCNuLEAST32): Likewise.
66627         [C99-based-standards] (SCNxLEAST32): Likewise.
66628         [C99-based-standards] (PRIdFAST32): Likewise.
66629         [C99-based-standards] (PRIiFAST32): Likewise.
66630         [C99-based-standards] (PRIoFAST32): Likewise.
66631         [C99-based-standards] (PRIuFAST32): Likewise.
66632         [C99-based-standards] (PRIxFAST32): Likewise.
66633         [C99-based-standards] (PRIXFAST32): Likewise.
66634         [C99-based-standards] (SCNdFAST32): Likewise.
66635         [C99-based-standards] (SCNiFAST32): Likewise.
66636         [C99-based-standards] (SCNoFAST32): Likewise.
66637         [C99-based-standards] (SCNuFAST32): Likewise.
66638         [C99-based-standards] (SCNxFAST32): Likewise.
66639         [C99-based-standards] (PRId64): Likewise.
66640         [C99-based-standards] (PRIi64): Likewise.
66641         [C99-based-standards] (PRIo64): Likewise.
66642         [C99-based-standards] (PRIu64): Likewise.
66643         [C99-based-standards] (PRIx64): Likewise.
66644         [C99-based-standards] (PRIX64): Likewise.
66645         [C99-based-standards] (SCNd64): Likewise.
66646         [C99-based-standards] (SCNi64): Likewise.
66647         [C99-based-standards] (SCNo64): Likewise.
66648         [C99-based-standards] (SCNu64): Likewise.
66649         [C99-based-standards] (SCNx64): Likewise.
66650         [C99-based-standards] (PRIdLEAST64): Likewise.
66651         [C99-based-standards] (PRIiLEAST64): Likewise.
66652         [C99-based-standards] (PRIoLEAST64): Likewise.
66653         [C99-based-standards] (PRIuLEAST64): Likewise.
66654         [C99-based-standards] (PRIxLEAST64): Likewise.
66655         [C99-based-standards] (PRIXLEAST64): Likewise.
66656         [C99-based-standards] (SCNdLEAST64): Likewise.
66657         [C99-based-standards] (SCNiLEAST64): Likewise.
66658         [C99-based-standards] (SCNoLEAST64): Likewise.
66659         [C99-based-standards] (SCNuLEAST64): Likewise.
66660         [C99-based-standards] (SCNxLEAST64): Likewise.
66661         [C99-based-standards] (PRIdFAST64): Likewise.
66662         [C99-based-standards] (PRIiFAST64): Likewise.
66663         [C99-based-standards] (PRIoFAST64): Likewise.
66664         [C99-based-standards] (PRIuFAST64): Likewise.
66665         [C99-based-standards] (PRIxFAST64): Likewise.
66666         [C99-based-standards] (PRIXFAST64): Likewise.
66667         [C99-based-standards] (SCNdFAST64): Likewise.
66668         [C99-based-standards] (SCNiFAST64): Likewise.
66669         [C99-based-standards] (SCNoFAST64): Likewise.
66670         [C99-based-standards] (SCNuFAST64): Likewise.
66671         [C99-based-standards] (SCNxFAST64): Likewise.
66672         [C99-based-standards] (PRIdMAX): Likewise.
66673         [C99-based-standards] (PRIiMAX): Likewise.
66674         [C99-based-standards] (PRIoMAX): Likewise.
66675         [C99-based-standards] (PRIuMAX): Likewise.
66676         [C99-based-standards] (PRIxMAX): Likewise.
66677         [C99-based-standards] (PRIXMAX): Likewise.
66678         [C99-based-standards] (SCNdMAX): Likewise.
66679         [C99-based-standards] (SCNiMAX): Likewise.
66680         [C99-based-standards] (SCNoMAX): Likewise.
66681         [C99-based-standards] (SCNuMAX): Likewise.
66682         [C99-based-standards] (SCNxMAX): Likewise.
66683         [C99-based-standards] (PRIdPTR): Likewise.
66684         [C99-based-standards] (PRIiPTR): Likewise.
66685         [C99-based-standards] (PRIoPTR): Likewise.
66686         [C99-based-standards] (PRIuPTR): Likewise.
66687         [C99-based-standards] (PRIxPTR): Likewise.
66688         [C99-based-standards] (PRIXPTR): Likewise.
66689         [C99-based-standards] (SCNdPTR): Likewise.
66690         [C99-based-standards] (SCNiPTR): Likewise.
66691         [C99-based-standards] (SCNoPTR): Likewise.
66692         [C99-based-standards] (SCNuPTR): Likewise.
66693         [C99-based-standards] (SCNxPTR): Likewise.
66694         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66695         allow.
66696         * conform/data/stdint.h-data: Update comments to clarify
66697         requirements.
66698         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66699         type.
66700         [C99-based standards] (INT8_MAX): Likewise.
66701         [C99-based standards] (INT16_MIN): Likewise.
66702         [C99-based standards] (INT16_MAX): Likewise.
66703         [C99-based standards] (INT32_MIN): Likewise.
66704         [C99-based standards] (INT32_MAX): Likewise.
66705         [C99-based standards] (INT64_MIN): Likewise.
66706         [C99-based standards] (INT64_MAX): Likewise.
66707         [C99-based standards] (UINT8_MAX): Likewise.
66708         [C99-based standards] (UINT16_MAX): Likewise.
66709         [C99-based standards] (UINT32_MAX): Likewise.
66710         [C99-based standards] (UINT64_MAX): Likewise.
66711         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66712         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66713         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66714         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66715         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66716         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66717         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66718         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66719         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66720         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66721         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66722         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66723         [C99-based standards] (INT_FAST8_MIN): Likewise.
66724         [C99-based standards] (INT_FAST8_MAX): Likewise.
66725         [C99-based standards] (INT_FAST16_MIN): Likewise.
66726         [C99-based standards] (INT_FAST16_MAX): Likewise.
66727         [C99-based standards] (INT_FAST32_MIN): Likewise.
66728         [C99-based standards] (INT_FAST32_MAX): Likewise.
66729         [C99-based standards] (INT_FAST64_MIN): Likewise.
66730         [C99-based standards] (INT_FAST64_MAX): Likewise.
66731         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66732         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66733         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66734         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66735         [C99-based standards] (INTPTR_MIN): Likewise.
66736         [C99-based standards] (INTPTR_MAX): Likewise.
66737         [C99-based standards] (UINTPTR_MAX): Likewise.
66738         [C99-based standards] (INTMAX_MIN): Likewise.
66739         [C99-based standards] (INTMAX_MAX): Likewise.
66740         [C99-based standards] (UINTMAX_MAX): Likewise.
66741         [C99-based standards] (PTRDIFF_MIN): Likewise.
66742         [C99-based standards] (PTRDIFF_MAX): Likewise.
66743         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66744         [C99-based standards] (SIZE_MAX): Likewise.
66745         [C99-based standards] (WCHAR_MAX): Likewise.
66746         [C99-based standards] (WINT_MAX): Likewise.
66747         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66748         constraint on value.
66749         [C99-based standards] (WCHAR_MIN): Likewise.
66750         [C99-based standards] (WINT_MIN): Likewise.
66751         [C99-based standards] (*_t): Allow.
66752         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66753         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66754         Include math.h-data and complex.h-data.  Remove all expectations
66755         of math.h and complex.h contents.
66756         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66757         at end of line.
66758         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66759         (struct tm): Expect tag.
66760         [C99-based-standards] (wcstof): Expect function.
66761         [C99-based-standards] (wcstold): Likewise.
66762         [C99-based-standards] (wcstoll): Likewise.
66763         [C99-based-standards] (wcstoull): Likewise.
66764         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66765         macro-int-constant.  Specify type.
66766         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66767         constraint on value.
66768         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66769         Specify type.
66770         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66771         Specify value.
66772         [ISO C standards]: Do not allow headers.
66773         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66774         wcs[abcdefghijklmnopqrstuvwxyz]*.
66775         [ISO C standards] (*_t): Do not allow.
66776         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66777         Expect function.
66778         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66779         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66780         Specify type.
66781         [ISO C standards]: Do not allow headers.
66782         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66783         is[abcdefghijklmnopqrstuvwxyz]*.
66784         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66785         to[abcdefghijklmnopqrstuvwxyz]*.
66786         [ISO C standards] (*_t): Do not allow.
66787         * conform/data/stdalign.h-data: New file.
66788         * conform/data/stdbool.h-data: Likewise.
66789         * conform/data/stdnoreturn.h-data: Likewise.
66791 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66793         [BZ #14815]
66794         * manual/filesys.texi (Directory Entries): Typo fix.
66795         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66797 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66799         * elf/elf.h (EM_AARCH64): New macro.
66800         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66801         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66802         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66803         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66804         (R_AARCH64_TLSDESC): Likewise.
66805         (NT_ARM_TLS): Likewise.
66806         (NT_ARM_HW_BREAK): Likewise.
66807         (NT_ARM_HW_WATCH): Likewise.
66809 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66811         [BZ #14811]
66812         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66813         (__ieee754_powl): Saturate nonzero exponents with absolute value
66814         below 0x1p-79 to +/- 0x1p-79.
66815         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66816         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66817         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66818         nonzero exponents with absolute value below 0x1p-32 to +/-
66819         0x1p-32.
66820         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66821         (__ieee754_powl): Saturate nonzero exponents with absolute value
66822         below 0x1p-79 to +/- 0x1p-79.
66823         * math/libm-test.inc (pow_test): Add more tests.
66825 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66827         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66828         _dl_s390_cap_flags with kernel. Increase string length.
66829         (_dl_s390_platforms): Add z196 and zEC12.
66831 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66833         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66834         Change XOPEN21K to XOPEN2K.
66836 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66838         * string/memmove.c: Use memcpy when possible.
66840 2012-11-06  Andreas Jaeger  <aj@suse.de>
66842         * po/eo.po: Update from translation team.
66844 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66846         [BZ #14793]
66847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66848         exponent and small x and y exponents, scale x or y up.  Increase
66849         by 2 the exponent used in scaling up.
66850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66851         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66852         * math/libm-test.inc (fma_test): Add more tests.
66853         (fma_test_towardzero): Likewise.
66854         (fma_test_downward): Likewise.
66855         (fma_test_upward): Likewise.
66857 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66859         [BZ #14805]
66860         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66861         fenv_t *.
66863         [BZ #14801]
66864         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66865         namespace for names of struct fields.
66866         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66867         fenv_t fields.
66868         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66869         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66871 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66873         [BZ #3665]
66874         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66876 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66878         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66879         PTR_DEMANGLE.
66881         [BZ #5246]
66882         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66883         PTR_DEMANGLE.
66885 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66887         [BZ #14797]
66888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66889         definitely overflow as x * y not x * y + z.
66890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66892         * math/libm-test.inc (fma_test): Add more tests.
66893         (fma_test_towardzero): Likewise.
66894         (fma_test_downward): Likewise.
66895         (fma_test_upward): Likewise.
66897 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66899         [BZ #157]
66901         * include/stub-tag.h: Remove file.
66902         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66903         '#include' of it.
66904         * manual/maint.texi (Porting): Don't reference it.
66905         * Makerules ($(objpfx)stubs): Likewise.
66906         * dirent/closedir.c: Don't include <stub-tag.h>.
66907         * dirent/dirfd.c: Likewise.
66908         * dirent/fdopendir.c: Likewise.
66909         * dirent/getdents.c: Likewise.
66910         * dirent/getdents64.c: Likewise.
66911         * dirent/opendir.c: Likewise.
66912         * dirent/readdir.c: Likewise.
66913         * dirent/readdir64.c: Likewise.
66914         * dirent/readdir64_r.c: Likewise.
66915         * dirent/readdir_r.c: Likewise.
66916         * dirent/rewinddir.c: Likewise.
66917         * dirent/seekdir.c: Likewise.
66918         * dirent/telldir.c: Likewise.
66919         * gmon/profil.c: Likewise.
66920         * grp/setgroups.c: Likewise.
66921         * inet/if_index.c: Likewise.
66922         * io/access.c: Likewise.
66923         * io/chdir.c: Likewise.
66924         * io/chmod.c: Likewise.
66925         * io/chown.c: Likewise.
66926         * io/close.c: Likewise.
66927         * io/dup.c: Likewise.
66928         * io/dup2.c: Likewise.
66929         * io/dup3.c: Likewise.
66930         * io/euidaccess.c: Likewise.
66931         * io/faccessat.c: Likewise.
66932         * io/fchdir.c: Likewise.
66933         * io/fchmod.c: Likewise.
66934         * io/fchmodat.c: Likewise.
66935         * io/fchown.c: Likewise.
66936         * io/fchownat.c: Likewise.
66937         * io/fcntl.c: Likewise.
66938         * io/flock.c: Likewise.
66939         * io/fstatfs.c: Likewise.
66940         * io/fstatfs64.c: Likewise.
66941         * io/fstatvfs.c: Likewise.
66942         * io/fstatvfs64.c: Likewise.
66943         * io/futimens.c: Likewise.
66944         * io/fxstat.c: Likewise.
66945         * io/fxstat64.c: Likewise.
66946         * io/fxstatat.c: Likewise.
66947         * io/fxstatat64.c: Likewise.
66948         * io/getcwd.c: Likewise.
66949         * io/isatty.c: Likewise.
66950         * io/lchmod.c: Likewise.
66951         * io/lchown.c: Likewise.
66952         * io/link.c: Likewise.
66953         * io/linkat.c: Likewise.
66954         * io/lseek.c: Likewise.
66955         * io/lseek64.c: Likewise.
66956         * io/lxstat64.c: Likewise.
66957         * io/mkdir.c: Likewise.
66958         * io/mkdirat.c: Likewise.
66959         * io/mkfifo.c: Likewise.
66960         * io/mkfifoat.c: Likewise.
66961         * io/open.c: Likewise.
66962         * io/open64.c: Likewise.
66963         * io/openat.c: Likewise.
66964         * io/openat64.c: Likewise.
66965         * io/pipe.c: Likewise.
66966         * io/pipe2.c: Likewise.
66967         * io/poll.c: Likewise.
66968         * io/posix_fadvise.c: Likewise.
66969         * io/posix_fadvise64.c: Likewise.
66970         * io/posix_fallocate.c: Likewise.
66971         * io/posix_fallocate64.c: Likewise.
66972         * io/read.c: Likewise.
66973         * io/readlink.c: Likewise.
66974         * io/readlinkat.c: Likewise.
66975         * io/rmdir.c: Likewise.
66976         * io/sendfile.c: Likewise.
66977         * io/sendfile64.c: Likewise.
66978         * io/statfs.c: Likewise.
66979         * io/statfs64.c: Likewise.
66980         * io/statvfs.c: Likewise.
66981         * io/statvfs64.c: Likewise.
66982         * io/symlink.c: Likewise.
66983         * io/symlinkat.c: Likewise.
66984         * io/ttyname.c: Likewise.
66985         * io/ttyname_r.c: Likewise.
66986         * io/umask.c: Likewise.
66987         * io/unlink.c: Likewise.
66988         * io/unlinkat.c: Likewise.
66989         * io/utime.c: Likewise.
66990         * io/utimensat.c: Likewise.
66991         * io/write.c: Likewise.
66992         * io/xmknod.c: Likewise.
66993         * io/xmknodat.c: Likewise.
66994         * io/xstat.c: Likewise.
66995         * io/xstat64.c: Likewise.
66996         * login/getpt.c: Likewise.
66997         * login/grantpt.c: Likewise.
66998         * login/unlockpt.c: Likewise.
66999         * math/e_acoshl.c: Likewise.
67000         * math/e_acosl.c: Likewise.
67001         * math/e_asinl.c: Likewise.
67002         * math/e_atan2l.c: Likewise.
67003         * math/e_atanhl.c: Likewise.
67004         * math/e_coshl.c: Likewise.
67005         * math/e_expl.c: Likewise.
67006         * math/e_fmodl.c: Likewise.
67007         * math/e_gammal_r.c: Likewise.
67008         * math/e_hypotl.c: Likewise.
67009         * math/e_j0l.c: Likewise.
67010         * math/e_j1l.c: Likewise.
67011         * math/e_jnl.c: Likewise.
67012         * math/e_lgammal_r.c: Likewise.
67013         * math/e_log10l.c: Likewise.
67014         * math/e_log2l.c: Likewise.
67015         * math/e_logl.c: Likewise.
67016         * math/e_powl.c: Likewise.
67017         * math/e_rem_pio2l.c: Likewise.
67018         * math/e_sinhl.c: Likewise.
67019         * math/e_sqrtl.c: Likewise.
67020         * math/fclrexcpt.c: Likewise.
67021         * math/fedisblxcpt.c: Likewise.
67022         * math/feenablxcpt.c: Likewise.
67023         * math/fegetenv.c: Likewise.
67024         * math/fegetexcept.c: Likewise.
67025         * math/fegetround.c: Likewise.
67026         * math/feholdexcpt.c: Likewise.
67027         * math/fesetenv.c: Likewise.
67028         * math/fesetround.c: Likewise.
67029         * math/feupdateenv.c: Likewise.
67030         * math/fgetexcptflg.c: Likewise.
67031         * math/fraiseexcpt.c: Likewise.
67032         * math/fsetexcptflg.c: Likewise.
67033         * math/ftestexcept.c: Likewise.
67034         * math/k_cosl.c: Likewise.
67035         * math/k_rem_pio2l.c: Likewise.
67036         * math/k_sinl.c: Likewise.
67037         * math/k_tanl.c: Likewise.
67038         * math/s_asinhl.c: Likewise.
67039         * math/s_atanl.c: Likewise.
67040         * math/s_cbrtl.c: Likewise.
67041         * math/s_erfl.c: Likewise.
67042         * math/s_expm1l.c: Likewise.
67043         * math/s_log1pl.c: Likewise.
67044         * math/s_tanhl.c: Likewise.
67045         * misc/acct.c: Likewise.
67046         * misc/brk.c: Likewise.
67047         * misc/chflags.c: Likewise.
67048         * misc/chroot.c: Likewise.
67049         * misc/fchflags.c: Likewise.
67050         * misc/fgetxattr.c: Likewise.
67051         * misc/flistxattr.c: Likewise.
67052         * misc/fremovexattr.c: Likewise.
67053         * misc/fsetxattr.c: Likewise.
67054         * misc/fsync.c: Likewise.
67055         * misc/ftruncate.c: Likewise.
67056         * misc/futimes.c: Likewise.
67057         * misc/futimesat.c: Likewise.
67058         * misc/getdomain.c: Likewise.
67059         * misc/getdtsz.c: Likewise.
67060         * misc/gethostid.c: Likewise.
67061         * misc/gethostname.c: Likewise.
67062         * misc/getloadavg.c: Likewise.
67063         * misc/getpagesize.c: Likewise.
67064         * misc/getsysstats.c: Likewise.
67065         * misc/getxattr.c: Likewise.
67066         * misc/gtty.c: Likewise.
67067         * misc/ioctl.c: Likewise.
67068         * misc/lgetxattr.c: Likewise.
67069         * misc/listxattr.c: Likewise.
67070         * misc/llistxattr.c: Likewise.
67071         * misc/lremovexattr.c: Likewise.
67072         * misc/lsetxattr.c: Likewise.
67073         * misc/lutimes.c: Likewise.
67074         * misc/madvise.c: Likewise.
67075         * misc/mincore.c: Likewise.
67076         * misc/mlock.c: Likewise.
67077         * misc/mlockall.c: Likewise.
67078         * misc/mmap.c: Likewise.
67079         * misc/mprotect.c: Likewise.
67080         * misc/msync.c: Likewise.
67081         * misc/munlock.c: Likewise.
67082         * misc/munlockall.c: Likewise.
67083         * misc/munmap.c: Likewise.
67084         * misc/preadv.c: Likewise.
67085         * misc/preadv64.c: Likewise.
67086         * misc/ptrace.c: Likewise.
67087         * misc/pwritev.c: Likewise.
67088         * misc/pwritev64.c: Likewise.
67089         * misc/readv.c: Likewise.
67090         * misc/reboot.c: Likewise.
67091         * misc/remap_file_pages.c: Likewise.
67092         * misc/removexattr.c: Likewise.
67093         * misc/revoke.c: Likewise.
67094         * misc/select.c: Likewise.
67095         * misc/setdomain.c: Likewise.
67096         * misc/setegid.c: Likewise.
67097         * misc/seteuid.c: Likewise.
67098         * misc/sethostid.c: Likewise.
67099         * misc/sethostname.c: Likewise.
67100         * misc/setregid.c: Likewise.
67101         * misc/setreuid.c: Likewise.
67102         * misc/setxattr.c: Likewise.
67103         * misc/sstk.c: Likewise.
67104         * misc/stty.c: Likewise.
67105         * misc/swapoff.c: Likewise.
67106         * misc/swapon.c: Likewise.
67107         * misc/sync.c: Likewise.
67108         * misc/syncfs.c: Likewise.
67109         * misc/syscall.c: Likewise.
67110         * misc/truncate.c: Likewise.
67111         * misc/ualarm.c: Likewise.
67112         * misc/usleep.c: Likewise.
67113         * misc/ustat.c: Likewise.
67114         * misc/utimes.c: Likewise.
67115         * misc/vhangup.c: Likewise.
67116         * misc/writev.c: Likewise.
67117         * posix/_exit.c: Likewise.
67118         * posix/alarm.c: Likewise.
67119         * posix/execve.c: Likewise.
67120         * posix/fexecve.c: Likewise.
67121         * posix/fork.c: Likewise.
67122         * posix/fpathconf.c: Likewise.
67123         * posix/getaddrinfo.c: Likewise.
67124         * posix/getegid.c: Likewise.
67125         * posix/geteuid.c: Likewise.
67126         * posix/getgid.c: Likewise.
67127         * posix/getgroups.c: Likewise.
67128         * posix/getlogin.c: Likewise.
67129         * posix/getlogin_r.c: Likewise.
67130         * posix/getpgid.c: Likewise.
67131         * posix/getpid.c: Likewise.
67132         * posix/getppid.c: Likewise.
67133         * posix/getresgid.c: Likewise.
67134         * posix/getresuid.c: Likewise.
67135         * posix/getsid.c: Likewise.
67136         * posix/getuid.c: Likewise.
67137         * posix/glob64.c: Likewise.
67138         * posix/nanosleep.c: Likewise.
67139         * posix/pathconf.c: Likewise.
67140         * posix/pause.c: Likewise.
67141         * posix/posix_madvise.c: Likewise.
67142         * posix/pread.c: Likewise.
67143         * posix/pread64.c: Likewise.
67144         * posix/pwrite.c: Likewise.
67145         * posix/pwrite64.c: Likewise.
67146         * posix/sched_getaffinity.c: Likewise.
67147         * posix/sched_getp.c: Likewise.
67148         * posix/sched_gets.c: Likewise.
67149         * posix/sched_primax.c: Likewise.
67150         * posix/sched_primin.c: Likewise.
67151         * posix/sched_rr_gi.c: Likewise.
67152         * posix/sched_setaffinity.c: Likewise.
67153         * posix/sched_setp.c: Likewise.
67154         * posix/sched_sets.c: Likewise.
67155         * posix/sched_yield.c: Likewise.
67156         * posix/setgid.c: Likewise.
67157         * posix/setlogin.c: Likewise.
67158         * posix/setpgid.c: Likewise.
67159         * posix/setresgid.c: Likewise.
67160         * posix/setresuid.c: Likewise.
67161         * posix/setsid.c: Likewise.
67162         * posix/setuid.c: Likewise.
67163         * posix/sleep.c: Likewise.
67164         * posix/spawni.c: Likewise.
67165         * posix/sysconf.c: Likewise.
67166         * posix/times.c: Likewise.
67167         * posix/wait.c: Likewise.
67168         * posix/wait3.c: Likewise.
67169         * posix/wait4.c: Likewise.
67170         * posix/waitpid.c: Likewise.
67171         * resolv/gai_sigqueue.c: Likewise.
67172         * resource/getpriority.c: Likewise.
67173         * resource/getrlimit.c: Likewise.
67174         * resource/getrusage.c: Likewise.
67175         * resource/nice.c: Likewise.
67176         * resource/setpriority.c: Likewise.
67177         * resource/setrlimit.c: Likewise.
67178         * resource/ulimit.c: Likewise.
67179         * rt/aio_cancel.c: Likewise.
67180         * rt/aio_fsync.c: Likewise.
67181         * rt/aio_read.c: Likewise.
67182         * rt/aio_sigqueue.c: Likewise.
67183         * rt/aio_suspend.c: Likewise.
67184         * rt/aio_write.c: Likewise.
67185         * rt/clock_getres.c: Likewise.
67186         * rt/clock_gettime.c: Likewise.
67187         * rt/clock_nanosleep.c: Likewise.
67188         * rt/clock_settime.c: Likewise.
67189         * rt/lio_listio.c: Likewise.
67190         * rt/mq_close.c: Likewise.
67191         * rt/mq_getattr.c: Likewise.
67192         * rt/mq_notify.c: Likewise.
67193         * rt/mq_open.c: Likewise.
67194         * rt/mq_receive.c: Likewise.
67195         * rt/mq_send.c: Likewise.
67196         * rt/mq_setattr.c: Likewise.
67197         * rt/mq_timedreceive.c: Likewise.
67198         * rt/mq_timedsend.c: Likewise.
67199         * rt/mq_unlink.c: Likewise.
67200         * rt/shm_open.c: Likewise.
67201         * rt/shm_unlink.c: Likewise.
67202         * rt/timer_create.c: Likewise.
67203         * rt/timer_delete.c: Likewise.
67204         * rt/timer_getoverr.c: Likewise.
67205         * rt/timer_gettime.c: Likewise.
67206         * rt/timer_settime.c: Likewise.
67207         * setjmp/__longjmp.c: Likewise.
67208         * setjmp/setjmp.c: Likewise.
67209         * signal/kill.c: Likewise.
67210         * signal/killpg.c: Likewise.
67211         * signal/raise.c: Likewise.
67212         * signal/sigaction.c: Likewise.
67213         * signal/sigaltstack.c: Likewise.
67214         * signal/sigblock.c: Likewise.
67215         * signal/sigignore.c: Likewise.
67216         * signal/sigintr.c: Likewise.
67217         * signal/signal.c: Likewise.
67218         * signal/sigpause.c: Likewise.
67219         * signal/sigpending.c: Likewise.
67220         * signal/sigqueue.c: Likewise.
67221         * signal/sigreturn.c: Likewise.
67222         * signal/sigset.c: Likewise.
67223         * signal/sigsetmask.c: Likewise.
67224         * signal/sigstack.c: Likewise.
67225         * signal/sigsuspend.c: Likewise.
67226         * signal/sigtimedwait.c: Likewise.
67227         * signal/sigvec.c: Likewise.
67228         * signal/sigwait.c: Likewise.
67229         * signal/sigwaitinfo.c: Likewise.
67230         * signal/sysv_signal.c: Likewise.
67231         * socket/accept.c: Likewise.
67232         * socket/accept4.c: Likewise.
67233         * socket/bind.c: Likewise.
67234         * socket/connect.c: Likewise.
67235         * socket/getpeername.c: Likewise.
67236         * socket/getsockname.c: Likewise.
67237         * socket/getsockopt.c: Likewise.
67238         * socket/isfdtype.c: Likewise.
67239         * socket/listen.c: Likewise.
67240         * socket/recv.c: Likewise.
67241         * socket/recvfrom.c: Likewise.
67242         * socket/recvmsg.c: Likewise.
67243         * socket/send.c: Likewise.
67244         * socket/sendmsg.c: Likewise.
67245         * socket/sendto.c: Likewise.
67246         * socket/setsockopt.c: Likewise.
67247         * socket/shutdown.c: Likewise.
67248         * socket/sockatmark.c: Likewise.
67249         * socket/socket.c: Likewise.
67250         * socket/socketpair.c: Likewise.
67251         * stdio-common/ctermid.c: Likewise.
67252         * stdio-common/cuserid.c: Likewise.
67253         * stdio-common/remove.c: Likewise.
67254         * stdio-common/rename.c: Likewise.
67255         * stdio-common/renameat.c: Likewise.
67256         * stdio-common/tempname.c: Likewise.
67257         * stdlib/getcontext.c: Likewise.
67258         * stdlib/makecontext.c: Likewise.
67259         * stdlib/setcontext.c: Likewise.
67260         * stdlib/swapcontext.c: Likewise.
67261         * stdlib/system.c: Likewise.
67262         * streams/fattach.c: Likewise.
67263         * streams/fdetach.c: Likewise.
67264         * streams/getmsg.c: Likewise.
67265         * streams/getpmsg.c: Likewise.
67266         * streams/putmsg.c: Likewise.
67267         * streams/putpmsg.c: Likewise.
67268         * sysdeps/unix/bsd/getpt.c: Likewise.
67269         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67270         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67271         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67273         Likewise.
67274         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67275         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67276         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67277         * sysvipc/msgctl.c: Likewise.
67278         * sysvipc/msgget.c: Likewise.
67279         * sysvipc/msgrcv.c: Likewise.
67280         * sysvipc/msgsnd.c: Likewise.
67281         * sysvipc/semctl.c: Likewise.
67282         * sysvipc/semget.c: Likewise.
67283         * sysvipc/semop.c: Likewise.
67284         * sysvipc/semtimedop.c: Likewise.
67285         * sysvipc/shmat.c: Likewise.
67286         * sysvipc/shmctl.c: Likewise.
67287         * sysvipc/shmdt.c: Likewise.
67288         * sysvipc/shmget.c: Likewise.
67289         * termios/tcdrain.c: Likewise.
67290         * termios/tcflow.c: Likewise.
67291         * termios/tcflush.c: Likewise.
67292         * termios/tcgetattr.c: Likewise.
67293         * termios/tcgetpgrp.c: Likewise.
67294         * termios/tcsendbrk.c: Likewise.
67295         * termios/tcsetattr.c: Likewise.
67296         * termios/tcsetpgrp.c: Likewise.
67297         * time/adjtime.c: Likewise.
67298         * time/clock.c: Likewise.
67299         * time/getitimer.c: Likewise.
67300         * time/gettimeofday.c: Likewise.
67301         * time/setitimer.c: Likewise.
67302         * time/settimeofday.c: Likewise.
67303         * time/stime.c: Likewise.
67304         * time/time.c: Likewise.
67306 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67308         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67309         /usr/old/bin.
67311         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67312         instead of spaces.
67313         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67315 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67317         [BZ #14796]
67318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67319         FE_TONEAREST before applying Dekker multiplication and Knuth
67320         addition.  Clear inexact exceptions and check for exact zero
67321         results afterwards.
67322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67323         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67325         * math/libm-test.inc (fma_test): Add more tests.
67326         (fma_test_towardzero): Likewise.
67327         (fma_test_downward): Likewise.
67328         (fma_test_upward): Likewise.
67329         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67330         function.
67331         (libc_fesetround): New macro.
67332         (libc_fesetroundf): Likewise.
67333         (libc_fesetroundl): Likewise.
67334         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67335         function.
67336         (libc_fesetround_387): Likewise.
67337         (libc_fesetroundf): New macro.
67338         (libc_fesetround): Likewise.
67339         (libc_fesetroundl): Likewise.
67340         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67341         function.
67342         (libc_fesetroundf): New macro.
67343         (libc_fesetround): Likewise.
67344         (libc_fesetroundl): Likewise.
67345         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67346         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67347         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67348         libm_hidden_ver.
67349         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67350         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67351         libm_hidden_def.
67352         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67353         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67354         libm_hidden_ver.
67355         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67356         libm_hidden_def.
67358         [BZ #3439]
67359         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67360         integer constant usable in #if and use that to give value to enum
67361         constant.
67362         (FE_DIVBYZERO): Likewise.
67363         (FE_UNDERFLOW): Likewise.
67364         (FE_OVERFLOW): Likewise.
67365         (FE_INVALID): Likewise.
67366         (FE_INVALID_SNAN): Likewise.
67367         (FE_INVALID_ISI): Likewise.
67368         (FE_INVALID_IDI): Likewise.
67369         (FE_INVALID_ZDZ): Likewise.
67370         (FE_INVALID_IMZ): Likewise.
67371         (FE_INVALID_COMPARE): Likewise.
67372         (FE_INVALID_SOFTWARE): Likewise.
67373         (FE_INVALID_SQRT): Likewise.
67374         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67375         (FE_TONEAREST): Likewise.
67376         (FE_TOWARDZERO): Likewise.
67377         (FE_UPWARD): Likewise.
67378         (FE_DOWNWARD): Likewise.
67379         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67380         (FE_DIVBYZERO): Likewise.
67381         (FE_OVERFLOW): Likewise.
67382         (FE_UNDERFLOW): Likewise.
67383         (FE_INEXACT): Likewise.
67384         (FE_TONEAREST): Likewise.
67385         (FE_DOWNWARD): Likewise.
67386         (FE_UPWARD): Likewise.
67387         (FE_TOWARDZERO): Likewise.
67388         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67389         (FE_UNDERFLOW): Likewise.
67390         (FE_OVERFLOW): Likewise.
67391         (FE_DIVBYZERO): Likewise.
67392         (FE_INVALID): Likewise.
67393         (FE_TONEAREST): Likewise.
67394         (FE_TOWARDZERO): Likewise.
67395         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67396         (FE_OVERFLOW): Likewise.
67397         (FE_UNDERFLOW): Likewise.
67398         (FE_DIVBYZERO): Likewise.
67399         (FE_INEXACT): Likewise.
67400         (FE_TONEAREST): Likewise.
67401         (FE_TOWARDZERO): Likewise.
67402         (FE_UPWARD): Likewise.
67403         (FE_DOWNWARD): Likewise.
67404         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67405         (FE_DIVBYZERO): Likewise.
67406         (FE_OVERFLOW): Likewise.
67407         (FE_UNDERFLOW): Likewise.
67408         (FE_INEXACT): Likewise.
67409         (FE_TONEAREST): Likewise.
67410         (FE_DOWNWARD): Likewise.
67411         (FE_UPWARD): Likewise.
67412         (FE_TOWARDZERO): Likewise.
67414 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67416         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67418 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67420         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67421         commands.  Quote $PWD.
67422         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67423         -x" by "export".
67424         (remove_newlines): Remove.
67426 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67428         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67429         * stdlib/stdlib.h (atof): Moved to ...
67430         * include/bits/stdlib-float.h: Here.  New file.
67431         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67432         * stdlib/bits/stdlib-float.h: New file.
67433         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67434         -mno-sse -mno-mmx.
67435         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67436         <xmmintrin.h>.
67438 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67440         * conform/conformtest.pl (@headers): Add fenv.h.
67441         * conform/data/fenv.h-data: New file.
67442         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67443         include of <math/fenv.h>.
67445         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67446         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67447         && !UNIX98].  Enables tests for XOPEN2K8.
67448         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67449         POSIX2008]: Likewise.
67451         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67452         (struct rusage): Do not expect type or its members.
67454         [BZ #3439]
67455         * math/math.h (FP_NAN): Define macro to integer constant usable in
67456         #if and use that to give value to enum constant.
67457         (FP_INFINITE): Likewise.
67458         (FP_ZERO): Likewise.
67459         (FP_SUBNORMAL): Likewise.
67460         (FP_NORMAL): Likewise.
67462 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67464         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67465         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67466         arguments.
67468 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67470         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67471         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67472         autoconf-time if not.
67473         * configure.in: Remove AC_PREREQ.
67475 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67477         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67478         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67479         of the internal implementation.
67481 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67483         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67484         except include of <misc/sys/syslog.h>.
67486 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
67489         function returns with a NULL context exit with zero.
67491 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67493         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
67495 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
67497         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
67498         (run_program_cmd): This.
67499         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
67500         (tst_langinfo): New variable.  Use it.
67502 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
67504         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
67505         floating point opcodes.
67507 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67509         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
67510         variable.
67512         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
67514         * sysdeps/mach/hurd/powerpc: Remove directory.
67515         * sysdeps/mach/powerpc: Likewise.
67517 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67519         * scripts/check-local-headers.sh: Ignore c++ headers.
67521 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67523         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
67524         __libc_cleanup_region_start argument.
67526 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
67528         [BZ #14784]
67529         [BZ #14785]
67530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
67531         x * y using scaling, not as x * y + z.
67532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67534         * math/libm-test.inc (fma_test): Add more tests.
67535         (fma_test_towardzero): Likewise.
67536         (fma_test_downward): Likewise.
67537         (fma_test_upward): Likewise.
67539 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67541         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
67543 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67545         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
67546         New variable.
67548 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
67550         * rt/tst-shm.c (worker): Correct checking for mmap failure.
67552 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67555         Fix sort order.
67556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67557         Likewise.
67559 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67562         Fix the order of the list for glibc 2.17.
67563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67564         Likewise.
67566 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67570 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67572         [BZ #14610]
67573         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
67574         for low part of x being zero before using __atanl (y).
67575         * math/libm-test.inc (atan2_test): Add another test.
67577         * manual/install.texi (Configuring and compiling): Document
67578         general use of test-wrapper and test-wrapper-env.
67579         * INSTALL: Regenerated.
67581         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
67582         (__fma): Do not extract and scale down low bits on after-rounding
67583         systems when result rounded to normal precision would have normal
67584         exponent.
67585         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
67586         (__fmal): Do not extract and scale down low bits on after-rounding
67587         systems when result rounded to normal precision would have normal
67588         exponent.
67589         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
67590         (__fmal): Do not extract and scale down low bits on after-rounding
67591         systems when result rounded to normal precision would have normal
67592         exponent.
67593         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
67594         macro.
67595         (fma_test): Add more tests.
67596         (fma_test_towardzero): Likewise.
67597         (fma_test_downward): Likewise.
67598         (fma_test_upward): Likewise.
67600 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
67602         * sysdeps/i386/tininess.h: Renamed to ...
67603         * sysdeps/x86/tininess.h: This.
67604         * sysdeps/x86_64/tininess.h: Removed.
67606 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67608         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
67609         input.  Use $(build-program-cmd).
67610         ($(objpfx)tst-array1-static.out): Likewise.
67611         ($(objpfx)tst-array2.out): Likewise.
67612         ($(objpfx)tst-array3.out): Likewise.
67613         ($(objpfx)tst-array4.out): Likewise.
67614         ($(objpfx)tst-array5.out): Likewise.
67615         ($(objpfx)tst-array5-static.out): Likewise.
67617 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
67619         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
67620         if defined.
67622         * nss/nsswitch.h (nss_interface_function): Provide new
67623         macro for use with NSS functions.
67624         * grp/initgroups.c: Use new macro.
67625         * nss/getXXbyYY.c: Likewise.
67626         * nss/getXXbyYY_r.c: Likewise.
67627         * nss/getXXent.c: Likewise.
67628         * nss/getXXent_r.c: Likewise.
67629         * sysdeps/posix/getaddrinfo.c: Likewise.
67631 2012-10-30  Andreas Jaeger  <aj@suse.de>
67633         * po/ru.po: Update Russion translation from translation project.
67635 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67637         [BZ #14152]
67638         [BZ #14783]
67639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
67640         result and shift together with sticky bit instead of replicating
67641         round-to-nearest rounding.
67642         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67643         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67644         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
67645         missing underflow exceptions.
67646         (fma_test_towardzero): Add more tests.
67647         (fma_test_downward): Likewise.
67648         (fma_test_upward): Likewise.
67650         [BZ #14047]
67651         * sysdeps/generic/tininess.h: New file.
67652         * sysdeps/i386/tininess.h: Likewise.
67653         * sysdeps/sh/tininess.h: Likewise.
67654         * sysdeps/x86_64/tininess.h: Likewise.
67655         * stdlib/tst-strtod-underflow.c: Likewise.
67656         * stdlib/tst-tininess.c: Likewise.
67657         * stdlib/strtod_l.c: Include <tininess.h>.
67658         (round_and_return): Do not set errno for exact underflow cases.
67659         Force an underflow exception when setting errno for underflow.
67660         Determine underflow based on rounding to normal precision if
67661         TININESS_AFTER_ROUNDING.
67662         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67663         ERANGE for exact underflow cases.
67664         * stdlib/Makefile (tests): Add tst-tininess and
67665         tst-strtod-underflow.
67666         ($(objpfx)tst-tininess): Use $(link-libm).
67667         ($(objpfx)tst-strtod-underflow): Likewise.
67669 2012-10-30  Andreas Jaeger  <aj@suse.de>
67671         [BZ#14767]
67672         * elf/Makefile (tests): Remove conditional for have-initfini-array
67673         since this is now always required and the variable does not exist
67674         anymore.
67675         (tests-static): Likewise.
67676         (modules-names): Likewise.
67678         * po/eo.po: Add Esperanto translation from translation project.
67680         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67681         merged with constructor/destructor.
67682         (init_array): Likewise.
67683         * elf/tst-array2dep.c (fini_array): Likewise.
67684         (init_array): Likewise.
67686 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67688         * manual/message.texi: Delete @cartouche tags.
67690 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67692         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67693         EOPNOTSUPP.
67694         * sysdeps/mach/hurd/fsync.c: Likewise.
67696         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67697         [_POSIX_REALTIME_SIGNALS]: Change condition to
67698         [_POSIX_REALTIME_SIGNALS > 0].
67700 2012-10-27  Andreas Jaeger  <aj@suse.de>
67702         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67703         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67704         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67705         [__WORDSIZE != 64]: Likewise.
67707 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67709         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67710         *  iconvdata/tst-tables.sh: Likewise.
67712 2012-10-25  David S. Miller  <davem@davemloft.net>
67714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67715         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67716         of strtoull.
67718         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67719         ifunc-impl-list.c
67720         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67721         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67722         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67723         file.
67725 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67728         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67729         __getdirentries.
67731 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67732             Jim Blandy  <jimb@codesourcery.com>
67734         * scripts/cross-test-ssh.sh: New file.
67735         * manual/install.texi (Configuring and compiling): Document use of
67736         cross-test-ssh.sh.
67737         * INSTALL: Regenerated.
67739 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67741         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67742         EOPNOTSUPP.
67744 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67746         * Makeconfig (run-program-prefix): Fix comment.
67748 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67749             Jim Blandy  <jimb@codesourcery.com>
67751         * Makeconfig (test-wrapper): New variable,
67752         (test-wrapper-env): Likewise.
67753         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67754         (run-built-tests): Define to yes.
67755         (run-program-prefix): Use $(test-wrapper).
67756         (built-program-cmd): Likewise.
67757         * Rules (make-test-out): Use $(test-wrapper-env) and
67758         $(host-built-program-cmd).
67759         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67760         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67761         tst-pathopt.sh.
67762         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67763         $(test-wrapper-env) to tst-rtld-load-self.sh.
67764         ($(objpfx)order2.out): Use $(test-wrapper).
67765         ($(objpfx)tst-initorder.out): Likewise.
67766         ($(objpfx)tst-initorder2.out): Likewise.
67767         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67768         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67769         (test_wrapper_env): New variable.  Use it to run ld.so.
67770         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67771         Use it to run ld.so.
67772         (test_wrapper_env): Likewise.
67773         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67774         $(test-wrapper) to run-iconv-test.sh.
67775         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67776         (ICONV): Use $test_wrapper.
67777         * posix/Makefile ($(objpfx)globtest.out): Pass
67778         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67779         globtest.sh, not $(run-program-prefix).
67780         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67781         (test_wrapper): Likewise.
67782         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67783         set together with run_via_rtld_prefix.
67784         (run_program_prefix): Define in terms of test_wrapper and
67785         run_via_rtld_prefix.
67787 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67789         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67790         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67791         Targets removed.
67793         [BZ #14743]
67794         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67795         Declare __clock_getres, __clock_gettime, __clock_settime,
67796         __clock_nanosleep, and __clock_getcpuclockid.
67797         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67798         Remove librt_hidden_def (clock_gettime).
67799         * sysdeps/unix/clock_gettime.c: Likewise.
67800         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67801         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67802         * rt/clock_getres.c: Define __clock_getres as an alias.
67803         * sysdeps/posix/clock_getres.c: Likewise.
67804         * rt/clock_settime.c: Define __clock_settime as an alias.
67805         * sysdeps/unix/clock_settime.c: Likewise.
67806         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67807         * sysdeps/unix/clock_nanosleep.c: Likewise.
67808         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67809         * rt/clock-compat.c: New file.
67810         * rt/Makefile (librt-routines): Add clock-compat and move
67811         $(clock-routines) to ...
67812         (routines): ... here, new variable.
67813         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67814         Don't add get_clockfreq here.
67815         * rt/Versions (libc: GLIBC_2.17): New version set.
67816         Add clock_* symbols here.
67817         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67818         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67819         (GLIBC_2.17): Add clock_* symbols.
67820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67824         Likewise.
67825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67826         Likewise.
67827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67831         * NEWS: Mention the move.
67833         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67834         Use __open, __read, __close rather than their public counterparts.
67835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67836         (__get_clockfreq_via_cpuinfo): Likewise.
67837         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67838         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67840         * config.h.in (HAVE_IFUNC): New #undef.
67841         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67842         was successful.
67843         * configure: Regenerated.
67845 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67847         * configure.in: Move READELF check to start of file.
67848         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67849         libc_cv_asm_gnu_indirect_function in the process.
67850         * configure: Regenerated.
67852 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67854         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67855         send the output to /dev/null.
67856         (libc_cv_cc_with_libunwind): Likewise.
67857         (libc_cv_as_noexecstack): Likewise.
67858         * configure: Regenerate.
67860 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67862         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67864         * posix/globtest.sh (TMPDIR): Do not set.
67865         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67866         (testout): Likewise.
67868 2012-10-24  Andreas Jaeger  <aj@suse.de>
67870         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67871         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67872         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67873         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67874         posix_fadvise64, posix_fallocate64.
67876         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67877         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67878         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67879         Likewise.
67880         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67881         Likewise.
67882         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67884         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67885         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67886         <bits/fcntl-linux.h>.
67887         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67890         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67891         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67892         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67893         [__WORDSIZE != 64]: Likewise.
67895 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67897         * Makeconfig (run-built-tests): New variable.
67898         * Rules [$(cross-compiling) = yes]: Change condition to
67899         [$(run-built-tests) = no].
67900         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67901         to [$(run-built-tests) = yes].
67902         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67903         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67904         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67905         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67906         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67907         * io/Makefile [$(cross-compiling) = no]: Likewise.
67908         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67909         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67910         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67911         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67912         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67913         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67914         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67915         * string/Makefile [$(cross-compiling) = no]: Likewise.
67917         * posix/Makefile ($(objpfx)globtest.out): Pass
67918         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67919         $(rtld-installed-name).
67920         * posix/globtest.sh (elf_objpfx): Remove variable.
67921         (rtld_installed_name): Likewise.
67922         (library_path): Likewise.
67923         (run_program_prefix): New variable.  Use for running globtest
67924         binary.
67926 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67927             Joseph Myers  <joseph@codesourcery.com>
67929         * Makeconfig (host-built-program-cmd): New variable.
67930         * elf/Makefile (tst-stackguard1-ARGS): Use
67931         $(host-built-program-cmd).
67932         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67933         (tst-spawn-ARGS): Likewise.
67934         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67936 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67937             Jim Blandy  <jimb@codesourcery.com>
67939         * Makeconfig (run-via-rtld-prefix): New variable.
67940         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67941         (built-program-cmd): Likewise.
67943 2012-10-22  Andreas Jaeger  <aj@suse.de>
67945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67946         __O_RSYNC if it exists, otherwise to O_SYNC.
67948 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67949             Joseph Myers  <joseph@codesourcery.com>
67951         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67952         /dev/null.
67953         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67954         from /dev/null
67955         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67956         /dev/null.
67958 2012-10-22  Andreas Jaeger  <aj@suse.de>
67960         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67961         Define always.
67962         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67965         bits/fcntl-linux.h.
67967         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67968         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67970         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67971         to __O_LARGEFILE.
67972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67973         to __O_LARGEFILE.
67975 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67976             Joseph Myers  <joseph@codesourcery.com>
67978         * config.make.in (NM): New variable.
67980 2012-10-21  Andreas Jaeger  <aj@suse.de>
67982         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67983         definitions and declarations that are provided by
67984         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67986 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67988         [BZ #14683]
67989         * elf/Makefile (tests-static): Add tst-leaks1-static.
67990         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67991         ($(objpfx)tst-leaks1-static): New rule.
67992         ($(objpfx)tst-leaks1-static-mem): Likewise.
67993         (tst-leaks1-static-ENV): New macro.
67994         * elf/dl-open.c (dl_open_worker): Check the main application
67995         only if SHARED is defined.
67996         * elf/tst-leaks1-static.c: New file.
67998 2012-10-20  Andreas Jaeger  <aj@suse.de>
68000         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68001         generic values for Linux.
68002         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68003         and declarations that are provided by <bits/fcntl-linux.h> and
68004         include <bits/fcntl-linux.h>.
68005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68008 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68010         * io/fcntl.h: Move include of <bits/types.h> to the top and
68011         include it unconditionally.
68013 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68015         * wcsmbs/Makefile (tests-ifunc): New variable.
68016         (tests): Add $(tests-ifunc).
68017         * wcsmbs/test-wcschr-ifunc.c: New file.
68018         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68019         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68020         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68021         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68022         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68024         * string/Makefile (tests-ifunc): New variable.
68025         (tests): Add $(tests-ifunc).
68026         * string/test-memccpy.c (TEST_NAME): New macro.
68027         * string/test-memchr.c (TEST_NAME): Likewise.
68028         * string/test-memcmp.c (TEST_NAME): Likewise.
68029         * string/test-memcpy.c (TEST_NAME): Likewise.
68030         * string/test-memmem.c (TEST_NAME): Likewise.
68031         * string/test-memmove.c (TEST_NAME): Likewise.
68032         * string/test-memset.c (TEST_NAME): Likewise.
68033         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68034         * string/test-stpcpy.c (TEST_NAME): Likewise.
68035         * string/test-stpncpy.c (TEST_NAME): Likewise.
68036         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68037         * string/test-strcasestr.c (TEST_NAME): Likewise.
68038         * string/test-strcat.c (TEST_NAME): Likewise.
68039         * string/test-strchr.c (TEST_NAME): Likewise.
68040         * string/test-strcmp.c(TEST_NAME): Likewise.
68041         * string/test-strcpy.c (TEST_NAME): Likewise.
68042         * string/test-strcspn.c (TEST_NAME): Likewise.
68043         * string/test-strlen.c (TEST_NAME): Likewise.
68044         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68045         * string/test-strncmp.c (TEST_NAME): Likewise.
68046         * string/test-strncpy.c (TEST_NAME): Likewise.
68047         * string/test-strnlen.c (TEST_NAME): Likewise.
68048         * string/test-strpbrk.c (TEST_NAME): Likewise.
68049         * string/test-strrchr.c (TEST_NAME): Likewise.
68050         * string/test-strspn.c (TEST_NAME): Likewise.
68051         * string/test-strstr.c (TEST_NAME): Likewise.
68052         * string/test-bcopy-ifunc.c: New file.
68053         * string/test-bzero-ifunc.c: Likewise.
68054         * string/test-memccpy-ifunc.c: Likewise.
68055         * string/test-memchr-ifunc.c: Likewise.
68056         * string/test-memcmp-ifunc.c: Likewise.
68057         * string/test-memcpy-ifunc.c: Likewise.
68058         * string/test-memmem-ifunc.c: Likewise.
68059         * string/test-memmove-ifunc.c: Likewise.
68060         * string/test-mempcpy-ifunc.c: Likewise.
68061         * string/test-memset-ifunc.c: Likewise.
68062         * string/test-rawmemchr-ifunc.c: Likewise.
68063         * string/test-stpcpy-ifunc.c: Likewise.
68064         * string/test-stpncpy-ifunc.c: Likewise.
68065         * string/test-strcasecmp-ifunc.c: Likewise.
68066         * string/test-strcasestr-ifunc.c: Likewise.
68067         * string/test-strcat-ifunc.c: Likewise.
68068         * string/test-strchr-ifunc.c: Likewise.
68069         * string/test-strchrnul-ifunc.c: Likewise.
68070         * string/test-strcmp-ifunc.c: Likewise.
68071         * string/test-strcpy-ifunc.c: Likewise.
68072         * string/test-strcspn-ifunc.c: Likewise.
68073         * string/test-strlen-ifunc.c: Likewise.
68074         * string/test-strncasecmp-ifunc.c: Likewise.
68075         * string/test-strncat-ifunc.c: Likewise.
68076         * string/test-strncmp-ifunc.c: Likewise.
68077         * string/test-strncpy-ifunc.c: Likewise.
68078         * string/test-strnlen-ifunc.c: Likewise.
68079         * string/test-strpbrk-ifunc.c: Likewise.
68080         * string/test-strrchr-ifunc.c: Likewise.
68081         * string/test-strspn-ifunc.c: Likewise.
68082         * string/test-strstr-ifunc.c: Likewise.
68084         * debug/Makefile (tests-ifunc): New variable.
68085         (tests): Add $(tests-ifunc).
68086         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68087         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68088         * debug/test-stpcpy_chk-ifunc.c: New file.
68089         * debug/test-strcpy_chk-ifunc.c: Likewise.
68091 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68093         [BZ #13601]
68094         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68095         header is not read in.
68097 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68099         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68100         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68101         directly.  Pass built executable to script as
68102         $(built-program-cmd).
68103         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68104         $testprogram without using LD_LIBRARY_PATH and $ldso.
68106         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68107         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68108         $(rtld-installed-name).
68109         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68110         (rtld_installed_name): Likewise.
68111         (library_path): Likewise.
68112         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68113         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68114         $(run-program-prefix) to tst-tables.sh.
68115         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68116         it to run tst-table-from and tst-table-to.
68117         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68118         Pass it to tst-table.sh.
68119         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68120         $(run-program-prefix) to tst-gettext.sh.
68121         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68122         tst-translit.sh.
68123         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68124         tst-gettext2.sh.
68125         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68126         to run tst-gettext.
68127         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68128         to run tst-gettext2.
68129         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68130         to run tst-translit.
68131         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68132         $(run-program-prefix) to tst-mtrace.sh.
68133         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68134         to run tst-mtrace.
68135         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68136         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68137         $(rtld-installed-name).
68138         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68139         (rtld_installed_name): Likewise.
68140         (run_program_prefix): New variable.  Use it to run wordexp-test.
68142         * Makeconfig (ARCH): Remove all definitions.
68143         (machine): Likewise.
68144         [ARCH]: Remove conditional code.
68145         [!objdir]: Give error.
68146         [!objdir] (objpfx): Remove.
68147         [!objdir] (common-objpfx): Likewise.
68148         [!objdir] (common-objdir): Likewise.
68149         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68150         AC_CONFIG_FILES call.
68151         * configure: Regenerated.
68153         [BZ #13888]
68154         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68155         or TMPDIR.
68156         (testout): Likewise.
68158         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68159         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68160         $(rtld-installed-name).
68161         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68162         (rtld_installed_name): Likewise.
68163         (runit): Remove function.
68164         (run_getconf): New variable,  Use it for running getconf binary.
68166 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68168         [BZ #14716]
68169         * string/test-memmem.c (check_result): New function.
68170         (do_one_test): Use it.
68171         (check1): New function.
68172         (test_main): Use it.
68174 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68176         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68178 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68180         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68181         (_G_LSEEK64): Likewise.
68182         (_G_MMAP64): Likewise.
68183         (_G_FSTAT64): Likewise.
68184         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68185         (_G_LSEEK64): Likewise.
68186         (_G_MMAP64): Likewise.
68187         (_G_FSTAT64): Likewise.
68188         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68189         unconditional.  Call __mmap64 directly.
68190         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68191         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68192         __lseek64 directly.
68193         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68194         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68195         __mmap64 directly.
68196         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68197         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68198         __lseek64 directly.
68199         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68200         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68201         __lseek64 directly.
68202         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68203         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68204         __lseek64 directly.
68205         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68206         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68207         __fxstat64 directly.
68208         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68209         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68210         unconditional.
68211         (freopen64) [!_G_OPEN64]: Remove conditional code.
68212         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68213         unconditional.
68214         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68215         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68216         unconditional.
68217         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68218         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68219         unconditional.
68220         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68221         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68222         unconditional.
68223         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68224         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68225         unconditional.
68226         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68227         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68228         unconditional.
68229         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68230         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68231         unconditional.
68232         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68234 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68236         [BZ #12140]
68237         * manual/memory.texi (Malloc Tunable Parameters): Add note
68238         about free list pointers overwriting some perturb bytes.
68239         Wording suggested by Roland McGrath.
68241 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68243         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68244         (lgamma_test): Likewise.
68245         (tgamma_test): Likewise.
68247 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68249         [BZ #14700]
68250         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68251         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68253 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68255         * NEWS: Mention BZ #14716.
68256         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68257         when removing AVAILABLE1_USES_J macro.
68259 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68261         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68262         (__bswap_64): __uint64_t for unsigned 64-bit int.
68264 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68266         * include/string.h (memmem): Declare libc hidden alias.
68267         * string/memmem.c (memmem): Define libc hidden alias.
68268         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68269         __read, __close instead of open, read, close.
68271 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68274         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68275         global and hidden.
68276         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68277         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68278         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68279         Likewise.
68280         (__rawmemchr_sse2): Likewise.
68281         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68282         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68283         (__strchr_sse2): Likewise.
68284         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68285         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68286         (__strcasecmp_sse2): Likewise.
68287         (__strncasecmp_sse2): Likewise.
68288         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68289         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68290         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68291         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68292         (__strrchr_sse2): Likewise.
68293         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68294         ifunc-impl-list.c.
68295         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68296         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68297         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68298         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68299         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68300         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68301         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68302         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68303         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68304         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68305         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68306         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68307         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68308         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68309         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68310         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68311         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68312         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68313         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68314         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68315         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68316         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68317         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68318         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68319         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68320         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68321         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68322         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68323         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68324         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68326         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68327         global and hidden.
68328         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68329         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68330         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68331         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68332         Likewise.
68333         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68334         Likewise.
68335         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68336         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68337         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68338         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68339         ifunc-impl-list.c.
68340         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68341         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68342         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68343         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68344         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68345         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68346         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68347         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68348         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68349         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68350         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68351         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68352         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68353         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68354         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68355         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68356         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68357         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68358         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68359         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68360         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68361         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68362         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68363         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68364         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68365         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68366         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68367         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68368         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68369         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68370         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68371         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68372         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68373         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68374         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68375         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68376         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68377         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68378         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68379         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68380         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68382         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68383         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68384         * include/ifunc-impl-list.h: New file.
68385         * misc/ifunc-impl-list.c: Likewise.
68386         * misc/Makefile (routines): Add ifunc-impl-list.
68387         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68388         * string/test-string.h: Include <ifunc-impl-list.h>.
68389         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68390         TEST_NAME]: New variables.
68391         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68392         are defined.
68393         (test_init): Call __libc_ifunc_impl_list to initialize
68394         func_list if TEST_IFUNC and TEST_NAME are defined.
68396         * string/Makefile (strop-tests): Add bcopy and bzero.
68397         * string/test-bcopy.c: New file.
68398         * string/test-bzero.c: Likewise.
68399         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68400         defined.
68401         * string/test-memset.c: Support bzero test if TEST_BZERO is
68402         defined.
68403         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68404         __libc_memmove.
68405         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68406         __libc_memset.
68407         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68408         of memset.
68410 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68412         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68413         * configure: Regenerated.
68415         * Makeconfig (+link-static-before-libc): Don't include
68416         $(link-static-libc).
68418         * libio/libio.h (_IO_pos_t): Remove.
68420 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68422         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68423         McGrath.
68425 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68427         * crypt/crypt-entry.c: Include fips-private.h.
68428         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68429         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68430         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68431         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68433 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68435         * crypt/crypt-private.h: Include stdbool.h.
68436         (_ufc_setup_salt_r): Return bool.
68437         * crypt/crypt-entry.c: Include errno.h.
68438         (__crypt_r): Return NULL with EINVAL for bad salt.
68439         * crypt/crypt_util.c (bad_for_salt): New.
68440         (_ufc_setup_salt_r): Check that salt is long enough and within
68441         the specified alphabet.
68442         * crypt/badsalttest.c: New file.
68443         * crypt/Makefile (tests): Add it.
68444         ($(objpfx)badsalttest): New.
68446 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68448         * NEWS: Add entry for BZ #14602.
68450 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68452         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68453         type-generic.
68454         * math/libm-test.inc: Update comment listing what functions and
68455         macros are tested.
68456         (isgreater_test): New function.
68457         (isgreaterequal_test): Likewise.
68458         (isless_test): Likewise.
68459         (islessequal_test): Likewise.
68460         (islessgreater_test): Likewise.
68461         (isunordered_test): Likewise.
68462         (main): Call the new functions.
68464 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68466         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68467         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68468         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68469         * sysdeps/i386/configure: Regenerated.
68470         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68471         * sysdeps/mach/configure: Regenerated.
68472         * sysdeps/mach/hurd/configure: Regenerated.
68473         * sysdeps/powerpc/configure: Regenerated.
68474         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68475         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68476         * sysdeps/s390/s390-32/configure: Regenerated.
68477         * sysdeps/s390/s390-64/configure: Regenerated.
68478         * sysdeps/sh/configure: Regenerated.
68479         * sysdeps/sparc/configure: Regenerated.
68480         * sysdeps/unix/sysv/linux/configure: Regenerated.
68481         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68482         * sysdeps/x86_64/configure: Regenerated.
68484         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68485         defined.  Don't check if MAP is NULL.
68487 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68489         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
68490         (_G_stat64): Likewise.
68491         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
68492         (_G_stat64): Likewise.
68493         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
68494         instead of struct _G_stat64.
68495         * libio/fileops.c (mmap_remap_check): Likewise.
68496         (decide_maybe_mmap): Likewise.
68497         (_IO_new_file_seekoff): Likewise.
68498         (_IO_file_stat): Likewise.
68499         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
68500         _G_off64_t.
68501         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
68502         instead of struct _G_stat64.
68503         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68505 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
68507         [BZ #14602]
68508         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68509         Replace with ...
68510         (CHECK_EOL): New macro.
68511         (two_way_short_needle): Check beginning of haystack for EOL.  Use
68512         CHECK_EOL.
68513         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68514         Replace with CHECK_EOL.
68515         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68516         Replace with CHECK_EOL.
68518 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
68520         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
68521         type-generic.
68522         * math/libm-test.inc: Update comment listing what functions and
68523         macros are tested.
68524         (finite_test): New function.
68525         (isinf_test): Likewise.
68526         (isnan_test): Likewise.
68527         (fpclassify_test): Test subnormal input.
68528         (isfinite_test): Likewise.
68529         (isnormal_test): Likewise.
68530         (main): Call the new functions.
68532 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
68534         [BZ #14660]
68535         * Makerules (%.dynsym): Force C locale when running
68536         $(OBJDUMP) --dynamic-syms.
68538 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
68540         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
68541         <stdint.h>.
68543 2012-10-06  David S. Miller  <davem@davemloft.net>
68545         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
68546         upper 32-bits of the length value in %o2 since we use branch-on-register
68547         tests which consider the entire 64-bit register.
68549 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
68551         * string/test-strstr.c (check2): Add a test for page boundary.
68553 2012-10-05  David S. Miller  <davem@davemloft.net>
68555         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
68556         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
68557         file.
68558         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68559         sysdep_routines.
68560         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68561         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
68562         and bzero when HWCAP_SPARC_CRYPTO is present.
68564 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
68566         [BZ #14602]
68567         * string/test-strstr.c (check2): New function.
68568         (test_main): Call check2.
68570         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
68571         and bug-strchr1.
68572         * string/bug-strcasestr1.c (do_test): Moved to ...
68573         * string/test-strcasestr.c (check1): Here.  New function.
68574         (do_one_test): Break out result checking code into ...
68575         (check_result): This.  New function.
68576         (do_one_test): Call check_result.
68577         (test_main): Call check1.
68578         * string/bug-strchr1.c (do_test): Moved to ...
68579         * string/test-strchr.c (check1): Here.  New function.
68580         (do_one_test): Break out result checking code into ...
68581         (check_result): This.  New function.
68582         (do_one_test): Call check_result.
68583         (test_main): Call check1.
68584         * string/bug-strstr1.c (main): Moved to ...
68585         * string/test-strstr.c (check1): Here.  New function.
68586         (do_one_test): Break out result checking code into ...
68587         (check_result): This.  New function.
68588         (do_one_test): Call check_result.
68589         (test_main): Call check1.
68590         * string/bug-strcasestr1.c: Removed.
68591         * string/bug-strchr1.c: Likewise.
68592         * string/bug-strstr1.c: Likewise.
68594         * elf/Makefile (dl-routines): Add hwcaps.
68595         * elf/dl-support.c (_dl_important_hwcaps): Removed.
68596         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
68597         (_dl_important_hwcaps): Moved to ...
68598         * elf/dl-hwcaps.c: Here.  New file.
68599         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
68601         [BZ #14557]
68602         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
68603         if IS_IN_rtld isn't defined.
68605         * elf/dl-support.c (_dl_sysinfo_map): New.
68606         Include "get-dynamic-info.h" and "setup-vdso.h".
68607         (_dl_non_dynamic_init): Call setup_vdso.
68608         * elf/dynamic-link.h: Don't include <assert.h>.
68609         (elf_get_dynamic_info): Moved to ...
68610         * elf/get-dynamic-info.h: Here.  New file.
68611         * elf/dynamic-link.h: Include "get-dynamic-info.h".
68612         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
68613         * elf/setup-vdso.h: Here.  New file.
68614         * elf/rtld.c: Include "setup-vdso.h".
68615         (dl_main): Call setup_vdso.
68617 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
68619         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
68620         creal in comment listing functions tested.  List finite, isinf,
68621         isnan, isless, islessequal, isgreater, isgreaterequal,
68622         islessgreater, isunordered, lgamma_r and pow10 as functions and
68623         macros not tested.  Mention which functions not tested are aliases
68624         for other functions.  Fix typo.  Note that signs of NaNs are not
68625         tested.
68627         * scripts/config.guess: Update from config.git.
68628         * scripts/config.sub: Likewise.
68630 2012-10-04  Roland McGrath  <roland@hack.frob.com>
68632         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
68633         * misc/madvise.c (madvise): Renamed to __madvise.
68634         Make madvise a weak alias.
68635         * include/sys/mman.h: Declare __madvise.
68636         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
68637         * sysdeps/unix/syscalls.list
68638         (madvise): Make __madvise the strong name, and madvise a weak alias.
68639         * sysdeps/unix/sysv/linux/syscalls.list
68640         (madvise, mmap): Remove redundant entries.
68641         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
68642         * malloc/malloc.c (mtrim): Likewise.
68643         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
68645 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68647         * sysdeps/mach/hurd/dl-cache.c: File removed.
68648         * config.h.in (USE_LDCONFIG): New #undef.
68649         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
68650         * configure: Regenerated.
68651         * elf/Makefile (dl-routines): Add dl-cache only under
68652         [$(use-ldconfig) = yes].
68653         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
68654         cache on [USE_LDCONFIG].
68655         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68656         [USE_LDCONFIG].
68657         * elf/rtld.c (dl_main): Likewise.
68659 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68661         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68662         _SC_LEVEL4_CACHE_LINESIZE.
68664 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68666         * sysdeps/unix/bsd/confstr.h: File removed.
68668 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68670         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68671         sys/sdt-config.h.
68673 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68675         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68676         Make 'mapoff' field ElfW(Off) rather than off_t.
68678 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68680         * nscd/Makefile: Remove nscd-cflags and all its users.
68681         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68682         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68684         [BZ #10631]
68685         * malloc.c (malloc_printerr): Clarify error message.
68687 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68689         [BZ #14648]
68690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68691         Set bit_FMA_Usable if FMA is supported.
68692         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68693         macro.
68694         (bit_FMA4_Usable): Updated.
68695         (index_FMA_Usable): New macro.
68696         (CPUID_FMA): Likewise.
68697         (HAS_FMA): Defined with bit_FMA_Usable.
68699 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68701         * bits/types.h (__swblk_t): Type removed.
68702         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68703         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68704         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68705         (__SWBLK_T_TYPE): Likewise.
68706         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68707         (__SWBLK_T_TYPE): Likewise.
68708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68709         (__SWBLK_T_TYPE): Likewise.
68710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68711         (__SWBLK_T_TYPE): Likewise.
68713 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68714             Honza Horak <hhorak@redhat.com>
68716         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68717         (xdr_mapname): Use YPMAXMAP as maxsize.
68718         (xdr_peername): Use YPMAXPEER as maxsize.
68719         (xdr_keydat): Use YPAXRECORD as maxsize.
68720         (xdr_valdat): Use YPMAXRECORD as maxsize.
68722 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68724         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68726         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68727         * csu/init-first.c: ... here.
68728         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68729         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68730         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68731         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68732         * sysdeps/i386/init-first.c: File removed.
68733         * sysdeps/sh/init-first.c: File removed.
68735 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68737         [BZ #14645]
68738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68739         if x * y might underflow to zero and z is zero.
68740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68742         * math/libm-test.inc (min_subnorm_value): New variable.
68743         (fma_test): Add more tests.
68744         (fma_test_towardzero): Likewise.
68745         (fma_test_downward): Likewise.
68746         (fma_test_upward): Likewise.
68747         (initialize): Set min_subnorm_value.
68749 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68751         [BZ #14638]
68752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68753         0 + 0.
68754         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68755         mode for addition resulting in exact zero.
68756         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68758         exact 0 + 0.
68759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68761         * math/libm-test.inc (fma_test): Add more tests.
68762         (fma_test_towardzero): New function.
68763         (fma_test_downward): Likewise.
68764         (fma_test_upward): Likewise.
68765         (main): Call the new functions.
68767 2012-09-28  David S. Miller  <davem@davemloft.net>
68769         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68771 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68773         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68774         instead of SIGALRM.
68776         * sysdeps/gnu/_G_config.h: Moved to ...
68777         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68778         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68779         * sysdeps/generic/_G_config.h: ... here.
68781         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68783         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68785         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68786         Conditionalize target on [libnss_test1.so-version].
68788         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68790         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68791         (elfobjdir): Move out of conditionals.
68793         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68794         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68795         (__nss_lookup_function): Conditionalize label remove_from_tree on
68796         [!DO_STATIC_NSS || SHARED], matching its only use.
68798 2012-09-28  David S. Miller  <davem@davemloft.net>
68800         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68801         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68802         file.
68803         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68804         sysdep_routines.
68805         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68806         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68807         when HWCAP_SPARC_CRYPTO is present.
68809 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68811         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68813 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68815         [BZ #6530]
68816         * stdio-common/vfprintf.c (process_string_arg): Revert
68817         2000-07-22 change.
68819 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68821         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68822         for testcase.
68823         * stdio-common/tst-sprintf.c: Include <locale.h>
68824         (main): Test sprintf's handling of incomplete multibyte
68825         characters.
68827 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68829         * elf/dl-runtime.c (VERSYMIDX): Removed.
68830         * elf/dl-version.c (VERSYMIDX): Likewise.
68831         * elf/do-rel.h (VERSYMIDX): Likewise.
68832         (VALIDX): Likewise.
68833         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68834         * elf/rtld.c (VALIDX): Likewise.
68835         (ADDRIDX): Likewise.
68836         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68837         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68838         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68839         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68840         (VALIDX): Likewise.
68841         (ADDRIDX): Likewise.
68843 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68845         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68847 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68849         [BZ #11438]
68850         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68851         to global scope.
68852         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68853         addresses are in the same scope as 192.0.2/24.
68854         * posix/gai.conf: Document new scope table defaults.
68856 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68858         [BZ #5298]
68859         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68860         for ftell.  Compute offsets from write pointers instead.
68861         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68863 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68865         [BZ #14543]
68866         * libio/Makefile (tests): New test case tst-fseek.
68867         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68868         combination works in wide mode.
68869         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68870         state when the external buffer state changes.
68872 2012-09-27  David S. Miller  <davem@davemloft.net>
68874         [BZ #14376]
68875         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68876         pass reloc->r_addend in as the 'high' argument to
68877         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68881 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68883         * rt/tst-aio2.c: Include <pthread.h>.
68884         * rt/tst-aio3.c: Likewise.
68886 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68888         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68890 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68892         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68893         contents on [SHARED].
68895 2012-09-26  Marek Polacek  <polacek@redhat.com>
68897         [BZ #14530]
68898         [BZ #13741]
68899         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68900         for C++ and GCC <4.3 as well as for non GCC compilers.
68902 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68906 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68908         * Makefile.in (all, install): Declare with .PHONY.
68909         Reported by Michael Hope <michael.hope@linaro.org>.
68911 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68913         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68914         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68915         system header.
68916         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68917         Likewise.
68918         (sydep_routines): Add the new and the internal functions.
68919         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68920         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68922         (GLIBC_2.17): Add the new function.
68923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68924         (GLIBC_2.17): Likewise.
68925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68926         (GLIBC_2.17): Likewise.
68927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68928         (GLIBC_2.17): Likewise.
68929         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68931 2012-09-25  Alan Modra  <amodra@gmail.com>
68933         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68934         Add release barrier before setting once_control to say
68935         initialisation is done.  Add hints on lwarx.  Use macro in
68936         place of isync.
68937         (clear_once_control): Add release barrier.
68939 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68941         [BZ #13629]
68942         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68943         specially.
68944         * math/s_clog10.c (__clog10): Likewise.
68945         * math/s_clog10f.c (__clog10f): Likewise.
68946         * math/s_clog10l.c (__clog10l): Likewise.
68947         * math/s_clogf.c (__clogf): Likewise.
68948         * math/s_clogl.c (__clogl): Likewise.
68949         * math/Makefile (libm-calls): Add x2y2m1.
68950         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68951         (__x2y2m1): Likewise.
68952         (__x2y2m1l): Likewise.
68953         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68954         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68955         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68956         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68957         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68958         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68959         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68960         * sysdeps/i386/fpu/libm-test-ulps: Update.
68961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68963         [BZ #14621]
68964         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68965         int as type of variable DEPTH.
68966         (glob): Use size_t instead of int as type of variables NEWCOUNT
68967         and OLD_PATHC.
68969 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68971         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68972         Add s_sincosf-sse2.
68973         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68974         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68975         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68976         macros for using routine as __sincosf_ia32.
68977         Use macro for function declaration and weak_alias.
68978         * sysdeps/i386/fpu/libm-test-ulps: Update.
68980         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68983         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68984         subnormal argument.
68985         * math/s_cexpf.c (__cexpf): Likewise.
68986         * math/s_csinf.c (__csinf): Likewise.
68987         * math/s_csinhf.c (__csinhf): Likewise.
68988         * math/s_ctanf.c (__ctanf): Likewise.
68989         * math/s_ctanhf.c (__ctanhf): Likewise.
68990         * math/s_ccosh.c (__ccoshf): Likewise.
68991         * math/s_cexp.c (__cexpl): Likewise.
68992         * math/s_csin.c (__csin): Likewise.
68993         * math/s_csinh.c (__csinh): Likewise.
68994         * math/s_ctan.c (__ctan): Likewise.
68995         * math/s_ctanh.c (ctanh): Likewise.
68996         * math/s_ccoshl.c (__ccoshl): Likewise.
68997         * math/s_cexpl.c (__cexpl): Likewise.
68998         * math/s_csinl.c (__csinl): Likewise.
68999         * math/s_csinhl.c (__csinhl): Likewise.
69000         * math/s_ctanl.c (__ctanl): Likewise.
69001         * math/s_ctanhl.c (__ctanhl): Likewise.
69003 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69005         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69006         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69007         (_IO_off_t): Define to __off_t, not _G_off_t.
69008         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69009         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69010         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69011         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69012         type of __dummy and __dummy2 fields.
69013         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69014         (_G_ssize_t): Likewise.
69015         (_G_off_t): Likewise.
69016         (_G_pid_t): Likewise.
69017         (_G_uid_t): Likewise.
69018         (_G_wchar_t): Likewise.
69019         (_G_wint_t): Likewise.
69020         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69021         (_G_ssize_t): Likewise.
69022         (_G_off_t): Likewise.
69023         (_G_pid_t): Likewise.
69024         (_G_uid_t): Likewise.
69025         (_G_wchar_t): Likewise.
69026         (_G_wint_t): Likewise.
69027         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69028         (_G_ssize_t): Likewise.
69029         (_G_off_t): Likewise.
69030         (_G_pid_t): Likewise.
69031         (_G_uid_t): Likewise.
69032         (_G_wchar_t): Likewise.
69033         (_G_wint_t): Likewise.
69035 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69037         * malloc/arena.c: Include malloc-sysdep.h.
69038         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69039         is sufficient to shrink the heap or an unmap is needed.
69040         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69041         new function check_may_shrink_heap.
69042         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69043         new function check_may_shrink_heap.
69045 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69047         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69048         comments.
69050 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69052         * catgets/test-gencat.sh: Add "set -e".
69053         * elf/tst-pathopt.sh: Likewise.
69054         * grp/tst_fgetgrent.sh: Likewise.
69055         * iconvdata/run-iconv-test.sh: Likewise.
69056         * intl/tst-gettext.sh: Likewise.
69057         * intl/tst-gettext2.sh: Likewise.
69058         * intl/tst-gettext4.sh: Likewise.
69059         * intl/tst-gettext6.sh: Likewise.
69060         * intl/tst-translit.sh: Likewise.
69061         * io/ftwtest-sh: Likewise.
69062         * libio/test-freopen.sh: Likewise.
69063         * malloc/tst-mtrace.sh: Likewise.
69064         * posix/globtest.sh: Likewise.
69065         * posix/tst-getconf.sh: Likewise.
69066         * posix/wordexp-tst.sh: Likewise.
69067         * stdio-common/tst-printf.sh: Likewise.
69068         * stdio-common/tst-unbputc.sh: Likewise.
69069         * stdlib/tst-fmtmsg.sh: Likewise.
69070         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69071         * catgets/Makefile: Do not specify -e option when running
69072         testsuite shell scripts.
69073         * elf/Makefile: Likewise.
69074         * grp/Makefile: Likewise.
69075         * iconvdata/Makefile: Likewise.
69076         * intl/Makefile: Likewise.
69077         * io/Makefile: Likewise.
69078         * libio/Makefile: Likewise.
69079         * malloc/Makefile: Likewise.
69080         * posix/Makefile: Likewise.
69081         * stdio-common/Makefile: Likewise.
69082         * stdlib/Makefile: Likewise.
69083         * sysdeps/x86_64/Makefile: Likewise.
69085         * io/ftwtest-sh: Add copyright header.
69086         * posix/globtest.sh: Likewise.
69087         * posix/tst-getconf.sh: Likewise.
69088         * posix/wordexp-tst.sh: Likewise.
69089         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69091 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69093         [BZ #13679]
69094         * Makeconfig (+link): Defined as $(+link-static) if
69095         $(build-shared) isn't yes.
69096         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69097         isn't yes.
69098         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69100         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69102         [BZ #14562]
69103         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69104         new chunk size with MALLOC_ALIGN_MASK.
69106 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69108         [BZ #5044]
69109         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69110         <rounding-mode.h>.
69111         (__printf_fphex): Determine rounding using get_rounding_mode and
69112         round_away.
69113         * stdio-common/tst-printf-round.c (struct hex_test): New
69114         structure.
69115         (hex_tests): New variable.
69116         (test_hex_in_one_mode): New function.
69117         (do_test): Also run tests for hex float output.
69119 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69121         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69122         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69123         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69124         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69125         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69126         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69127         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69128         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69130 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69132         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69133         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69134         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69135         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69137 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69139         [BZ #14579]
69140         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69141         mode only.
69142         * elf/tst-rtld-load-self.sh: New test.
69143         * elf/Makefile: Run it.
69145 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69147         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69148         (tst-writev-ENV): Remove.
69149         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69151 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69153         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69155 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69157         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69158         unconditional.
69159         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69160         Likewise.
69161         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69162         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69163         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69164         Likewise.
69166 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69168         [BZ #14587]
69169         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69170         * config.make.in (have-cpp-asm-debuginfo): Removed.
69171         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69172         * configure: Regenerated.
69174 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69176         [BZ #5044]
69177         * stdio-common/printf_fp.c: Include <stdbool.h> and
69178         <rounding-mode.h>.
69179         (___printf_fp): Determine rounding using get_rounding_mode and
69180         round_away.
69181         * stdio-common/tst-printf-round.c: New file.
69182         * stdio-common/Makefile (tests): Add tst-printf-round.
69183         (link-libm): New variable.
69184         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69186 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69188         [BZ #14576]
69189         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69190         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69191         Likewise.
69192         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69193         Likewise.
69195 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69197         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69198         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69199         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69200         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69202 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69204         [BZ #14518]
69205         * include/rounding-mode.h: New file.
69206         * sysdeps/generic/get-rounding-mode.h: Likewise.
69207         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69208         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69209         (MAX_VALUE): New macro.
69210         (MIN_VALUE): Likewise.
69211         (overflow_value): New function.
69212         (underflow_value): Likewise.
69213         (round_and_return): Use overflow_value and underflow_value to
69214         determine return values in overflow and underflow cases.  Use
69215         round_away to determine rounding depending on rounding mode.
69216         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69217         determine return values in overflow and underflow cases.
69218         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69219         (struct test_results): New structure.
69220         (struct test): Use struct test_results to store expected results
69221         for all rounding modes.
69222         (TEST): Include expected results for all rounding modes.
69223         (test_in_one_mode): New function.
69224         (do_test): Use test_in_one_mode to compute and check results.
69225         Check results for all rounding modes.
69226         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69227         $(link-libm).
69229 2012-12-09  Allan McRae  <allan@archlinux.org>
69231         * sysdeps/i386/fpu/libm-test-ulps: Update
69233 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69235         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69236         (_G_int32_t): Likewise.
69237         (_G_uint16_t): Likewise.
69238         (_G_uint32_t): Likewise.
69239         (_G_HAVE_BOOL): Likewise.
69240         (_G_HAVE_ATEXIT): Likewise.
69241         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69242         (_G_HAVE_IO_FILE_OPEN): Likewise.
69243         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69244         (_G_int32_t): Likewise.
69245         (_G_uint16_t): Likewise.
69246         (_G_uint32_t): Likewise.
69247         (_G_HAVE_BOOL): Likewise.
69248         (_G_HAVE_ATEXIT): Likewise.
69249         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69250         (_G_HAVE_IO_FILE_OPEN): Likewise.
69251         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69252         (_G_int32_t): Likewise.
69253         (_G_uint16_t): Likewise.
69254         (_G_uint32_t): Likewise.
69255         (_G_HAVE_BOOL): Likewise.
69256         (_G_HAVE_ATEXIT): Likewise.
69257         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69258         (_G_HAVE_IO_FILE_OPEN): Likewise.
69260 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69262         * csu/libc-tls.c: Update copyright years.
69264 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69266         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69267         [!_G_USING_THUNKS]: Remove conditional code.
69268         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69269         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69271         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69272         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69273         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69274         (_G_VTABLE_LABEL_PREFIX): Likewise.
69275         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69276         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69277         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69278         (_G_VTABLE_LABEL_PREFIX): Likewise.
69279         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69280         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69281         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69282         (_G_VTABLE_LABEL_PREFIX): Likewise.
69283         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69285 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69287         * libio/Makefile: Include ../Makeconfig before tests.
69288         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69289         only if $(build-shared) is yes.
69291         * iconv/gconv_db.c: Update copyright years.
69293 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69295         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69296         unwind info if defined PIC. Fix special cases description.
69297         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69299         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69300         DP_HI_MASK entry.
69301         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69303 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69305         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69307         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69308         is NULL.
69310         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69311         (LDLIBS-tst-chk4): This.
69312         (LDFLAGS-tst-chk5): Renamed to ...
69313         (LDLIBS-tst-chk5): This.
69314         (LDFLAGS-tst-chk6): Renamed to ...
69315         (LDLIBS-tst-chk6): This.
69316         (LDFLAGS-tst-lfschk4): Renamed to ...
69317         (LDLIBS-tst-lfschk4): This.
69318         (LDFLAGS-tst-lfschk5): Renamed to ...
69319         (LDLIBS-tst-lfschk5): This.
69320         (LDFLAGS-tst-lfschk6): Renamed to ...
69321         (LDLIBS-tst-lfschk6): This.
69323         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69324         on $(common-objpfx)soversions.mk.
69326 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69328         [BZ #10014]
69329         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69330         example host name.
69332 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69334         * malloc/arena.c (arena_get_retry): New function that gets
69335         another arena for the caller to try its request on.
69336         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69337         current arena cannot fulfill the request.
69338         (__libc_memalign): Likewise.
69339         (__libc_memalign): Likewise.
69340         (__libc_pvalloc): Likewise.
69341         (__libc_calloc): Likewise.
69343 2012-09-05  John Tobey  <john.tobey@gmail.com>
69345         [BZ #13542]
69346         * manual/arith.texi (Operations on Complex): Fix description
69347         of carg branch cut.
69349 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69351         [BZ #10014]
69352         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69353         host name.
69355         [BZ #10038]
69356         * manual/memory.texi (Memory): Make order of menu items match
69357         order of sections.
69359 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69361         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69362         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69363         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69365 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69367         * csu/libc-tls.c (static_dtv): Renamed to ...
69368         (_dl_static_dtv): This.  Make it global.
69369         (_dl_initial_dtv): Removed.
69370         (__libc_setup_tls): Updated.
69371         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69372         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69373         DL_INITIAL_DTV.
69375 2012-09-06  Petr Machata  <pmachata@redhat.com>
69377         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69378         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69379         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69380         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69382 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69384         [BZ #14545]
69385         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69386         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69387         freeing dtv[-1].
69389 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69391         [BZ #14544]
69392         * Makeconfig (link-static-before-libc): Replace $(+prector)
69393         with $(+prectorT).
69394         (link-static-after-libc): Replace $(+postctor) with
69395         $(+postctorT).
69396         (link-bounded): Replace $(+prector)/$(+postctor) with
69397         $(+prectorT)/$(+postctorT).
69398         (+prectorT): New macro.
69399         (+postctorT): Likewise.
69401 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69403         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69404         (round_str): Handle values above the maximum for IBM long double
69405         as inexact.
69406         * stdlib/tst-strtod-round.c (tests): Regenerated.
69408 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69410         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69411         assembler flag.
69412         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69413         zarch_nohighgprs around the zarch optimized routines.
69414         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69415         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69417         for zarch.
69419 2012-09-05  David S. Miller  <davem@davemloft.net>
69421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69423         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69424         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69425         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69426         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69427         entries.
69429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69431         * malloc/arena.c: Fold copyright years.
69432         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69436         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69438 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69440         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69442 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69444         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69445         change internal state upon failure.
69447 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69449         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69450         * malloc/memusage.c (mmap): Likewise.
69451         (mmap64, mremap): Likewise.  Adjust name in comment.
69453 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69455         * libio/fileops.c: Fix typos in comments.
69456         * libio/oldfileops.c: Likewise.
69457         * libio/wfileops.c: Likewise.
69459 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69461         [BZ #1349]
69462         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69463         (tst-malloc-usable-ENV): Set environment for test case.
69464         * malloc/hooks.c (malloc_check_get_size): New function to get
69465         requested size.
69466         * malloc/malloc.c (musable): Use malloc_check_get_size.
69467         * malloc/tst-malloc-usable.c: New test case.
69469 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69471         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69473 2012-09-05  Allan McRae  <allan@archlinux.org>
69475         [BZ #13966]
69476         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69477         determine header location.
69478         * configure: Regenerated.
69480 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69482         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69483         float format.
69484         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69485         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69486         format.
69487         (test): Regenerate.
69489 2012-09-04  David S. Miller  <davem@davemloft.net>
69491         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
69492         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69493         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
69495 2012-09-04  Florian Weimer  <fweimer@redhat.com>
69497         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
69498         failures.
69500         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
69502 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
69504         [BZ #9914]
69505         * libio/iogetdelim.c: Include <limits.h>.
69506         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
69507         + len + 1 would overflow.
69509 2012-09-03  Andreas Jaeger  <aj@suse.de>
69511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69512         * sysdeps/i386/fpu/libm-test-ulps: Update.
69514 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69516         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69517         Add s_sinf-sse2, s_conf-sse2.
69519         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
69520         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
69521         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
69522         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
69524         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
69525         for using routine as __sinf_ia32.
69526         Use macro for function declaration and weak_alias.
69527         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
69528         for using routine as __cosf_ia32.
69529         Use macro for function declaration and weak_alias.
69531         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
69532         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
69534         * sysdeps/x86_64/fpu/s_sinf.S: New file.
69535         * sysdeps/x86_64/fpu/s_cosf.S: New file.
69536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69538         * math/libm-test.inc (cos_test): Add more test cases.
69539         (sin_test): Likewise.
69540         (sincos_test): Likewise.
69542 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69544         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
69545         (IFUNC_RESOLVE): Make pointers to the specialized implementations
69546         hidden.
69547         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69549 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
69551         [BZ #14538]
69552         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
69553         first element of the GOT.
69554         (elf_machine_load_address): Return the difference between
69555         the runtime address of _DYNAMIC and elf_machine_dynamic ().
69557 2012-09-01  Allan McRae  <allan@archlinux.org>
69559         [BZ #13412]
69560         * configure.in (AWK): Require gawk version 3.0 or later.
69561         * configure: Regenerated.
69563 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
69565         * sysdeps/unix/sysv/linux/kernel-features.h
69566         (__ASSUME_POSIX_CPU_TIMERS): Remove.
69567         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69568         [__NR_clock_getres]: Make code unconditional.
69569         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
69570         (clock_getcpuclockid): Remove code left unreachable by removal of
69571         conditionals.
69572         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
69573         code unconditional.
69574         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69575         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69576         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
69577         Make code unconditional.
69578         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69579         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69580         * sysdeps/unix/sysv/linux/clock_settime.c
69581         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
69582         conditional code.
69583         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
69584         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69586 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
69588         [BZ #14476]
69589         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
69590         scripts/test-installation.pl.
69592         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
69593         and $ld_so_version if it is set.
69595 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69597         [BZ #14516]
69598         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
69599         failure if reading from procfs failed.
69600         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
69602 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69604         * sysdeps/unix/sysv/linux/kernel-features.h
69605         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
69606         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69607         Remove conditional code.
69608         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69609         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
69610         Remove conditional code.
69611         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69612         * sysdeps/unix/sysv/linux/i386/fxstat.c
69613         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69614         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69615         * sysdeps/unix/sysv/linux/i386/fxstatat.c
69616         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69617         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69618         * sysdeps/unix/sysv/linux/i386/lxstat.c
69619         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69621         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
69622         Remove conditional code.
69623         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69624         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69625         Remove conditional code.
69626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69627         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
69628         <kernel-features.h>.
69629         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
69630         Remove.
69631         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
69632         Remove conditional code.
69633         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69634         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
69635         Remove conditional.
69637 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
69639         [BZ #5400]
69640         * NEWS: Add fixed bug number.
69642 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69644         [BZ #14519]
69645         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
69646         underflowing exponent in case of negative sign.
69647         * stdlib/tst-strtod-round-data: Add more tests.
69648         * stdlib/tst-strtod-round.c (tests): Regenerated.
69650         [BZ #3479]
69651         * stdlib/strtod_l.c (NDIG): Remove.
69652         (HEXNDIG): Likewise.
69653         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
69654         smallest representable value.
69655         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69656         lie within an exact representation of 1/2 ulp of the result.
69657         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69658         unconditionally.
69659         (TENS_P9_IDX): Define unconditionally.
69660         (TENS_P9_SIZE): Likewise.
69661         (TENS_P10_IDX): Likewise.
69662         (TENS_P10_SIZE): Likewise.
69663         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69664         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69665         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69666         entries for 10^2^13 and 10^2^14.
69667         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69668         (TENS_P13_IDX): Define.
69669         (TENS_P13_SIZE): Likewise.
69670         (TENS_P14_IDX): Likewise.
69671         (TENS_P14_SIZE): Likewise.
69672         (_fpioconst_pow10): Change array size to
69673         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69674         unconditional.
69675         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69676         1024]: Add entries for 10^2^13 and 10^2^14.
69677         [LAST_POW10 > _LAST_POW10]: Remove #error.
69678         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69679         (_fpioconst_pow10): Change array size to
69680         FPIOCONST_POW10_ARRAY_SIZE.
69681         * stdlib/gen-fpioconst.c: New file.
69682         * stdlib/gen-tst-strtod-round.c: Likewise.
69683         * stdlib/tst-strtod-round-data: Likewise.
69684         * stdlib/tst-strtod-round.c: Likewise.
69685         * stdlib/Makefile (tests): Add tst-strtod-round.
69687         [BZ #14459]
69688         * stdlib/strtod_l.c: Include <stdint.h>.
69689         (NDEBUG): Do not define.
69690         (round_and_return): Change EXPONENT parameter to type intmax_t.
69691         Rearrange calculations to avoid internal overflow possibilities.
69692         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69693         Rearrange calculations to avoid internal overflow possibilities.
69694         Assert that number fits inside MPNSIZE limbs.
69695         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69696         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69697         calculations and add assertions to avoid internal overflow
69698         possibilities.  Add casts to avoid signed/unsigned operations.
69699         * stdlib/tst-strtod-overflow.c: New file.
69700         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69702 2012-08-25  Marek Polacek  <polacek@redhat.com>
69704         * time/time.h: Fix some typos in comments.
69706 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69708         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69709         * posix/tst-rfc3484-2.c: Likewise.
69710         * posix/tst-rfc3484-3.c: Likewise.
69712 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69714         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69715         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69717 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69719         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69720         #include of fxstatat64.c.
69722 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69724         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69725         * shadow/getspent_r.c: Likewise.
69726         * shadow/getspnam.c: Likewise.
69727         * shadow/getspnam_r.c: Likewise.
69728         * gshadow/getsgent.c: Likewise.
69729         * gshadow/getsgent_r.c: Likewise.
69730         * gshadow/getsgnam.c: Likewise.
69731         * gshadow/getsgnam_r.c: Likewise.
69732         * inet/getnetbyad.c: Likewise.
69733         * inet/getnetbyad_r.c: Likewise.
69734         * inet/getnetbynm.c: Likewise.
69735         * inet/getnetbynm_r.c: Likewise.
69736         * inet/getnetent.c: Likewise.
69737         * inet/getnetent_r.c: Likewise.
69738         * inet/getproto.c: Likewise.
69739         * inet/getproto_r.c: Likewise.
69740         * inet/getprtent.c: Likewise.
69741         * inet/getprtent_r.c: Likewise.
69742         * inet/getprtname.c: Likewise.
69743         * inet/getprtname_r.c: Likewise.
69744         * inet/getrpcbyname.c: Likewise.
69745         * inet/getrpcbyname_r.c: Likewise.
69746         * inet/getrpcbynumber.c: Likewise.
69747         * inet/getrpcbynumber_r.c: Likewise.
69748         * inet/getrpcent.c: Likewise.
69749         * inet/getrpcent_r.c: Likewise.
69750         * inet/getaliasent.c: Likewise.
69751         * inet/getaliasent_r.c: Likewise.
69752         * inet/getaliasname.c: Likewise.
69753         * inet/getaliasname_r.c: Likewise.
69754         * nscd/getgrgid_r.c: Likewise.
69755         * nscd/getgrnam_r.c: Likewise.
69756         * nscd/gethstbyad_r.c: Likewise.
69757         * nscd/gethstbynm3_r.c: Likewise.
69758         * nscd/getpwnam_r.c: Likewise.
69759         * nscd/getpwuid_r.c: Likewise.
69760         * nscd/getsrvbynm_r.c: Likewise.
69761         * nscd/getsrvbypt_r.c: Likewise.
69762         * nscd/gai.c: Likewise.
69764         * configure.in (build_nscd): New substituted variable, set
69765         by --disable-build-nscd and defaults to $use_nscd.
69766         * configure: Regenerated.
69767         * config.make.in (build-nscd): New substituted variable.
69768         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69769         Change conditional to require [$(build-nscd) = yes] as well.
69770         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69772         [BZ# 13696]
69773         * configure.in (use_nscd): New substituted variable, set by
69774         --disable-nscd.  If enabled, define USE_NSCD.
69775         * configure: Regenerated.
69776         * config.h.in: Add USE_NSCD.
69777         * config.make.in (use-nscd): New substituted variable.
69778         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69779         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69780         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69781         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69782         (CFLAGS-getgrnam_r.c): Likewise.
69783         (CFLAGS-initgroups.c): Likewise.
69784         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69785         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69786         Variables removed.
69787         * inet/getnetgrent_r.c
69788         (nscd_setnetgrent): New function, broken out of ...
69789         (setnetgrent): ... here.  Call it.
69790         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69791         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69792         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69793         * nscd/Makefile (routines, aux): Move definitions after include of
69794         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69795         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69796         Conditionalize on [USE_NSCD].
69797         (is_nscd, nscd_init_cb): Likewise.
69798         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69799         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69800         * nss/nss_db/db-init.c: Likewise.
69801         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69802         [USE_NSCD].
69803         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69804         (make_request): Use it.
69805         (cache_valid_p): New function.
69806         (__check_pf): Use it.
69807         * NEWS: Add item for --disable-nscd.
69809 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69811         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69812         to support sed >= 4.2.1-20-ga9bf076.
69813         * configure: Regenerated.
69815 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69817         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69818         Conditionalize whole body on [IREL].
69820 2012-08-22  Jeff Law <law@redhat.com>
69822         [BZ #14505]
69823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69824         if the family is PF_UNSPEC.
69826 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69828         * Makerules (lib-version): Rename from V.
69829         (install-lib-nosubdir): Change V to lib-version.
69831 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69833         [BZ #14252]
69834         * powerpc32/power6/wcschr.c: New file.
69835         * powerpc32/power6/wcscpy.c: New file.
69836         * powerpc32/power6/wcsrchr.c: New file.
69837         * powerpc64/power6/wcschr.c: New file.
69838         * powerpc64/power6/wcscpy.c: New file.
69839         * powerpc64/power6/wcsrchr.c: New file.
69841 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69843         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69844         (two_way_short_needle): Use it.
69845         * string/strstr.c (AVAILABLE1_USES_J): Define.
69846         * string/strcasestr.c: Likewise.
69848         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69849         array references.
69850         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69852         [BZ #11607]
69853         * NEWS: Add an entry.
69854         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69855         define their defaults.
69856         (two_way_short_needle): Detect end-of-string on-the-fly.
69857         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69858         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69859         * string/bug-strcasestr1.c: New test.
69860         * string/Makefile: Run it.
69862 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69864         [BZ #11607]
69865         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69866         the first character.
69868 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69870         * csu/elf-init.c (__libc_csu_irel): Function removed.
69871         * csu/libc-start.c (apply_irel): New function.
69872         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69874 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69876         * sysdeps/unix/sysv/linux/kernel-features.h
69877         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69878         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69879         <kernel-features.h>.
69880         [__NR_fadvise64_64]: Make code unconditional.
69881         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69882         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69883         !__NR_fadvise64_64)]: Likewise.
69884         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69885         !__NR_fadvise64_64))]: Likewise.
69886         [__NR_fadvise64]: Make code unconditional.
69887         [!__NR_fadvise64]: Remove conditional code.
69888         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69889         <kernel-features.h>.
69890         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69891         unconditional.
69892         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69893         conditional code.
69894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69895         not include <kernel-features.h>.
69896         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69897         unconditional.
69898         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69899         conditional code.
69900         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69901         include <kernel-features.h>.
69902         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69903         unconditional.
69904         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69905         conditional code.
69907 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69910         slight instruction rearrangements per scrollpipe analysis.
69911         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69913 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69915         * manual/syslog.texi (syslog; vsyslog, closelog):
69916         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69917         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69919         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69920         DSOCAPS to match condition on defining it.
69922 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69924         * sysdeps/unix/sysv/linux/kernel-features.h
69925         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69927         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69928         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69930         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69931         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69933         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69934         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69936         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69937         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69939         * sysdeps/unix/sysv/linux/kernel-features.h
69940         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69941         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69942         unconditional.
69943         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69944         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69945         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69946         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69947         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69948         Make code unconditional.
69949         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69950         (__mmap64) [!__NR_mmap2]: Likewise.
69951         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69952         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69953         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69954         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69955         [__NR_mmap2]: Make code unconditional.
69956         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69957         (__mmap64) [!__NR_mmap2]: Likewise.
69959 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69961         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69963 2012-08-18  Andreas Jaeger  <aj@suse.de>
69965         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69967 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69969         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69970         * include/unistd.h (__have_sock_cloexec): Likewise.
69971         (__have_pipe2): Likewise.
69972         (__have_dup3): Likewise.
69974 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69976         [BZ #9685]
69977         * include/unistd.h (__have_pipe2): Change define into an extern int.
69978         (__have_dup3): Likewise.
69979         * socket/have_sock_cloexec.c: Include fcntl.h.
69980         (__have_pipe2): New variable.
69981         (__have_dup3): Likewise.
69983 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69985         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69987 2012-08-17  Marek Polacek  <polacek@redhat.com>
69989         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69990         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69992 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69994         * configure.in: Add AC_SUBST for sysheaders.
69995         * configure: Regenerated.
69996         * config.make.in (sysheaders): New substituted variable.
69998         * sysdeps/unix/mkfifo.c: Moved ...
69999         * sysdeps/posix/mkfifo.c: ... here.
70000         * sysdeps/unix/mkfifoat.c: Moved ...
70001         * sysdeps/posix/mkfifoat.c: ... here.
70003         * sysdeps/unix/utime.c: Moved ...
70004         * sysdeps/posix/utime.c: ... here.
70006         * sysdeps/unix/time.c: Moved ...
70007         * sysdeps/posix/time.c: ... here.
70008         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70009         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70011         * sysdeps/unix/nice.c: Moved ...
70012         * sysdeps/posix/nice.c: ... here.
70014         * sysdeps/unix/alarm.c: Moved ...
70015         * sysdeps/posix/alarm.c: ... here.
70017         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70019 2012-08-17  Jeff Law <law@redhat.com>
70021         * intl/Makefile (codeset_mo): New variable.
70022         ($(codeset_mo)): New target.
70023         (tst-codeset.out): Depend on that.  Remove explicit rule.
70024         (tst-gettext3.out, tst-gettext5.out): Likewise.
70025         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70026         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70027         * intl/tst-codeset.sh: Remove.
70028         * intl/tst-gettext3.sh: Likewise.
70029         * intl/tst-gettext5.sh: Likewise.
70031 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70033         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70034         * sysdeps/unix/syscalls.list: ... here.
70036         * sysdeps/posix/getaddrinfo.c
70037         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70038         (gaiconf_init, gaiconf_reload): Use them.
70039         [!_STATBUF_ST_NSEC]
70040         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70041         Define using time_t rather than struct timespec.
70043         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70044         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70045         Macros removed.
70046         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70047         [!NO_THREADS].
70048         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70049         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70050         Likewise.
70052         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70053         __libc_cleanup_push argument.
70055         * bits/param.h: New file.
70056         * misc/sys/param.h: New file.
70057         * include/sys/param.h: New file.
70058         * misc/Makefile (headers): Add bits/param.h.
70059         * sysdeps/generic/sys/param.h: File removed.
70060         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70061         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70062         * sysdeps/mach/hurd/bits/param.h: New file.
70063         * sysdeps/mach/hurd/sys/param.h: File removed.
70065         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70066         last change.
70068         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70069         [_IO_MTSAFE_IO].
70070         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70071         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70072         New macros.
70074         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70075         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70076         rather than -D_IO_MTSAFE_IO conditionally.
70077         * stdio-common/Makefile (CPPFLAGS): Likewise.
70078         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70079         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70080         Use $(libio-mtsafe).
70081         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70082         of -D_IO_MTSAFE_IO.
70083         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70084         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70085         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70086         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70087         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70088         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70089         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70090         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70091         (CFLAGS-fread_u_chk.c): Likewise.
70092         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70093         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70094         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70095         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70096         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70097         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70098         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70099         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70100         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70102         * libio/Makefile: Test [$(libc-reentrant) = yes]
70103         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70105         * Makeconfig
70106         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70107         * sysdeps/pthread/configure: File removed.
70108         * sysdeps/pthread/Makeconfig: New file.
70109         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70110         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70112 2012-08-16  Gary Benson  <gbenson@redhat.com>
70114         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70115         unmapping the first object in a namespace.
70117 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70119         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70120         (__internal_setnetgrent): ... this.  Add internal_function to
70121         definition.  Add libc_hidden_def.
70122         (setnetgrent): Update caller.
70123         (internal_endnetgrent): Renamed to ...
70124         (__internal_endnetgrent): ... this.  Add internal_function to
70125         definition.  Add libc_hidden_def.
70126         (endnetgrent): Update caller.
70127         (internal_getnetgrent_r): Renamed to ...
70128         (__internal_getnetgrent_r): ... this.  Add internal_function to
70129         definition.  Add libc_hidden_def.
70130         (__getnetgrent_r): Update caller.
70131         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70133 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70135         * stdlib/longlong.h: Update from GCC.
70137 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70139         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70140         on _QL, which is set by umul_ppmm but never used.
70141         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70142         variables, which are set by GMP macros but never used.
70143         * stdio-common/_itowa.c (_itowa): Likewise.
70144         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70145         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70147 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70149         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70150         struct La_sh_regs is not constant.
70151         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70152         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70153         and struct La_sparc64_regs are not constant.
70155 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70157         * sysdeps/unix/sysv/linux/kernel-features.h
70158         (__ASSUME_POSIX_TIMERS): Remove.
70159         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70160         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70161         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70162         Make code unconditional.
70163         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70164         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70165         Make code unconditional.
70166         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70167         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70168         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70169         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70170         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70171         Make code unconditional.
70172         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70173         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70174         (__libc_missing_posix_timers): Remove.
70176 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70178         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70179         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70181         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70183         * elf/dl-sym.c: Include <stdlib.h>.
70185         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70186         constants, which avoids warnings in 32-bit builds.
70188         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70189         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70191         * misc/lseek.c: File moved to ...
70192         * io/lseek.c: ... here.
70194         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70196         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70197         shifting LEN more than 31 bits at once.
70199 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70201         [BZ #14195]
70202         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70203         segmentation fault for a case of two empty input strings.
70204         * string/test-strncasecmp.c (check1): Renamed to...
70205         (bz12205): ...this.
70206         (bz14195): Add new testcase for two empty input strings and N > 0.
70207         (test_main): Call new testcase, adapt for renamed function.
70209 2012-08-15  Andreas Jaeger  <aj@suse.de>
70211         [BZ #14090]
70212         * crypt/md5test2.c: New test, based on test supplied by Serge
70213         Belyshev <belyshev@depni.sinp.msu.ru>.
70214         * crypt/Makefile (xtests): Add md5test-giant..
70215         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70217 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70219         [BZ #14090]
70220         * crypt/md5.c (md5_process_block): Don't assume the buffer
70221         length is less than 2**32.
70222         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70223         length is less than 2**64.
70225 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70227         * string/str-two-way.h: Include <sys/param.h>.
70228         (MAX): Macro removed.
70230         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70231         Move #define and #undef of memmove to just before and after
70232         including <string.h>.
70234         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70235         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70236         and after including <string.h>.  Move declarations of
70237         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70238         to before #include "string/memmove.c".
70240         * include/dirent.h: Declare __getdirentries.
70242         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70243         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70245 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70247         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70248         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70249         * sysdeps/i386/configure: Regenerated.
70250         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70251         STABS_CURRENT_FILE, and STABS_FUN.
70252         (END): Remove call to STABS_FUN_END.
70253         (STABS_CURRENT_FILE1): Delete.
70254         (STABS_CURRENT_FILE): Likewise.
70255         (STABS_FUN): Likewise.
70256         (STABS_FUN_END): Likewise.
70257         (STABS_FUN2): Likewise.
70258         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70259         * sysdeps/x86_64/configure: Regenerated.
70261 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70263         * elf/dl-open.c: Include <atomic.h>.
70264         * elf/dl-lookup.c: Likewise.
70266 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70268         * sysdeps/unix/sysv/linux/kernel-features.h
70269         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70270         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70271         unconditionally.
70272         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70273         unconditionally.
70274         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70275         condition on __ASSUME_CLONE_THREAD_FLAGS.
70277 2012-08-14  Andreas Jaeger  <aj@suse.de>
70279         * sysdeps/i386/fpu/libm-test-ulps: Update.
70281 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70283         * include/atomic.h (atomic_exchange_and_add): Split into ...
70284         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70285         New atomic macros.
70287 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70291 2012-08-13  Jeff Law <law@redhat.com>
70293         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70294         null byte in the output string.
70296 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70298         * sysdeps/unix/sysv/linux/kernel-features.h
70299         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70300         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70301         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70302         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70303         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70304         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70305         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70307 2012-08-09  Jeff Law <law@redhat.com>
70309         [BZ #13939]
70310         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70311         When avoid_arena is set, don't retry in the that arena.  Pick the
70312         next one, whatever it might be.
70313         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70314         (arena_lock): Pass in new parameter to arena_get2.
70315         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70316         arena_get2.
70317         (__libc_malloc): Unify retrying after main arena failure with
70318         __libc_memalign version.
70319         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70321 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70323         [BZ #14166]
70324         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70325         to __redirect_strstr.
70326         (__strstr_sse42): Use typeof __redirect_strstr.
70327         (__strstr_ia32): Likewise.
70328         (__libc_strstr): New prototype.
70329         (strstr): Renamed to ...
70330         (__libc_strstr): This.
70331         (strstr): New strong alias of __libc_strstr.
70332         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70333         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70334         __redirect_time.
70335         Include <time.h>.
70336         (__libc_time): New prototype.
70337         (time_ifunc): Replace time with __libc_time.
70338         (time): New strong alias and hidden definition of __libc_time.
70339         (__GI_time): Remove strong alias.
70340         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70341         Include <stddef.h>.
70342         (memmove): Redefined to __redirect_memmove.
70343         (__memmove_sse2): Use typeof __redirect_memmove.
70344         (__memmove_ssse3): Likewise.
70345         (__memmove_ssse3_back): Likewise.
70346         (__libc_memmove): New prototype.
70347         (memmove): Renamed to ...
70348         (__libc_memmove): This.
70349         (memmove): New strong alias of __libc_memmove.
70351 2012-08-08  Mark Salter  <msalter@redhat.com>
70353         * elf/elf.h
70354         (R_MN10300_TLS_GD): Define.
70355         (R_MN10300_TLS_LD): Likewise.
70356         (R_MN10300_TLS_LDO): Likewise.
70357         (R_MN10300_TLS_GOTIE): Likewise.
70358         (R_MN10300_TLS_IE): Likewise.
70359         (R_MN10300_TLS_LE): Likewise.
70360         (R_MN10300_TLS_DTPMOD): Likewise.
70361         (R_MN10300_TLS_DTPOFF): Likewise.
70362         (R_MN10300_TLS_TPOFF): Likewise.
70363         (R_MN10300_SYM_DIFF): Likewise.
70364         (R_MN10300_ALIGN): Likewise.
70365         (R_MN10300_NUM): Update.
70367 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70369         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70370         Remove.
70372 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70374         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70376         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70377         sysdeps/unix -> sysdeps/posix move.
70378         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70380 2012-08-07      Allan McRae     <allan@archlinux.org>
70382         [BZ #14303]
70383         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70384         (SUNOS_CPP): Likewise.
70385         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70386         not found.
70387         (open_input): Call CPP using execvp.
70389 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70391         * sysdeps/unix/sysv/linux/kernel-features.h
70392         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70393         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70394         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70395         (__ASSUME_WAITID_SYSCALL): Likewise.
70396         * sysdeps/unix/sysv/linux/dl-execstack.c
70397         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70398         code unconditional.
70399         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70400         conditional code.
70401         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70402         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70403         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70404         code.
70405         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70406         unconditional.
70407         [__ASSUME_WAITID_SYSCALL]: Likewise.
70408         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70410 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70412         * sysdeps/unix/closedir.c: Renamed to ...
70413         * sysdeps/posix/closedir.c: ... here.
70414         * sysdeps/unix/dirfd.c: Renamed to ...
70415         * sysdeps/posix/dirfd.c: ... here.
70416         * sysdeps/unix/dirstream.h: Renamed to ...
70417         * sysdeps/posix/dirstream.h: ... here.
70418         * sysdeps/unix/fdopendir.c: Renamed to ...
70419         * sysdeps/posix/fdopendir.c: ... here.
70420         * sysdeps/unix/opendir.c: Renamed to ...
70421         * sysdeps/posix/opendir.c: ... here.
70422         * sysdeps/unix/readdir.c: Renamed to ...
70423         * sysdeps/posix/readdir.c: ... here.
70424         * sysdeps/unix/readdir_r.c: Renamed to ...
70425         * sysdeps/posix/readdir_r.c: ... here.
70426         * sysdeps/unix/rewinddir.c: Renamed to ...
70427         * sysdeps/posix/rewinddir.c: ... here.
70428         * sysdeps/unix/seekdir.c: Renamed to ...
70429         * sysdeps/posix/seekdir.c: ... here.
70430         * sysdeps/unix/telldir.c: Renamed to ...
70431         * sysdeps/posix/telldir.c: ... here.
70432         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70433         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70434         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70435         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70437         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70438         * bits/fcntl.h: ... here.
70440         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70441         not 0.
70442         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70443         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70444         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70445         (struct flock): Move l_start, l_len to the beginning.
70446         Use __pid_t for l_pid.
70447         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70448         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70449         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70450         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70451         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70452         [__USE_LARGEFILE64] (struct flock64): New type.
70453         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70455         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70456         * bits/dirent.h: ... here.
70458         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70459         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70461 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70463         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70464         Change from 2.6.0 to 2.6.16.
70465         * sysdeps/unix/sysv/linux/configure: Regenerated.
70466         * sysdeps/unix/sysv/linux/kernel-features.h
70467         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70468         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70469         version.
70470         (__ASSUME_UTIMES): Likewise.
70471         (__ASSUME_CLONE_STOPPED): Remove.
70472         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70473         architectures, not kernel version.
70474         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70475         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70476         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70477         (__ASSUME_WAITID_SYSCALL): Likewise.
70478         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70479         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70480         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70481         refer to older versions.
70483 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70485         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70486         Define alphasort64 as an alias.
70487         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
70488         Define versionsort64 as an alias.
70489         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
70490         Define scandir64 as an alias.
70491         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
70492         Define scandirat64 as an alias.
70493         * dirent/alphasort64.c (alphasort64):
70494         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
70495         * dirent/versionsort64.c: Likewise.
70496         * dirent/scandir64.c: Likewise.
70497         * dirent/scandirat64.c: Likewise.
70498         * sysdeps/wordsize-64/alphasort.c: File removed.
70499         * sysdeps/wordsize-64/alphasort64.c: File removed.
70500         * sysdeps/wordsize-64/scandir.c: File removed.
70501         * sysdeps/wordsize-64/scandir64.c: File removed.
70502         * sysdeps/wordsize-64/scandirat.c: File removed.
70503         * sysdeps/wordsize-64/scandirat64.c: File removed.
70504         * sysdeps/wordsize-64/versionsort.c: File removed.
70505         * sysdeps/wordsize-64/versionsort64.c: File removed.
70506         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
70507         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
70508         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
70509         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
70510         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
70511         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
70512         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
70513         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
70515         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
70516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70517         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
70518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70519         [defined __arch64__ || defined __sparcv9]
70520         (__INO_T_MATCHES_INO64_T): New macro.
70521         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70522         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
70523         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
70524         * sysdeps/unix/sysv/linux/bits/dirent.h
70525         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
70526         (_DIRENT_MATCHES_DIRENT64): New macro.
70528         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
70529         Define lockf64 as an alias.
70530         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
70531         Define fseeko64 as an alias.
70532         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
70533         Define ftello64 as an alias.
70534         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
70535         Define _IO_fgetpos64 and fgetpos64 as aliases.
70536         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
70537         Define _IO_fsetpos64 and fsetpos64 as aliases.
70538         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
70539         Conditionalize body on this.
70540         * libio/fseeko64.c: Likewise.
70541         * libio/ftello64.c: Likewise.
70542         * libio/iofgetpos64.c: Likewise.
70543         * libio/iofsetpos64.c: Likewise.
70544         * sysdeps/wordsize-64/lockf.c: File removed.
70545         * sysdeps/wordsize-64/lockf64.c: File removed.
70546         * sysdeps/wordsize-64/fseeko.c: File removed.
70547         * sysdeps/wordsize-64/fseeko64.c: File removed.
70548         * sysdeps/wordsize-64/ftello.c: File removed.
70549         * sysdeps/wordsize-64/ftello64.c: File removed.
70550         * sysdeps/wordsize-64/iofgetpos.c: File removed.
70551         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
70552         * sysdeps/wordsize-64/iofsetpos.c: File removed.
70553         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
70554         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
70555         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
70556         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
70557         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
70558         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
70559         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
70560         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
70561         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
70562         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
70563         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
70565         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70567         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
70568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70569         [defined __arch64__ || defined __sparcv9]
70570         (__OFF_T_MATCHES_OFF64_T): New macro.
70571         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70572         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70573         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70574         (__OFF_T_MATCHES_OFF64_T): New macro.
70576 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70578         * stdlib/secure-getenv.c (__secure_getenv): Replace
70579         GLIBC_2_16 with GLIBC_2_17.
70581 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70583         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
70584         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70586 2012-08-03  David S. Miller  <davem@davemloft.net>
70588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70590 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
70593         Remove.
70594         (__ASSUME_CORRECT_SI_PID): Likewise.
70595         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
70596         (__ASSUME_TMPFS_NAME): Likewise.
70597         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
70598         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
70599         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
70600         (HAVE_AUX_SECURE): Make definition unconditional.
70601         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
70602         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
70604 2012-08-03  Roland McGrath  <roland@hack.frob.com>
70606         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
70607         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
70608         * sysdeps/mach/hurd/eloop-threshold.h: New file.
70609         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70610         __eloop_threshold instead of SYMLOOP_MAX.
70612         * sysdeps/generic/eloop-threshold.h: New file.
70613         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
70614         of MAXSYMLINKS.
70615         * elf/chroot_canon.c (chroot_canon): Likewise.
70617 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70619         [BZ #13717]
70620         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70621         Change to 2.6.0 everywhere.
70622         * sysdeps/unix/sysv/linux/configure: Regenerated.
70623         * sysdeps/unix/sysv/linux/kernel-features.h
70624         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
70625         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
70626         kernel versions.
70627         (__ASSUME_POSIX_TIMERS): Define unconditionally.
70628         (__ASSUME_FUTEX_REQUEUE): Remove.
70629         (__ASSUME_STATFS64): Define unconditionally.
70630         (__ASSUME_AT_SECURE): Likewise.
70631         (__ASSUME_CORRECT_SI_PID): Likewise.
70632         (__ASSUME_TGKILL): Define without depending on kernel version for
70633         i386.
70634         (__ASSUME_UTIMES): Likewise.
70635         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
70636         kernel version.
70637         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
70638         (__ASSUME_TMPFS_NAME): Likewise.
70639         * README: Update reference to Linux kernel versions.
70641 2012-08-02  Marek Polacek  <polacek@redhat.com>
70643         [BZ# 14150]
70644         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
70645         libc_cv_asm_type_prefix with %.
70646         * configure: Regenerated.
70647         * include/libc-symbols.h: Remove comment about
70648         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70649         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70650         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
70651         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
70652         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
70653         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70654         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70655         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70656         * elf/tst-unique2mod1.c: Likewise.
70657         * elf/tst-unique1mod2.c: Likewise.
70658         * elf/tst-unique1mod1.c: Likewise.
70659         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70660         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70661         Replace ASM_TYPE_DIRECTIVE with .type.
70662         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70663         * sysdeps/i386/sysdep.h: Likewise.
70664         * sysdeps/x86_64/sysdep.h: Likewise.
70665         * sysdeps/sh/sysdep.h: Likewise.
70666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70667         Do not define ASM_TYPE_DIRECTIVE.
70668         * sysdeps/powerpc/sysdep.h: Likewise.
70669         * sysdeps/powerpc/powerpc32/sysdep.h:
70670         Replace ASM_TYPE_DIRECTIVE with .type.
70671         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70672         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70673         * sysdeps/i386/fpu/e_powf.S: Likewise.
70674         * sysdeps/i386/fpu/e_expl.S: Likewise.
70675         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70676         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70677         * sysdeps/i386/fpu/e_pow.S: Likewise.
70678         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70679         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70680         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70681         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70682         * sysdeps/i386/fpu/e_log2.S: Likewise.
70683         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70684         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70685         * sysdeps/i386/fpu/e_powl.S: Likewise.
70686         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70687         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70688         * sysdeps/i386/fpu/e_logl.S: Likewise.
70689         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70690         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70691         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70692         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70693         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70694         * sysdeps/i386/fpu/e_log.S: Likewise.
70695         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70696         * sysdeps/i386/fpu/e_logf.S: Likewise.
70697         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70698         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70699         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70700         * sysdeps/i386/fpu/e_log10.S: Likewise.
70701         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70702         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70703         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70704         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70705         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70706         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70707         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70708         * sysdeps/i386/i686/strtok.S: Likewise.
70709         * sysdeps/i386/i386-mcount.S: Likewise.
70710         * sysdeps/i386/strtok.S: Likewise.
70711         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70712         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70713         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70714         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70715         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70716         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70717         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70718         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70719         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70720         * sysdeps/x86_64/_mcount.S: Likewise.
70721         * sysdeps/x86_64/strtok.S: Likewise.
70722         * sysdeps/sh/_mcount.S: Likewise.
70724 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70726         * libio/iofopen.c: Include <fcntl.h>.
70727         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70728         (_IO_fopen64, fopen64): Define as aliases.
70729         * libio/iofopen64.c: Include <fcntl.h>.
70730         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70731         Conditionalize body on this.
70732         * sysdeps/wordsize-64/iofopen.c: File removed.
70733         * sysdeps/wordsize-64/iofopen64.c: File removed.
70735 2012-08-01  Marek Polacek  <polacek@redhat.com>
70737         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70738         Use dlfcn directly instead of a variable.
70739         (binfmt-subdir): Do not define.
70740         (dlfcn): Likewise.
70742 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70744         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70745         Remove all definitions.
70746         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70747         <kernel-features.h>.
70748         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70749         (miss_F_GETOWN_EX): Remove all definitions.
70750         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70751         macro definition.
70752         [!__ASSUME_FCNTL64]: Remove conditional code.
70753         [__ASSUME_FCNTL64]: Make code unconditional.
70754         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70755         <kernel-features.h>.
70756         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70757         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70758         (lockf64) [__NR_fcntl64]: Make code unconditional.
70759         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70761         * sysdeps/unix/sysv/linux/kernel-features.h
70762         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70763         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70764         Make code unconditional.
70765         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70766         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70768         [__NR_vfork]: Make code unconditional.
70769         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70770         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70772         [__NR_vfork]: Make code unconditional.
70773         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70774         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70776 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70778         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70779         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70781         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70782         Define mkstemp64 as an alias.
70783         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70784         Define mkstemps64 as an alias.
70785         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70786         Define mkostemp64 as an alias.
70787         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70788         Define mkostemps64 as an alias.
70789         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70790         Conditionalize body on this.
70791         * misc/mkostemp64.c: Likewise.
70792         * misc/mkostemps64.c: Likewise.
70793         * misc/mkstemps64.c: Likewise.
70794         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70795         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70796         * sysdeps/wordsize-64/mkostemp.c: File removed.
70797         * sysdeps/wordsize-64/mkstemp.c: File removed.
70798         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70799         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70803         [BZ #14138]
70804         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70805         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70806         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70807         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70809         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70810         compat_symbol macros from <shlib-compat.h> rather than the underlying
70811         default_symbol_version and symbol_version macros, so that DEFAULT
70812         lines in shlib-versions are respected.
70813         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70815 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70817         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70818         Declare with warn_unused_result.
70819         (setgid, setregid, setegid, setresgid): Likewise.
70820         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70821         Likewise.
70822         * WUR-REPORT: Remove set*id functions.
70824 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70826         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70828 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70830         [BZ #10191]
70831         * include/sys/socket.h (__libc_accept, __libc_accept4):
70832         Add attribute_hidden.
70833         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70835         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70836         use of PTR_MANGLE.
70837         * inet/getnetgrent_r.c (setup): Likewise.
70839         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70841 2012-07-31  David S. Miller  <davem@davemloft.net>
70843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70845 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70847         [BZ #13629]
70848         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70849         value between 1.0 and 2.0 and smaller part has absolute value less
70850         than 1.0.
70851         * math/s_clog10.c (__clog10): Likewise.
70852         * math/s_clog10f.c (__clog10f): Likewise.
70853         * math/s_clog10l.c (__clog10l): Likewise.
70854         * math/s_clogf.c (__clogf): Likewise.
70855         * math/s_clogl.c (__clogl): Likewise.
70856         * math/libm-test.inc (clog_test): Add more tests.
70857         (clog10_test): Likewise.
70858         * sysdeps/i386/fpu/libm-test-ulps: Update.
70859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70861 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70863         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70864         Exit with zero in case no suitable GID is found, and write a
70865         message to standard error.
70867 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70869         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70870         rather than to 1.
70871         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70872         (MAXPATHLEN): Removed.
70873         (NOGROUP, NODEV): New macros.
70874         (setbit, clrbit, isset, isclr): New macros.
70875         (howmany, roundup, powerof2): New macros.
70876         (DEV_BSIZE): New macro.
70878         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70879         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70881         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70882         definition on [!__NO_LONG_DOUBLE_MATH].
70884         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70885         PTR_MANGLE and PTR_DEMANGLE.
70887         * socket/accept4.c (accept4): Rename to __libc_accept4.
70888         Define accept4 as a weak alias.
70890         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70891         on [_DIRENT_HAVE_D_TYPE].
70892         * io/ftw.c (ftw_dir): Likewise.
70894         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70896         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70898         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70899         Use the BSD numbers rather than the arbitrary ones we had.
70900         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70901         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70902         (SIGXCPU, SIGXFSZ): New macros.
70903         (_NSIG): Now 32.
70905         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70906         initializer on [_LIBC_REENTRANT].
70908         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70909         definitions inside [_POSIX_MAPPED_FILES].
70911         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70913         * dirent/opendir.c: Include <fcntl.h>.
70915         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70916         (__libc_getspecific): Likewise.
70917         (__libc_key_create): Likewise.
70919         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70920         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70921         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70922         (tmpfile64): Define as alias.
70923         * sysdeps/wordsize-64/tmpfile.c: File removed.
70924         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70925         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70926         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70928         * stdio-common/vfscanf.c: Include <stdbool.h>.
70929         * nss/makedb.c: Likewise.
70930         * stdio-common/_i18n_number.h: Likewise.
70931         * argp/argp-help.c: Likewise.
70932         * posix/wordexp.c: Likewise.
70933         * sysdeps/posix/spawni.c: Likewise.
70934         * nss/nss_files/files-initgroups.c: Likewise.
70935         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70936         * nss/nss_files/files-initgroups.c: Likewise.
70937         * nss/nss_db/db-netgrp.c: Likewise.
70938         * nss/nss_db/db-initgroups.c: Likewise.
70939         * io/fchmodat.c: Include <sys/stat.h>.
70941         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70942         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70944         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70945         [HAVE_MMAP].
70947         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70948         Add multiple inclusion protection.
70950 2012-07-27  David S. Miller  <davem@davemloft.net>
70952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70954 2012-07-27  Gary Benson  <gbenson@redhat.com>
70956         [BZ #14298]
70957         * elf/rtld.c: Include <stap-probe.h>.
70958         (dl_main): Added static probes "init_start" and "init_complete".
70959         * elf/dl-load.c: Include <stap-probe.h>.
70960         (lose): Take new parameter "nsid".
70961         Added static probe "map_failed".
70962         (_dl_map_object_from_fd): Pass namespace id to lose.
70963         Added static probe "map_start".
70964         (open_verify): Pass namespace id to lose.
70965         * elf/dl-open.c: Include <stap-probe.h>.
70966         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70967         and "reloc_complete".
70968         * elf/dl-close.c: Include <stap-probe.h>.
70969         (_dl_close_worker): Added static probes "unmap_start" and
70970         "unmap_complete".
70971         * elf/rtld-debugger-interface.txt: New file documenting the above.
70973 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70975         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70976         rather than a string variable.
70977         * sunrpc/rpc_main.c (h_output): Likewise.
70978         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70980 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70982         * inet/check_native.c: New file.
70984 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70986         [BZ #13629]
70987         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70988         if larger part has absolute value 1.0.
70989         * math/s_clog10.c (__clog10): Likewise.
70990         * math/s_clog10f.c (__clog10f): Likewise.
70991         * math/s_clog10l.c (__clog10l): Likewise.
70992         * math/s_clogf.c (__clogf): Likewise.
70993         * math/s_clogl.c (__clogl): Likewise.
70994         * math/libm-test.inc (clog_test): Add more tests.
70995         (clog10_test): Likewise.
70996         * sysdeps/i386/fpu/libm-test-ulps: Update.
70997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70999         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71000         (pltexit): Likewise.
71001         (La_regs): Likewise.
71002         (La_retval): Likewise.
71003         (int_retval): Likewise.
71004         Update #error for removed macros to refer only to definitions in
71005         tst-audit.h.
71006         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71007         macro.
71008         (pltexit): Likewise.
71009         (La_regs): Likewise.
71010         (La_retval): Likewise.
71011         (int_retval): Likewise.
71012         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71013         macro.
71014         (pltexit): Likewise.
71015         (La_regs): Likewise.
71016         (La_retval): Likewise.
71017         (int_retval): Likewise.
71018         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71019         macro.
71020         (pltexit): Likewise.
71021         (La_regs): Likewise.
71022         (La_retval): Likewise.
71023         (int_retval): Likewise.
71024         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71025         macro.
71026         (pltexit): Likewise.
71027         (La_regs): Likewise.
71028         (La_retval): Likewise.
71029         (int_retval): Likewise.
71030         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71031         macro.
71032         (pltexit): Likewise.
71033         (La_regs): Likewise.
71034         (La_retval): Likewise.
71035         (int_retval): Likewise.
71036         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71037         macro.
71038         (pltexit): Likewise.
71039         (La_regs): Likewise.
71040         (La_retval): Likewise.
71041         (int_retval): Likewise.
71042         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71043         macro definitions in tst-audit.h.
71044         * sysdeps/i386/tst-audit.h: New file.
71045         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71046         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71047         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71048         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71049         * sysdeps/sh/tst-audit.h: Likewise.
71050         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71051         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71052         * sysdeps/x86_64/tst-audit.h: Likewise.
71054 2012-07-26  Andreas Jaeger  <aj@suse.de>
71056         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71057         ptrace.
71059         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71060         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71061         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71062         PTRACE_O_MASK.
71063         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71064         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71065         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71067         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71068         value.
71070         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71071         _sigsys.
71072         (si_call_addr, si_syscall, si_arch): Define new macro.
71073         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71074         _sigsys.
71075         (si_call_addr, si_syscall, si_arch): Define new marcro.
71076         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71077         _sigsys.
71078         (si_call_addr, si_syscall, si_arch): Define new macro.
71079         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71080         _sigsys.
71081         (si_call_addr, si_syscall, si_arch): Define new macro.
71083 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71085         [BZ #13717]
71086         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71087         Change to 2.4.21 where previously 2.4.1.
71088         * sysdeps/unix/sysv/linux/configure: Regenerated.
71089         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71090         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71091         Linux kernel version.
71092         (__ASSUME_STD_AUXV): Remove.
71093         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71094         kernel version.
71095         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71096         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71097         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71098         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71099         (__ASSUME_NETLINK_SUPPORT): Likewise.
71100         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71101         (__no_netlink_support): Remove conditional definition.
71102         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71103         Remove.
71104         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71105         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71106         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71107         (if_nameindex_ioctl): Remove.
71108         (if_nameindex_netlink): Do not handle __no_netlink_support.
71109         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71110         code.
71111         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71112         Remove conditional code.
71113         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71114         code.
71115         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71116         unconditional.
71117         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71118         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71119         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71120         Remove.
71121         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71122         [!__ASSUME_STD_AUXV]: Remove conditional code.
71123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71124         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71125         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71127         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71128         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71129         code.
71130         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71132         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71133         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71134         conditional code.
71135         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71137         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71138         code.
71139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71140         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71141         conditional code.
71142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71143         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71144         code unconditional.
71145         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71146         conditional code.
71147         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71148         unconditional.
71149         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71150         conditional code.
71151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71152         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71153         unconditional.
71154         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71155         conditional code.
71156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71157         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71158         code unconditional.
71159         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71160         conditional code.
71161         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71162         unconditional.
71163         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71164         conditional code.
71165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71166         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71167         code unconditional.
71168         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71169         conditional code.
71170         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71171         unconditional.
71172         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71173         conditional code.
71175 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71177         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71178         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71179         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71180         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71181         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71182         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71183         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71184         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71185         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71186         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71187         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71188         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71189         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71190         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71191         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71192         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71193         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71194         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71195         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71197         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71198         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71199         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71201 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71203         * Versions.def: Add GLIBC_2.17.
71204         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71205         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71206         Introduce __libc_secure_getenv.
71207         * stdlib/Versions (2.17): Add secure_getenv
71208         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71209         * stdlib/secure-getenv.c: Rename __secure_getenv to
71210         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71211         symbol __secure_getenv for GLIBC_2.0.
71212         * stdlib/tst-secure-getenv.c: New.
71213         * stdlib/Makefile (tests): Add testcase.
71214         * manual/startup.texi (Environment Access): Document
71215         secure_getenv.
71216         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71217         __libc_secure_getenv.
71218         * inet/ruserpass.c (ruserpass): Likewise.
71219         * malloc/mtrace.c (mtrace): Likewise.
71220         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71221         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71222         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71223         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71224         HAVE_SECURE_GETENV.
71225         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71226         __secure_getenv to __libc_secure_getenv.
71227         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71229         Likewise.
71230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71231         Likewise.
71232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71234         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71240 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71242         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71243         (struct La_i86_retval): Likewise.
71244         (struct La_x86_64_regs): Likewise.
71245         (struct La_x86_64_retval): Likewise.
71246         (struct La_x32_regs): Likewise.
71247         (struct La_x32_retval): Likewise.
71248         (struct La_ppc32_regs): Likewise.
71249         (struct La_ppc32_retval): Likewise.
71250         (struct La_ppc64_regs): Likewise.
71251         (struct La_ppc64_retval): Likewise.
71252         (struct La_sh_regs): Likewise.
71253         (struct La_sh_retval): Likewise.
71254         (struct La_s390_32_regs): Likewise.
71255         (struct La_s390_32_retval): Likewise.
71256         (struct La_s390_64_regs): Likewise.
71257         (struct La_s390_64_retval): Likewise.
71258         (struct La_sparc32_regs): Likewise.
71259         (struct La_sparc32_retval): Likewise.
71260         (struct La_sparc64_regs): Likewise.
71261         (struct La_sparc64_retval): Likewise.
71262         (struct audit_ifaces): Remove architecture-specific pltenter and
71263         pltexit members.
71264         * sysdeps/i386/ldsodefs.h: New file.
71265         * sysdeps/powerpc/ldsodefs.h: Likewise.
71266         * sysdeps/s390/ldsodefs.h: Likewise.
71267         * sysdeps/sh/ldsodefs.h: Likewise.
71268         * sysdeps/sparc/ldsodefs.h: Likewise.
71269         * sysdeps/x86_64/ldsodefs.h: Likewise.
71271 2012-07-25  Marek Polacek  <polacek@redhat.com>
71273         [BZ #6808]
71274         * math/libm-test.inc (yn_test): Add another test.
71275         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71276         to ERANGE when the result is +-Inf.
71277         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71278         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71279         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71280         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71282 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71284         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71285         equal to 0.
71286         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71287         clock_t.
71288         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71290 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71292         * configure.in <sysdeps resolving>: Correct printing
71293         Implies_before.
71294         * configure: Regenerate.
71296 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71298         * math/w_ilogb.c: Include <limits.h>.
71299         * math/w_ilogbl.c: Likewise.
71301 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71303         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71304         va_copy.  Document allowing for unavailable va_copy only as
71305         pre-C99 compatibility.
71306         * manual/string.texi (Copying and Concatenation): Use va_copy
71307         instead of __va_copy in concat example.
71309 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71311         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71312         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71313         it if not null.
71315         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71316         with O_NOLINK passed to __file_name_lookup.
71318         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71319         with O_NOLINK passed to __file_name_lookup.
71321         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71322         negative N or less than NGIDS.
71324         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71325         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71326         enough.  Use memcpy instead of strncpy.
71328 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71330         * elf/Makefile (check-data): Remove.
71331         (localplt.data): New vpath directive.
71332         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71333         instead of $(check-data).
71334         * scripts/data/localplt-generic.data: Move to ...
71335         * sysdeps/generic/localplt.data: ... here.
71336         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71337         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71338         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71340         ... here.
71341         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71343         ... here.
71344         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71346         ... here.
71347         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71349         ... here.
71350         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71352         ... here.
71353         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71355         ... here.
71357 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71359         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71360         PPC32 and PPC64 files.
71361         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71362         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71364 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71366         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71367         __makecontext_ret to ...
71368         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71369         ... here and call exit if uc_link is NULL.  New file.
71370         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71371         __makecontext_ret.S.
71372         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71373         __makecontext_ret to ...
71374         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71375         ... here and call exit if uc_link is NULL.  New file.
71376         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71377         __makecontext_ret.S.
71379 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71381         * elf/elf.h (R_390_IRELATIVE): New definition.
71382         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71383         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71384         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71385         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71386         (elf_machine_lazy_rel): Likewise.
71387         * sysdeps/s390/dl-irel.h: New file.
71388         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71389         * sysdeps/s390/s390-64/memset.S: New asm code.
71390         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71391         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71392         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71393         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71394         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71395         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71396         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71397         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71398         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71399         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71400         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71401         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71402         * sysdeps/s390/s390-32/memset.S: New asm code.
71403         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71405 2012-07-17  Marek Polacek  <polacek@redhat.com>
71407         [BZ #14349]
71408         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71409         * sysdeps/s390/s390-64/configure.in: Likewise.
71410         * sysdeps/sparc/configure.in: Likewise.
71411         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71412         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71413         * sysdeps/i386/configure.in: Likewise.
71414         * sysdeps/x86_64/configure.in: Likewise.
71415         * sysdeps/sh/configure.in: Likewise.
71416         * sysdeps/s390/s390-32/configure: Regenerated.
71417         * sysdeps/s390/s390-64/configure: Likewise.
71418         * sysdeps/x86_64/configure: Likewise.
71419         * sysdeps/sh/configure: Likewise.
71420         * sysdeps/powerpc/powerpc64/configure: Likewise.
71421         * sysdeps/powerpc/powerpc32/configure: Likewise.
71422         * sysdeps/sparc/configure: Likewise.
71423         * sysdeps/i386/configure: Likewise.
71425         * elf/dl-open.c: Comment fixes.
71427 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71429         * Makefile [CXX] (check-data): Remove.
71430         [CXX] (c++-types.data): New vpath directive.
71431         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71432         vpath.  Do not allow for C++ type data being missing.
71433         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71434         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71435         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71436         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71437         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71438         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71439         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71441         ... here.
71442         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71444         ... here.
71445         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71447         ... here.
71448         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71450         ... here.
71451         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71453         ... here.
71454         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71456         ... here.
71457         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71459         ... here.
71460         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71463         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71464         definitions to architecture-specific files.
71465         (TLS_IE): Likewise.
71466         (TLS_LD): Likewise.
71467         (TLS_GD): Likewise.
71468         * sysdeps/i386/tls-macros.h: New file.
71469         * sysdeps/powerpc/tls-macros.h: Likewise.
71470         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71471         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71472         * sysdeps/sh/tls-macros.h: Likewise.
71473         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71474         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71475         * sysdeps/x86_64/tls-macros.h: Likewise.
71477 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71479         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71480         zero value for regular exit case.
71482         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71483         (__start_context): Preserve zero value for regular exit case.
71485 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71486             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71488         * manual/setjmp.texi (setcontext): Clarify normal process
71489         termination when uc_link is the null pointer.
71490         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
71491         exit call.
71493 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
71495         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
71496         preprocessor.  Test for each exception mask separately.
71498 2012-07-16  Andreas Jaeger  <aj@suse.de>
71500         * po/ru.po: Update from translation team.
71502 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
71504         * conform/data/string.h-data (NULL): Use macro-constant.  Require
71505         equal to 0.
71506         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71507         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71508         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
71509         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
71510         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71512 2012-07-13  Andreas Jaeger  <aj@suse.de>
71514         * po/fr.po: Update from translation team.
71516 2012-07-12  Marek Polacek  <polacek@redhat.com>
71518         [BZ #14173]
71519         * math/libm-test.inc (yn_test): Add test for BZ #14173.
71520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
71521         loop condition.
71523 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
71525         [BZ #13717]
71526         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71527         Change to 2.4.1 where previously 2.4.0.
71528         * sysdeps/unix/sysv/linux/configure: Regenerated.
71529         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
71530         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
71531         version.
71532         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
71533         (__ASSUME_AT_CLKTCK): Remove.
71534         (__ASSUME_AT_PAGESIZE): Likewise.
71535         (__ASSUME_AT_XID): Likewise.
71536         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
71537         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
71538         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
71539         unconditionally.
71540         (HAVE_AUX_PAGESIZE): Likewise.
71541         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
71542         [__ASSUME_AT_CLKTCK]: Make code unconditional.
71543         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
71545 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
71547         [BZ #14307]
71548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
71549         the temporary buffer used to invoke __gethostbyname2_r,
71550         __gethostbyaddr_r and gethostbyname4_r to make room for struct
71551         host_data / struct gaih_addrtuple.
71552         * resolv/nss_dns/dns-host.c (global scope): Move definition of
71553         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
71554         header file nss/nsswitch.h.
71555         * nss/nsswitch.h (global scope): Add definition of implementation
71556         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
71557         resolv/nss_dns/dns-host.c).
71559 2012-07-11  Andreas Jaeger  <aj@suse.de>
71561         * po/fr.po: Update from translation team.
71563         * po/sv.po: Update from translation team
71564         * po/fr.po: Another update from translation team.
71566 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71568         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
71569         for subnormals or multiply small sinh result by itself.
71570         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71573 2012-07-11  David S. Miller  <davem@davemloft.net>
71575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71577 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
71579         [BZ #14347]
71580         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
71581         (INTERNAL_MARK): Shift it here.
71583 2012-07-10  Marek Polacek  <polacek@redhat.com>
71585         [BZ #14151]
71586         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
71587         libc_cv_asm_global_directive with .globl.
71588         * configure: Regenerated.
71589         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
71590         with .globl.
71591         * sysdeps/i386/configure: Regenerated.
71592         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
71593         with .globl.
71594         * sysdeps/x86_64/configure: Regenerated.
71595         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
71596         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
71597         * elf/tst-unique2mod2.c: Likewise.
71598         * elf/tst-unique2mod1.c: Likewise.
71599         * elf/tst-unique1mod2.c: Likewise.
71600         * elf/tst-unique1mod1.c: Likewise.
71601         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71602         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71603         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71604         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71605         * sysdeps/mach/sysdep.h: Likewise.
71606         * sysdeps/i386/sysdep.h: Likewise.
71607         * sysdeps/i386/i386-mcount.S: Likewise.
71608         * sysdeps/x86_64/_mcount.S: Likewise.
71609         * sysdeps/x86_64/sysdep.h: Likewise.
71610         * sysdeps/sh/_mcount.S: Likewise.
71611         * sysdeps/sh/sysdep.h: Likewise.
71612         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
71613         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
71614         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
71615         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71616         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
71617         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
71618         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
71619         * locale/localeinfo.h: Likewise.
71620         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
71621         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
71623 2012-07-09  Roland McGrath  <roland@hack.frob.com>
71625         [BZ #14336]
71626         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
71627         system".
71628         * manual/message.texi (The Uniforum approach): Likewise.
71629         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
71630         (glibc iconv Implementation): Likewise.
71632 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
71634         [BZ #14337]
71635         * math/s_clog.c (__clog): Avoid scaling a value down where that
71636         could result in underflow.
71637         * math/s_clog10.c (__clog10): Likewise.
71638         * math/s_clog10f.c (__clog10f): Likewise.
71639         * math/s_clog10l.c (__clog10l): Likewise.
71640         * math/s_clogf.c (__clogf): Likewise.
71641         * math/s_clogl.c (__clogl): Likewise.
71642         * math/libm-test.inc (clog_test): Add more tests.
71643         (clog10_test): Likewise.
71644         * sysdeps/i386/fpu/libm-test-ulps: Update.
71645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71647 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
71649         [BZ #14283]
71650         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
71651         by 7 not 8 to examine high bit of fractional part.
71653         [BZ #14042]
71654         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71655         for call to __mcount_internal.
71656         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71657         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71658         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71660 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71662         [BZ #14154]
71663         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71664         approximation for values within 0x1p-13f of an odd multiple of
71665         pi/4.
71666         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71667         exception.  Add more tests.
71668         * sysdeps/i386/fpu/libm-test-ulps: Update.
71670         [BZ #6778]
71671         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71672         inputs and return -1 for them.  Do not check for +Inf in case not
71673         reachable for +Inf.
71674         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71675         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71676         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71677         and return -1 for them.  Do not check for +Inf in case not
71678         reachable for +Inf.
71679         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71680         define.
71681         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71682         and return -1 for them.  Do not check for +Inf in case not
71683         reachable for +Inf.
71684         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71685         spurious underflow.
71686         * sysdeps/i386/fpu/libm-test-ulps: Update.
71687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71689 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71691         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71693 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71695         [BZ #14157]
71696         [BZ #14331]
71697         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71698         could result in spurious underflow.  Scale down values above
71699         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71700         * math/s_csqrtf.c (__csqrtf): Likewise.
71701         * math/s_csqrtl.c (__csqrtl): Likewise.
71702         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71703         spurious underflow.
71704         * sysdeps/i386/fpu/libm-test-ulps: Update.
71705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71707 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71709         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71710         xopen-msg.sed.
71711         * catgets/xopen-msg.awk: New file.
71712         * catgets/xopen-msg.sed: Removed.
71714         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71715         po2text.sed.
71716         * intl/po2test.awk: New file.
71717         * intl/po2test.sed: Removed.
71719 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71721         [BZ #14328]
71722         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71723         or multiply small sinh result by itself.
71724         * math/s_ctanf.c (__ctanf): Likewise.
71725         * math/s_ctanh.c (__ctanh): Likewise.
71726         * math/s_ctanhf.c (__ctanhf): Likewise.
71727         * math/s_ctanhl.c (__ctanhl): Likewise.
71728         * math/s_ctanl.c (__ctanl): Likewise.
71729         * math/libm-test.inc (ctan_test_tonearest): New function.
71730         (ctan_test_towardzero): Likewise.
71731         (ctan_test_downward): Likewise.
71732         (ctan_test_upward): Likewise.
71733         (ctanh_test_tonearest): Likewise.
71734         (ctanh_test_towardzero): Likewise.
71735         (ctanh_test_downward): Likewise.
71736         (ctanh_test_upward): Likewise.
71737         (main): Call these new functions.
71738         * sysdeps/i386/fpu/libm-test-ulps: Update.
71739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71741 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71743         * .gitignore: Delete /ports entry.
71745 2012-07-03  Andreas Jaeger  <aj@suse.de>
71747         * po/bg.po: Update from translation team.
71748         * po/cs.po: Likewise.
71749         * po/de.po: Likewise.
71750         * po/hr.po: Likewise.
71751         * po/nl.pl: Likewise.
71752         * po/pl.po: Likewise.
71753         * po/vi.po: Likewise.
71755 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71757         * Makeconfig [!+link] (+link-before-libc): New variable.
71758         [!+link] (+link-after-libc): Likewise.
71759         [!+link] (+link-tests): Likewise.
71760         [!+link] (+link): Define in terms of $(+link-before-libc) and
71761         $(+link-after-libc).
71762         [!+link-static] (+link-static-before-libc): New variable.
71763         [!+link-static] (+link-static-after-libc): Likewise.
71764         [!+link-static] (+link-static-tests): Likewise.
71765         [!+link-static] (+link-static): Define in terms of
71766         $(+link-static-before-libc) and $(+link-static-after-libc).
71767         [build-shared] (link-libc-before-gnulib): New variable.
71768         [build-shared] (link-libc-tests): Likewise.
71769         [build-shared] (link-libc): Define in terms of
71770         $(link-libc-before-gnulib).
71771         [!build-shared] (link-libc-tests): New variable.
71772         (link-libc-static-tests): New variable.
71773         [!gnulib] (gnulib-arch): New variable.
71774         [!gnulib] (gnulib-tests): Likewise.
71775         [!gnulib] (static-gnulib-arch): Likewise.
71776         [!gnulib] (static-gnulib-tests): Likewise.
71777         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71778         Define with "=" instead of ":=".
71779         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71780         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71781         * Rules (binaries-all-notests): New variable.
71782         (binaries-all-tests): Likewise.
71783         (binaries-static-notests): Likewise.
71784         (binaries-static-tests): Likewise.
71785         (binaries-all): Define using $(binaries-all-notests) and
71786         $(binaries-all-tests).
71787         (binaries-static): Define using $(binaries-static-notests) and
71788         $(binaries-static-tests).
71789         (binaries-shared-tests): New variable.
71790         (binaries-shared-notests): Likewise.
71791         (binaries-shared): Remove variable.
71792         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71793         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71794         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71795         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71796         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71797         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71798         * elf/Makefile (sln-modules): New variable.
71799         (extra-objs): Add $(sln-modules:=.o).
71800         (ldconfig-modules): Add static-stubs.
71801         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71802         * elf/static-stubs.c: New file.
71804         [BZ #14283]
71805         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71806         by 7 not 8 to examine high bit of fractional part.  Use volatile
71807         variables when splitting into final array of floats if
71808         __FLT_EVAL_METHOD__ != 0.
71809         * math/libm-test.inc (cos_test): Add another test.
71810         (sin_test): Likewise.
71811         * sysdeps/i386/fpu/libm-test-ulps: Update.
71813         [BZ #14273]
71814         * math/libm-test.inc (cosh_test): Add more tests.
71816         * version.h (RELEASE): Set to "development".
71817         (VERSION): Set to "2.16.90".
71819 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71821         * NEWS: Update copyright. Remove last-updated date.
71822         Mention math library bug fixes and timezone data changes.
71823         * README: Mention GNU/Hurd, x32, and HPPA support status.
71825 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71827         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71829 2012-06-27  Andreas Jaeger  <aj@suse.de>
71831         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71833 2012-06-25  Andreas Jaeger  <aj@suse.de>
71835         * sysdeps/s390/fpu/libm-test-ulps: Update.
71837 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71838             Thomas Schwinge  <thomas@codesourcery.com>
71840         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71841         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71842         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71843         fanotify_mark.
71845 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71847         * sysdeps/mach/start.c: Remove file.
71848         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71849         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71850         * sysdeps/sh/init-first.c: Likewise.
71852         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71853         registers for frame unwinding purposes, add CFI directives.
71854         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71855         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71856         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71857         Likewise.
71859         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71860         __fortify_fail returning.
71861         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71863         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71864         sysdeps/sh/____longjmp_chk.S.
71865         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71866         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71867         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71868         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71870         * sysdeps/sh/abort-instr.h: New file.
71871         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71872         process in case exit returns.
71874         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71875         initialize the GOT register before use.
71877         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71878         calculation of ARGC > 4.
71880         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71881         meaningful names to some local labels.
71883 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71884             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71886         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71887         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71888         (__arch_compare_and_exchange_val_16_acq): Likewise.
71889         (__arch_compare_and_exchange_val_32_acq): Likewise.
71890         (atomic_exchange_and_add): Fix gUSA sequence.
71891         (atomic_add): Likewise.
71892         (atomic_add_negative): Likewise.
71893         (atomic_add_zero): Likewise.
71894         (atomic_bit_test_set): Likewise.
71896 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71898         [BZ #13579]
71899         * include/link.h (struct link_map): Add l_free_initfini.
71900         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71901         l_initfini.
71902         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71903         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71904         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71905         set.
71907 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71909         * configure.in: Use AC_LANG_SOURCE.
71910         * configure: Regenerate.
71912 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71914         * configure.in (libc_cv_localstatedir): New substituted variable.
71915         * configure: Regenerated.
71916         * config.make.in (localstatedir): New variable, substituted from
71917         libc_cv_localstatedir.
71918         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71919         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71920         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71921         * sysdeps/gnu/configure: Regenerated.
71923 2012-06-21  Jeff Law  <law@redhat.com>
71925         [BZ #14277]
71926         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71927         free.  Simplify list management for _LIBC case.
71929 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71931         [BZ #14273]
71932         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71933         Clear sign bit of 64-bit integer value before comparing against
71934         overflow value.
71936         * sysdeps/mach/configure: Regenerated.
71938 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71940         [BZ #14278]
71941         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71943 2012-06-21  Jeff Law  <law@redhat.com>
71945         [BZ #13882]
71946         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71947         uint16_t for elements in the "seen" array to avoid char overflows.
71948         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71949         * elf/dl-open.c (dl_open_worker): Likewise.
71951 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71953         * scripts/list-sources.sh: Scan PORTS for translations.
71954         * po/libc.pot: Regenerated.
71956 2012-06-21  Andreas Jaeger  <aj@suse.de>
71958         [BZ #12194]
71959         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71960         warning.
71961         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71962         * bits/byteswap-16.h (__bswap_16): Likewise.
71963         * bits/byteswap.h (__bswap_constant_16): Likewise.
71965 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71967         [BZ #14117]
71968         * sysdeps/i386/fpu_control.h: Removed.
71969         * sysdeps/x86_64/fpu_control.h: Moved to ...
71970         * sysdeps/x86/fpu_control.h: Here.
71972         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71973         (_FPU_SETCW): Likewise.
71975 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71977         [BZ #14117]
71978         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71979         * sysdeps/x86/fpu/bits/mathinline.h: This.
71980         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71982         [BZ #14050]
71983         [BZ #14117]
71984         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71985         functions if __x86_64__ is defined.
71987 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71989         * string/endian.h: Add !__ASSEMBLER__ condition for including
71990         conversion interfaces.
71992 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71994         [BZ #14241]
71995         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71996         of ABS(x) in calculating zero to negative powers other than odd
71997         integers.
71998         * math/libm-test.inc (pow_test): Add more tests.
72000 2012-06-15  Andreas Jaeger  <aj@suse.de>
72002         * manual/contrib.texi (Contributors): Update entry of Liubov
72003         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72004         Machado Filho.
72006 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72008         * string/string.h: Add __wur to GNU version of strerror_r.
72010 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72012         [BZ #14229]
72013         * string/Makefile (tests): Add tst-strtok_r.
72014         * string/tst-strtok_r.c: New file.
72015         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72016         RAX_LP/RDX_LP on SAVE_PTR.
72018 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72020         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72022 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72024         * libm_test.inc (csqrt_test): Allow more spurious underflow
72025         exceptions.
72026         (j0_test): Likewise.
72027         (j1_test): Likewise.
72028         (y0_test): Likewise.
72029         (y1_test): Likewise.
72031 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72033         * po/Makefile (libc.pot): Use UTF-8 charset.
72035 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72037         [BZ #14210]
72038         Suppress sign-conversion warning from FD_SET.
72039         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72040         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72041         not unsigned long int.
72042         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72044 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72046         [BZ #14050]
72047         [BZ #14117]
72048         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72049         __extern_always_inline instead of __extern_inline.
72050         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72051         (__signbit): Likewise.
72052         (__signbitl): Support C++ namespace.
72053         (lrintf): New inline function.
72054         (lrint): Likewise.
72055         (llrintf): Likewise.
72056         (llrint): Likewise.
72057         (fmaxf): Likewise.
72058         (fmax): Likewise.
72059         (fminf): Likewise.
72060         (fmin): Likewise.
72061         (rint): Likewise.
72062         (rintf): Likewise.
72063         (ceil): Likewise.
72064         (ceilf): Likewise.
72065         (floor): Likewise.
72066         (floorf): Likewise.
72067         (nearbyint): Likewise.
72068         (nearbyintf): Likewise.
72070 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72072         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72073         non-default versions.
72075 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72077         [BZ #14218]
72078         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72080 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72082         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72083         (FE_UPWARD, FE_DOWNWARD): Don't define.
72084         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72085         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72087         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72088         reading it.
72089         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72090         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72092 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72094         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72095         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72096         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72097         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72099 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72101         [BZ #14117]
72102         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72103         * sysdeps/i386/fpu/Implies: New file.
72104         * sysdeps/x86_64/fpu/Implies: Likewise.
72105         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72106         * sysdeps/x86/fpu/bits/fenv.h: This.
72108         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72109         __SSE_MATH__.
72111 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72113         [BZ #14134]
72114         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72115         character 0xffff that matches the last element of the
72116         conversion table.
72118 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72120         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72121         fmodl commit.
72123 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72126         values higher than 25.6283.
72128 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72131         subnormal exponent extraction and add some __builtin_expect.
72132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72133         Fix for subnormal mantissa calculation.
72135 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72137         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72138         cpu2 is -1 and errno is not ENOSYS.
72140 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72142         [BZ #14117]
72143         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72144         * sysdeps/x86/bits/string.h: This.
72145         * sysdeps/x86_64/bits/string.h: Removed.
72147         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72148         if not compiling for x86-64, but compiling for >= i486.
72150         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72151         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72153         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72154         New macro from Linux kernel 3.4.0.
72155         (FP_XSTATE_MAGIC2): Likewise.
72156         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72157         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72158         (struct _fpx_sw_bytes): New struct.
72159         (struct _xsave_hdr): Likewise.
72160         (struct _ymmh_state): Likewise.
72161         (struct _xstate): Likewise.
72163         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72164         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72165         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72166         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72167         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72168         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72170         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72171         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72172         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72173         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72174         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72175         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72177 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72179         [BZ #13743]
72180         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72181         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72182         (sysdep_headers): Include sys/platform/ppc.h.
72183         * sysdeps/powerpc/test-gettimebase.c: Test for
72184         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72185         * manual/Makefile (appendices): Include platform.texi.
72186         * manual/contrib.texi (Contributors): Update @node pointers.
72187         * manual/maint.texi (Maintenance): Likewise.
72188         (Platform): New node.
72189         * manual/platform.texi: New file.  Document the new features.
72191 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72192             Jakub Jelinek  <jakub@redhat.com>
72194         [BZ #14188]
72195         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72196         where __builtin_expect is unavailable.
72198 2012-06-03  David S. Miller  <davem@davemloft.net>
72200         * stdlib/longlong.h: Updated from GCC.
72202 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72204         [BZ #14042]
72205         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72206         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72207         __mcount_internal.
72208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72209         (GLIBC_2.16): Likewise.
72211 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72213         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72215 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72218         (default-abi): New variable.
72219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72220         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72221         variable.
72222         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72223         Likewise.
72224         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72225         Likewise.
72226         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72227         Likewise.
72229         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72230         definition.  Document in comment.
72232 2012-06-01  David S. Miller  <davem@davemloft.net>
72234         * stdlib/longlong.h: Updated from GCC.
72236 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72238         [BZ #14117]
72239         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72240         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72241         sys/debugreg.h sys/io.h here.
72242         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72243         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72244         sys/io.h.
72245         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72246         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72247         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72248         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72249         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72250         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72252         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72253         Define only if __x86_64__ is defined.
72255 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72257         [BZ #14048]
72258         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72259         Use int64_t for variable i.
72260         * math/libm-test.inc (fmod_test): Add more tests.
72262         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72263         z computation is not scheduled after fetestexcept.
72264         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72265         Use math_force_eval instead of asm to ensure calculation scheduled
72266         before exception test.
72267         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72268         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72270 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72273         computation is not scheduled after fetestexcept.
72275 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72277         [BZ #14117]
72278         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72279         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72281 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72283         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72284         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72286 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72288         [BZ #14117]
72289         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72290         <bits/wordsize.h>.
72291         (__WCHAR_MIN): Support __WORDSIZE == 64.
72292         (__WCHAR_MAX): Likewise.
72294         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72295         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72297         [BZ #14183]
72298         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72299         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72301         [BZ #14117]
72302         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72303         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72305         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72306         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72308         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72309         Defined to 1 if __x86_64__ isn't defined.
72310         (_STAT_VER_LINUX_OLD): New.
72311         (st_atime): Remove duplicate.
72312         (st_mtime): Likewise.
72313         (st_ctime): Likewise.
72315 2012-05-31  David S. Miller  <davem@davemloft.net>
72317         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72318         entries.
72320 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72322         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72323         gen-libm-test.pl.
72325         [BZ #14132]
72326         * elf/dl-reloc.c: Include <_itoa.h>.
72327         (_dl_reloc_bad_type): Remove use of INTUSE.
72328         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72329         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72330         * stdio-common/psiginfo.c (psiginfo): Likewise.
72331         * stdio-common/psignal.c (psignal): Likewise.
72332         * string/strsignal.c (strsignal): Likewise.
72333         * include/signal.h (_sys_siglist): Declare hidden proto.
72334         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72335         INTVARDEF with libc_hidden_data_def.
72336         * stdio-common/itoa-udigits.c: Likewise.
72337         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72338         (_itoa_lower_digits_internal): Remove declaration.
72339         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72340         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72341         (_sys_sigabbrev_internal): Remove aliases.
72342         (_sys_siglist): Define hidden alias.
72344 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72347         bits/sysctl.h.
72349 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72351         [BZ #14117]
72352         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72353         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72355         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72356         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72357         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72358         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72359         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72360         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72362         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72363         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72364         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72366         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72367         with __addr.
72368         (insw): Likewise.
72369         (insl): Likewise.
72370         (outsb): Likewise.
72371         (outsw): Likewise.
72372         (outsl): Likewise.
72374         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72375         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72376         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72378         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72379         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72380         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72381         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72382         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72383         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72385         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72386         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72388         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72389         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72391         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72392         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72393         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72395         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72396         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72397         to ...
72398         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72400         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72401         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72402         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72404         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72405         for x86-64.
72406         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72408 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72410         * math/math.h (M_El): Use two more decimal places.
72411         (M_LOG2El): Likewise.
72412         (M_LOG10El): Likewise.
72413         (M_LN2l): Likewise.
72414         (M_LN10l): Likewise.
72415         (M_PIl): Likewise.
72416         (M_PI_2l): Likewise.
72417         (M_PI_4l): Likewise.
72418         (M_1_PIl): Likewise.
72419         (M_2_PIl): Likewise.
72420         (M_2_SQRTPIl): Likewise.
72421         (M_SQRT2l): Likewise.
72422         (M_SQRT1_2l): Likewise.
72424 2012-05-31  David S. Miller  <davem@davemloft.net>
72426         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72427         values between float registers.
72428         * sysdeps/sparc/sparc64/memset.S: Likewise.
72429         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72431 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72433         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72434         -D_FORTIFY_SOURCE=1.
72435         (CPPFLAGS-tst-longjmp_chk.c): Define.
72436         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72437         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72438         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72439         CFLAGS-tst-wchar-h.c.
72441 2012-05-31  Marek Polacek  <polacek@redhat.com>
72443         [BZ #14132]
72444         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72445         __endmntent_internal): Remove declaration.
72446         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72447         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72448         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72450 2012-05-30  David S. Miller  <davem@davemloft.net>
72452         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72453         (___Q_simulate_exceptions): Use real FP ops rather than writing
72454         into the %fsr.
72455         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72456         Likewise.
72458 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72460         [BZ #14117]
72461         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72462         * sysdeps/x86/bits/xtitypes.h: This.
72464         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72465         * sysdeps/x86/bits/wordsize.h: This.
72467         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72468         * sysdeps/x86/bits/huge_vall.h: This.
72470         * sysdeps/i386/bits/select.h: Removed.
72471         * sysdeps/x86_64/bits/select.h: Renamed to ...
72472         * sysdeps/x86/bits/select.h: This.
72474         * sysdeps/i386/bits/setjmp.h: Removed.
72475         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72476         * sysdeps/x86/bits/setjmp.h: This.
72478         * sysdeps/i386/bits/mathdef.h: Removed.
72479         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72480         * sysdeps/x86/bits/mathdef.h: This.
72482 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72484         [BZ #14132]
72485         * include/sys/socket.h (__connect_internal)
72486         (__libc_sa_len_internal): Remove declaration.
72487         (__connect, __libc_sa_len): Declare hidden_proto.
72488         (SA_LEN): Remove use of INTUSE.
72489         * socket/connect.c: Add libc_hidden_def.
72490         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
72491         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
72492         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
72493         alias.
72494         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
72495         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
72496         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
72497         of adding _internal alias.
72499 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72501         [BZ #14117]
72502         * sysdeps/i386/bits/link.h: Removed.
72503         * sysdeps/i386/bits/linkmap.h: Likewise.
72504         * sysdeps/x86_64/bits/link.h: Renamed to ...
72505         * sysdeps/x86/bits/link.h: This.
72506         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
72507         * sysdeps/x86/bits/linkmap.h: This.
72509         * sysdeps/i386/bits/endian.h: Removed.
72510         * sysdeps/x86_64/bits/endian.h: Renamed to ...
72511         * sysdeps/x86/bits/endian.h: This.
72513         * sysdeps/i386/bits/byteswap.h: Removed.
72514         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72515         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
72516         * sysdeps/x86/bits/byteswap.h: This.
72517         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
72518         * sysdeps/x86/bits/byteswap-16.h: This.
72519         * sysdeps/i386/Implies: Add x86.
72520         * sysdeps/x86_64/Implies: Likewise.
72522 2012-05-30  David S. Miller  <davem@davemloft.net>
72524         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
72525         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
72526         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
72527         (FP_TRAPPING_EXCEPTIONS): Define.
72528         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
72529         (FP_TRAPPING_EXCEPTIONS): Define.
72530         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
72531         subnormals only when inexact has been signalled or underflow
72532         exceptions are enabled.
72533         (_FP_PACK_CANONICAL): Likewise.
72535 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72537         [BZ #14183]
72538         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
72539         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
72541 2012-05-30  Richard Henderson  <rth@twiddle.net>
72543         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
72544         with #ifndef NOT_IN_libc.
72546         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
72547         marked to avoid plt entry.
72549 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72551         [BZ #14112]
72552         * Makeconfig (default-abi): New macro.
72553         (abi-includes): Likewise.
72554         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
72555         $(abi-$(default-abi)-lib-soname) for soname if defined.
72556         ($(common-objpfx)gnu/lib-names.stmp): Generate from
72557         abi-variants.
72558         * Makefile (installed-stubs): Likewise.
72559         * include/stubs-biarch.h: Removed.
72560         * scripts/lib-names.awk: Only handle one library at a time.
72561         * scripts/soversions.awk: Remove WORDSIZE support.
72562         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
72563         entries.
72564         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
72565         Removed.
72566         (syscall-list-default-condition): Likewise.
72567         (syscall-list-default-condition): Likewise.
72568         (syscall-list-includes): Likewise.
72569         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
72570         syscall-list-* with abi-*.  Handle undefined abi-variants.
72571         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
72572         * sysdeps/unix/sysv/linux/i386/Implies: New file.
72573         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
72574         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
72575         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
72576         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
72577         Removed.
72578         (syscall-list-32-options): Likewise.
72579         (syscall-list-32-condition): Likewise.
72580         (syscall-list-64-options): Likewise.
72581         (syscall-list-64-condition): Likewise.
72582         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
72583         macro.
72584         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
72585         Renamed to ...
72586         (abi-*): This.
72587         (abi-64-ld-soname): New macro.
72588         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
72589         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
72590         Renamed to ...
72591         (abi-*): This.
72592         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
72593         * sysdeps/x86_64/x32/shlib-versions: Likewise.
72595 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
72597         * sysdeps/unix/sysv/linux/kernel-features.h
72598         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
72599         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
72600         include <kernel-features.h>.
72601         [!__NR_ftruncate64]: Remove conditional code.
72602         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72603         [__NR_ftruncate64]: Make code unconditional.
72604         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72605         * sysdeps/unix/sysv/linux/truncate64.c: Do not
72606         include <kernel-features.h>.
72607         [!__NR_ftruncate64]: Remove conditional code.
72608         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72609         [__NR_ftruncate64]: Make code unconditional.
72610         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72612         include <kernel-features.h>.
72613         [!__NR_ftruncate64]: Remove conditional code.
72614         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72615         [__NR_ftruncate64]: Make code unconditional.
72616         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
72618         include <kernel-features.h>.
72619         [!__NR_ftruncate64]: Remove conditional code.
72620         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72621         [__NR_ftruncate64]: Make code unconditional.
72622         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72624         * configure.in (libc_cv_fpie): Weaken to a compile test using
72625         LIBC_TRY_CC_OPTION.
72626         * configure: Regenerated.
72628 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
72631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
72632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
72633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72634         Refreshed.
72635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
72636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
72637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
72638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
72639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
72640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72641         Refreshed.
72643 2012-05-27  David S. Miller  <davem@davemloft.net>
72645         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
72646         (___Q_zero): New.
72647         (__Q_simulate_exceptions): Return void.  Change to simulate
72648         exceptions by writing into the %fsr.
72649         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
72650         (__Qp_handle_exceptions): Likewise.
72651         (numbers): Delete.
72652         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
72653         __Qp_handle_exceptions.
72654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72655         __Qp_handle_exceptions.
72656         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72657         as unused and give dummy FP_RND_NEAREST initializer.
72658         (FP_INHIBIT_RESULTS): Define.
72659         (___Q_simulate_exceptions): Update declaration.
72660         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72661         formatting.
72662         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72663         as unused and give dummy FP_RND_NEAREST initializer.
72664         (__Qp_handle_exceptions): Update declaration.
72665         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72666         formatting.
72668 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72670         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72671         the temporary FPU control word.
72672         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72673         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72674         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72675         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72676         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72677         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72678         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72679         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72680         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72681         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72682         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72684 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72686         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72687         fields.
72689 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72691         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72692         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72693         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72694         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72695         Likewise.
72696         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72697         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72698         Likewise.
72700 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72702         * po/h.po: Update from translation team.
72704 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72706         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72708         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72709         handling of denormals.
72710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72711         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72712         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72713         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72715         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72717         Likewise.
72719 2012-05-26  Marek Polacek  <polacek@redhat.com>
72721         [BZ #14152]
72722         * math/libm-test.inc (fma_test): Don't always expect underflow
72723         exception.
72725 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72727         [BZ #12416]
72728         * elf/tst-execstack.c: Include stackinfo.h.
72729         (do_test): Adjust test case to ensure that pthread_getattr_np
72730         behaviour remains the same after marking stack executable.
72732 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72734         * sysdeps/unix/sysv/linux/kernel-features.h
72735         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72736         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72737         kernel-features.h.
72738         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72739         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72740         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72741         kernel-features.h.
72742         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72743         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72745 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72747         * configure.in: Define the default includes to being none.
72748         * configure: Regenerated.
72750 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72752         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72753         * sysdeps/x86_64/setjmp.S: Likewise.
72754         * sysdeps/i386/bsd-setjmp.S: Likewise.
72755         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72756         * sysdeps/i386/setjmp.S: Likewise.
72757         * sysdeps/i386/__longjmp.S: Likewise.
72758         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72759         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72761         * include/stap-probe.h: New file.
72762         * configure.in: Handle --enable-systemtap.
72763         * configure: Regenerated.
72764         * config.h.in (USE_STAP_PROBE): New #undef.
72765         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72766         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72767         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72769 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72771         [BZ #13717]
72772         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72773         to 2.4.0 where earlier.
72774         * sysdeps/unix/sysv/linux/configure: Regenerated.
72775         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72776         <kernel-features.h>.
72777         [__ASSUME_32BITUIDS]: Make code unconditional.
72778         [!__ASSUME_32BITUIDS]: Remove conditional code.
72779         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72780         <kernel-features.h>.
72781         [__ASSUME_32BITUIDS]: Make code unconditional.
72782         [!__ASSUME_32BITUIDS]: Remove conditional code.
72783         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72784         [__ASSUME_32BITUIDS]: Make code unconditional.
72785         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72786         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
72787         <kernel-features.h>.
72788         [__ASSUME_32BITUIDS]: Make code unconditional.
72789         [!__ASSUME_32BITUIDS]: Remove conditional code.
72790         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
72791         <kernel-features.h>.
72792         [__ASSUME_32BITUIDS]: Make code unconditional.
72793         [!__ASSUME_32BITUIDS]: Remove conditional code.
72794         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
72795         <kernel-features.h>.
72796         [__ASSUME_32BITUIDS]: Make code unconditional.
72797         [!__ASSUME_32BITUIDS]: Remove conditional code.
72798         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
72799         <kernel-features.h>.
72800         [__ASSUME_32BITUIDS]: Make code unconditional.
72801         [!__ASSUME_32BITUIDS]: Remove conditional code.
72802         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
72803         <kernel-features.h>.
72804         [__ASSUME_32BITUIDS]: Make code unconditional.
72805         [!__ASSUME_32BITUIDS]: Remove conditional code.
72806         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
72807         <kernel-features.h>.
72808         [__ASSUME_32BITUIDS]: Make code unconditional.
72809         [!__ASSUME_32BITUIDS]: Remove conditional code.
72810         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
72811         <kernel-features.h>.
72812         [__ASSUME_32BITUIDS]: Make code unconditional.
72813         [!__ASSUME_32BITUIDS]: Remove conditional code.
72814         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
72815         <kernel-features.h>.
72816         [__ASSUME_32BITUIDS]: Make code unconditional.
72817         [!__ASSUME_32BITUIDS]: Remove conditional code.
72818         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
72819         <kernel-features.h>.
72820         [__ASSUME_32BITUIDS]: Make code unconditional.
72821         [!__ASSUME_32BITUIDS]: Remove conditional code.
72822         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72823         <kernel-features.h>.
72824         [__ASSUME_32BITUIDS]: Make code unconditional.
72825         [!__ASSUME_32BITUIDS]: Remove conditional code.
72826         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72827         <kernel-features.h>.
72828         [__NR_setresgid] (__setresgid): Do not declare.
72829         [__ASSUME_32BITUIDS]: Make code unconditional.
72830         [!__ASSUME_32BITUIDS]: Remove conditional code.
72831         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72832         <kernel-features.h>.
72833         [__NR_setresuid] (__setresuid): Do not declare.
72834         [__ASSUME_32BITUIDS]: Make code unconditional.
72835         [!__ASSUME_32BITUIDS]: Remove conditional code.
72836         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
72837         <kernel-features.h>.
72838         [__ASSUME_32BITUIDS]: Make code unconditional.
72839         [!__ASSUME_32BITUIDS]: Remove conditional code.
72840         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
72841         <kernel-features.h>.
72842         [__ASSUME_32BITUIDS]: Make code unconditional.
72843         [!__ASSUME_32BITUIDS]: Remove conditional code.
72844         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
72845         <kernel-features.h>.
72846         [__ASSUME_32BITUIDS]: Make code unconditional.
72847         [!__ASSUME_32BITUIDS]: Remove conditional code.
72848         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
72849         <kernel-features.h>.
72850         [__ASSUME_32BITUIDS]: Make code unconditional.
72851         [!__ASSUME_32BITUIDS]: Remove conditional code.
72852         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
72853         <kernel-features.h>.
72854         [__ASSUME_32BITUIDS]: Make code unconditional.
72855         [!__ASSUME_32BITUIDS]: Remove conditional code.
72856         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
72857         <kernel-features.h>.
72858         [__ASSUME_32BITUIDS]: Make code unconditional.
72859         [!__ASSUME_32BITUIDS]: Remove conditional code.
72860         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
72861         <kernel-features.h>.
72862         [__ASSUME_32BITUIDS]: Make code unconditional.
72863         [!__ASSUME_32BITUIDS]: Remove conditional code.
72864         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
72865         <kernel-features.h>.
72866         [__ASSUME_32BITUIDS]: Make code unconditional.
72867         [!__ASSUME_32BITUIDS]: Remove conditional code.
72868         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
72869         <kernel-features.h>.
72870         [__ASSUME_32BITUIDS]: Make code unconditional.
72871         [!__ASSUME_32BITUIDS]: Remove conditional code.
72872         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72873         <kernel-features.h>.
72874         [__ASSUME_32BITUIDS]: Make code unconditional.
72875         [!__ASSUME_32BITUIDS]: Remove conditional code.
72876         * sysdeps/unix/sysv/linux/kernel-features.h
72877         (__ASSUME_SETRESUID_SYSCALL): Remove.
72878         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72879         (__ASSUME_32BITUIDS): Likewise.
72880         (__ASSUME_LDT_WORKS): Likewise.
72881         (__ASSUME_O_DIRECTORY): Likewise.
72882         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72883         architecture but not kernel version.
72884         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72885         (__ASSUME_MMAP2_SYSCALL): Likewise.
72886         (__ASSUME_STAT64_SYSCALL): Likewise.
72887         (__ASSUME_IPC64): Likewise.
72888         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72889         <kernel-features.h>.
72890         [__ASSUME_32BITUIDS]: Make code unconditional.
72891         [!__ASSUME_32BITUIDS]: Remove conditional code.
72892         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72893         <kernel-features.h>.
72894         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72895         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72896         132096]: Remove conditional code.
72897         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72898         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72899         <kernel-features.h>.
72900         [__ASSUME_32BITUIDS]: Make code unconditional.
72901         [!__ASSUME_32BITUIDS]: Remove conditional code.
72902         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72903         <kernel-features.h>.
72904         [__ASSUME_32BITUIDS]: Make code unconditional.
72905         [!__ASSUME_32BITUIDS]: Remove conditional code.
72906         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72907         <kernel-features.h>.
72908         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72909         unconditional.
72910         (__setresgid): Do not declare.
72911         [__ASSUME_32BITUIDS]: Make code unconditional.
72912         [!__ASSUME_32BITUIDS]: Remove conditional code.
72913         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72914         <kernel-features.h>.
72915         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72916         unconditional.
72917         (__setresuid): Do not declare.
72918         [__ASSUME_32BITUIDS]: Make code unconditional.
72919         [!__ASSUME_32BITUIDS]: Remove conditional code.
72920         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72921         <kernel-features.h>.
72922         [__ASSUME_32BITUIDS]: Make code unconditional.
72923         [!__ASSUME_32BITUIDS]: Remove conditional code.
72924         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72925         <kernel-features.h>.
72926         [__ASSUME_32BITUIDS]: Make code unconditional.
72927         [!__ASSUME_32BITUIDS]: Remove conditional code.
72929 2012-05-25  Richard Henderson  <rth@twiddle.net>
72931         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72932         dl_hwcap to ifunc resolver.
72933         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72934         elf_ifunc_invoke.
72935         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72936         dl_hwcap to ifunc resolver.
72937         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72939 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72941         [BZ #14153]
72942         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72943         for |x| <= 2**-26, not 2**-57.
72944         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72945         exception.
72947 2012-05-24  Jeff Law  <law@redhat.com>
72949         * stdio-common/Makefile (tests): Add bug25.
72950         * stdio-common/bug25.c: New test.
72952 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72954         [BZ #13576]
72955         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72956         multiple of MALLOC_ALIGNMENT in size.
72957         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72959 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72961         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72962         Require >= 256.
72963         (FILENAME_MAX): Use macro-int-constant.
72964         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72965         (_IOFBF): Use macro-int-constant.
72966         (_IOLBF): Likewise.
72967         (_IONBF): Likewise.
72968         (SEEK_CUR): Likewise.
72969         (SEEK_END): Likewise.
72970         (SEEK_SET): Likewise.
72971         (TMP_MAX): Likewise.
72972         (EOF): Use macro-int-constant.  Require < 0.
72973         (NULL): Use macro-constant.  Require == 0.
72974         (stdin): Require type to be FILE *.
72975         (stdout): Likewise.
72976         (stderr): Likewise.
72977         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72978         macro-int-constant.
72979         (EXIT_SUCCESS): Likewise.
72980         (NULL): Use macro-constant.  Require == 0.
72981         (RAND_MAX): Use macro-int-constant.
72982         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72983         [C99-based standards] (strtof): Require function.
72984         [C99-based standards] (strtold): Likewise.
72985         [C99-based standards] (strtoll): Likewise.
72986         [C99-based standards] (strtoull): Likewise.
72987         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72988         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72989         [ISO || ISO99 || ISO11] (math.h): Likewise.
72990         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72991         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72992         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72994 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72996         [BZ #14132]
72997         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72998         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72999         * intl/dgettext.c (DCGETTEXT): Likewise.
73000         * intl/gettext.c (DCGETTEXT): Likewise.
73001         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73002         * posix/regex_internal.h (gettext): Likewise.
73003         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73004         Remove declaration.
73005         * include/argz.h (__argz_count_internal)
73006         (__argz_stringify_internal): Remove declaration.
73007         (__argz_count, __argz_stringify): Declare hidden proto.
73008         * intl/dcgettext.c: Remove use of INTDEF.
73009         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73010         * string/argz-stringify.c: Likewise.
73011         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73012         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73013         Declare hidden proto.
73014         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73015         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73016         Declare hidden proto.
73017         * include/stdio.h (__asprintf_internal): Don't declare.
73018         (__asprintf): Don't define as macro.  Declare hidden proto.
73019         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73020         (__fsetlocking): Declare hidden proto.
73021         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73022         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73023         hidden proto.
73024         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73025         (_IO_setlinebuf): Remove use of INTUSE.
73026         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73027         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73028         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73029         Remove declaration.
73030         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73031         (_IO_do_flush): Remove use of INTUSE.
73032         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73033         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73034         (_IO_adjust_column, _IO_least_wmarker)
73035         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73036         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73037         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73038         (_IO_default_doallocate, _IO_wdefault_doallocate)
73039         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73040         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73041         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73042         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73043         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73044         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73045         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73046         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73047         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73048         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73049         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73050         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73051         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73052         proto.
73053         (_IO_flush_all_internal, _IO_adjust_column_internal)
73054         (_IO_default_uflow_internal, _IO_default_finish_internal)
73055         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73056         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73057         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73058         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73059         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73060         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73061         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73062         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73063         (_IO_file_close_internal, _IO_file_close_it_internal)
73064         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73065         (_IO_file_init_internal, _IO_file_attach_internal)
73066         (_IO_file_fopen_internal, _IO_file_read_internal)
73067         (_IO_file_sync_internal, _IO_file_seek_internal)
73068         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73069         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73070         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73071         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73072         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73073         (_IO_list_all_internal, _IO_link_in_internal)
73074         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73075         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73076         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73077         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73078         (_IO_do_write_internal, _IO_padn_internal)
73079         (_IO_getline_info_internal, _IO_getline_internal)
73080         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73081         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73082         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73083         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73084         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73085         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73086         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73087         with libc_hidden_ver, remove use of INTUSE.
73088         * libio/genops.c: Likewise.
73089         * libio/freopen.c: Likewise.
73090         * libio/freopen64.c: Likewise.
73091         * libio/iofclose.c: Likewise.
73092         * libio/iofdopen.c: Likewise.
73093         * libio/iofflush.c: Likewise.
73094         * libio/iofflush_u.c: Likewise.
73095         * libio/iofgets.c: Likewise.
73096         * libio/iofgets_u.c: Likewise.
73097         * libio/iofopen.c: Likewise.
73098         * libio/iofopncook.c: Likewise.
73099         * libio/iofread.c: Likewise.
73100         * libio/iofread_u.c: Likewise.
73101         * libio/ioftell.c: Likewise.
73102         * libio/iofwrite.c: Likewise.
73103         * libio/iogetline.c: Likewise.
73104         * libio/iogets.c: Likewise.
73105         * libio/iogetwline.c: Likewise.
73106         * libio/iopadn.c: Likewise.
73107         * libio/iopopen.c: Likewise.
73108         * libio/ioseekoff.c: Likewise.
73109         * libio/ioseekpos.c: Likewise.
73110         * libio/iosetbuffer.c: Likewise.
73111         * libio/iosetvbuf.c: Likewise.
73112         * libio/ioungetc.c: Likewise.
73113         * libio/ioungetwc.c: Likewise.
73114         * libio/iovdprintf.c: Likewise.
73115         * libio/iovsprintf.c: Likewise.
73116         * libio/iovsscanf.c: Likewise.
73117         * libio/memstream.c: Likewise.
73118         * libio/obprintf.c: Likewise.
73119         * libio/oldfileops.c: Likewise.
73120         * libio/oldiofclose.c: Likewise.
73121         * libio/oldiofdopen.c: Likewise.
73122         * libio/oldiofopen.c: Likewise.
73123         * libio/oldiopopen.c: Likewise.
73124         * libio/oldstdfiles.c: Likewise.
73125         * libio/putc.c: Likewise.
73126         * libio/setbuf.c: Likewise.
73127         * libio/setlinebuf.c: Likewise.
73128         * libio/stdfiles.c: Likewise.
73129         * libio/strops.c: Likewise.
73130         * libio/vasprintf.c: Likewise.
73131         * libio/vscanf.c: Likewise.
73132         * libio/vsnprintf.c: Likewise.
73133         * libio/vswprintf.c: Likewise.
73134         * libio/wfiledoalloc.c: Likewise.
73135         * libio/wfileops.c: Likewise.
73136         * libio/wgenops.c: Likewise.
73137         * libio/wmemstream.c: Likewise.
73138         * libio/wstrops.c: Likewise.
73139         * libio/__fpurge.c: Likewise.
73140         * libio/__fsetlocking.c: Likewise.
73141         * assert/assert.c: Likewise.
73142         * debug/fgets_chk.c: Likewise.
73143         * debug/fgets_u_chk.c: Likewise.
73144         * debug/fread_chk.c: Likewise.
73145         * debug/fread_u_chk.c: Likewise.
73146         * debug/gets_chk.c: Likewise.
73147         * debug/obprintf_chk.c: Likewise.
73148         * debug/vasprintf_chk.c: Likewise.
73149         * debug/vdprintf_chk.c: Likewise.
73150         * debug/vsnprintf_chk.c: Likewise.
73151         * debug/vsprintf_chk.c: Likewise.
73152         * malloc/mtrace.c: Likewise.
73153         * misc/error.c: Likewise.
73154         * misc/syslog.c: Likewise.
73155         * stdio-common/asprintf.c: Likewise.
73156         * stdio-common/fxprintf.c: Likewise.
73157         * stdio-common/getw.c: Likewise.
73158         * stdio-common/isoc99_fscanf.c: Likewise.
73159         * stdio-common/isoc99_scanf.c: Likewise.
73160         * stdio-common/isoc99_vfscanf.c: Likewise.
73161         * stdio-common/isoc99_vscanf.c: Likewise.
73162         * stdio-common/isoc99_vsscanf.c: Likewise.
73163         * stdio-common/printf-prs.c: Likewise.
73164         * stdio-common/printf_fp.c: Likewise.
73165         * stdio-common/printf_fphex.c: Likewise.
73166         * stdio-common/printf_size.c: Likewise.
73167         * stdio-common/putw.c: Likewise.
73168         * stdio-common/scanf.c: Likewise.
73169         * stdio-common/sprintf.c: Likewise.
73170         * stdio-common/tmpfile.c: Likewise.
73171         * stdio-common/vfprintf.c: Likewise.
73172         * stdio-common/vfscanf.c: Likewise.
73173         * stdlib/strfmon_l.c: Likewise.
73174         * sunrpc/openchild.c: Likewise.
73175         * sunrpc/xdr_stdio.c: Likewise.
73176         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73177         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73179 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73181         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73183         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73184         in the third column, to generate for the shared library an IFUNC
73185         that uses _dl_vdso_vsym.
73186         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73187         * Makeconfig (object-suffixes-noshared): New variable.
73189         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73190         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73191         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73192         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73194         [BZ #14132]
73195         * include/sys/time.h (__gettimeofday): Remove macro.
73196         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73197         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73198         Remove INTDEF.
73199         (__gettimeofday): Add libc_hidden_def.
73200         (gettimeofday): Add libc_hidden_weak.
73201         * sysdeps/mach/gettimeofday.c: Likewise.
73202         * sysdeps/posix/gettimeofday.c: Likewise.
73203         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73204         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73205         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73206         (__gettimeofday_internal): Remove strong_alias.
73207         (__gettimeofday): Add libc_hidden_def.
73208         (gettimeofday): Add libc_hidden_weak.
73209         * sysdeps/unix/syscalls.list (gettimeofday):
73210         Remove __gettimeofday_internal alias.
73212 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73213             H.J. Lu  <hongjiu.lu@intel.com>
73215         [BZ #12495]
73216         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73217         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73218         (largebin_index_32_big): New.
73219         (largebin_index): Use it for 16-byte alignment.
73220         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73221         correction with front_misalign.
73223 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73227         Likewise.
73228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73229         Likewise.
73230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73231         Likewise.
73232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73233         Likewise.
73234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73235         Likewise.
73236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73237         Likewise.
73238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73239         Likewise.
73240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73241         Likewise.
73242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73243         Likewise.
73244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73245         Likewise.
73246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73247         Likewise.
73248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73249         Likewise.
73251         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73252         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73254 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73256         [BZ #10846]
73257         [BZ #14036]
73258         * math/libm-test.inc (exp_test): Add test from bug 14036.
73259         (pow_test): Add test from bug 10846.
73261         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73262         and other flags.
73263         (special_function): Do not include flags in test name.
73264         (parse_args): Likewise.
73265         * sysdeps/i386/fpu/libm-test-ulps: Update.
73266         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73267         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73268         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73271         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73272         exceptions.
73273         * math/libm-test.inc ("Philosophy"): Update comment about
73274         exception testing.
73275         (UNDERFLOW_EXCEPTION): New macro.
73276         (UNDERFLOW_EXCEPTION_OK): Likewise.
73277         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73278         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73279         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73280         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73281         (INVALID_EXCEPTION_OK): Update value.
73282         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73283         (OVERFLOW_EXCEPTION_OK): Likewise.
73284         (IGNORE_ZERO_INF_SIGN): Likewise.
73285         (test_exceptions): Handle underflow exceptions.
73286         (acos_test): Update for underflow exception expectations.
73287         (cexp_test): Likewise.
73288         (clog_test): Likewise.
73289         (clog10_test): Likewise.
73290         (csqrt_test): Likewise.
73291         (ctan_test): Likewise.
73292         (ctanh_test): Likewise.
73293         (exp_test): Likewise.
73294         (exp10_test): Likewise.
73295         (exp2_test): Likewise.
73296         (expm1_test): Likewise.
73297         (fma_test): Likewise.
73298         (j0_test): Likewise.
73299         (jn_test): Likewise.
73300         (nexttoward_test): Likewise.
73301         (pow_test): Likewise.
73302         (scalbn_test): Likewise.
73303         (scalbln_test): Likewise.
73304         (tan_test): Likewise.
73305         (y1_test): Likewise.
73306         * sysdeps/i386/fpu/libm-test-ulps: Update.
73307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73309 2012-05-23  David S. Miller  <davem@davemloft.net>
73311         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73312         (__libc_sigaction): Remove unused local variables.
73314 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73316         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73318 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73320         mktime: avoid signed integer overflow
73321         * time/mktime.c (__mktime_internal): Do not mishandle the case
73322         where diff == INT_MIN.
73324         mktime: simplify computation of average
73325         * time/mktime.c (ranged_convert): Use new time_t_avg function
73326         instead of rolling our own (probably-slower) code.
73328         mktime: do not assume signed right shift propagates sign bit
73329         * time/mktime.c (isdst_differ): New static function.
73330         (__mktime_internal): No need to normalize tm_isdst now.
73331         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73332         tm_isdst values.
73334         mktime: merge another wrapv change from gnulib
73335         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73336         from some compilers.
73338         mktime: remove incorrect attempt at unusual arithmetics
73339         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73340         The code didn't really work on such machines anyway.
73341         (TYPE_MINIMUM): Assume two's complement.
73342         (twos_complement_arithmetic): Verify that long_int and time_t
73343         are two's complement (or unsigned, in the latter case).
73345         mktime: check signed shifts on long_int and time_t, too
73346         * time/mktime.c (SHR): Check that shifts work as desired
73347         on the types long_int and time_t too, as SHR is used on
73348         such types.
73350         mktime: do not assume 'long' is wide enough
73351         * time/mktime.c (verify): Move decl up.
73352         (long_int): New type.
73353         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73354         to remove assumption in the code that 'long' is wide enough to
73355         store year values.  This assumption is not true on x32 and on
73356         some non-glibc platforms.
73358         mktime: merge wrapv change from gnulib
73359         * time/mktime.c (WRAPV): New macro.
73360         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73361         (guess_time_tm, __mktime_internal): Do not assume that signed
73362         integer overflow wraps around; modern compilers generate code
73363         where this assumption is no longer valid.
73365 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73367         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73368         Replace "jmp L(pseudo_end)" with "ret".
73369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73370         Likewise.
73372 2012-05-23  Andreas Jaeger  <aj@suse.de>
73374         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73375         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73377 2012-05-23  Andreas Jaeger  <aj@suse.de>
73378             Maximilian Attems  <max@stro.at>
73380         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73381         New macros.
73383 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73385         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73386         code so that pseudo_end is just ret and the stack pointer is
73387         correct also for static library in error case.
73389 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73391         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73392         move to syscalls.list.
73393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73398         * manual/install.texi (Running make install): Do not mention Linux
73399         kernel version for which pt_chown is not needed.
73400         (Linux): Do not mention problems with nscd with 2.0 kernels.
73401         * INSTALL: Regenerated.
73403 2012-05-23  Andreas Jaeger  <aj@suse.de>
73405         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73406         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73407         macro.
73408         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73409         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73410         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73411         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73412         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73413         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73414         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73415         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73416         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73417         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73418         * sysdeps/unix/sysv/linux/bits/in.h
73419         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73421 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73423         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73424         (PREPARE_VERSION): Just use assert instead, it will be elided
73425         under [NDEBUG] anyway.
73427 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73429         * sysdeps/unix/sysv/linux/Makefile: Include
73430         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73431         (sysdep_routines): Remove sysctl.
73432         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73433         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73434         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73435         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73436         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73438 2012-05-22  Andreas Jaeger  <aj@suse.de>
73440         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73441         that pseudo_end is just ret and the stack pointer is correct also
73442         for static library in error case.
73444 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73446         [BZ #14122]
73447         * nss/nsswitch.c (defconfig_entries): New variable.
73448         (__nss_database_lookup): Don't leak defconfig entries.
73449         (nss_parse_service_list): Don't leak on error paths.
73450         (free_database_entries): New function.
73451         (free_defconfig): New function.
73452         (free_mem): Move common code to free_database_entries.
73454 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73456         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73457         Add arch_prctl.
73458         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73460         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73461         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73463         New macro.
73464         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73465         (INTERNAL_SYSCALL_TYPES): Likewise.
73466         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73467         (LOAD_REGS_TYPES_[1-6]): Likewise.
73468         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73469         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73471 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73474         copysignl for GLIBC_2_0.
73475         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73476         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73477         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73478         logbl for GLIBC_2_0.
73479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73480         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73482 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73485         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73487         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73488         Use "neg %eax".
73490         * time/mktime.c: Update copyright years.
73492 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
73494         mktime: merge comment-quoting-style change from gnulib
73495         * time/mktime.c: Quote 'like this' in comments.
73496         The GNU coding standards suggest that we no longer quote `like this',
73497         as "`" and "'" are typically rendered asymmetrically nowadays.
73498         The typical gnulib style is to quote 'like this' when quoting
73499         code, and "like this" when quoting English.
73501         * time/mktime.c (compile-command): Add "-I.".
73503         mktime: merge mktime-internal.h change from gnulib
73504         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
73506         mktime: merge time_r change from gnulib
73507         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
73509         mktime: merge DEBUG change from gnulib
73510         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
73511         case system <time.h> has a #define.
73513         mktime: merge <sys/types.h> change from gnulib
73514         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
73515         since <time.t> is now guaranteed to define time_t.
73517         mktime: merge HAVE_CONFIG_H change from gnulib
73518         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
73520 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73523         Use "neg %eax".
73525         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
73526         __rlim_t cast.
73527         (struct rusage): Use anonymous union to pad each field to
73528         __syscall_slong_t.
73530 2012-05-21  David S. Miller  <davem@davemloft.net>
73532         * Makefules (o-iterator): Remove .s cases.
73533         (compile-command.s): Delete.
73534         (COMPILE.s): Delete.
73535         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
73537 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
73539         * configure.in (libc_cv_predef_stack_protector): Only consider
73540         "foobar" and "__stack_chk_fail" lines in libc_undefs.
73541         * configure: Regenerated.
73543 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73546         New macro.  Use R*LP on int and pointer.
73547         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
73548         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
73549         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
73550         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
73552         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
73553         [__WORDSIZE_TIME64_COMPAT32] instead of
73554         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
73555         (struct utmp): Likewise.
73556         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
73557         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
73558         Renamed to ...
73559         (__WORDSIZE_TIME64_COMPAT32): This.
73560         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
73561         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
73562         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
73563         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
73564         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
73565         (__WORDSIZE_TIME64_COMPAT32): New macro.
73567 2012-05-21  Andreas Jaeger  <aj@suse.de>
73569         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
73570         only if [SHARED]. Add prototype for __wcschr_ia32.
73572 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73574         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
73575         of %rbp unmolested in the jmp_buf while mangling the low bits.
73576         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
73577         unmolested high bits of %rbp while demangling the low bits.
73578         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73580 2012-05-21  Andreas Jaeger  <aj@suse.de>
73582         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73583         * sunrpc/svc_simple.c: Use it for registerrpc.
73584         * sunrpc/xcrypt.c: Use it for passwd2des.
73586         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
73588 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73590         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
73591         Don't define if [__SYSCALL_WORDSIZE != 32].
73592         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
73593         New macro.
73595 2012-05-21  Bruno Haible  <bruno@clisp.org>
73596             Andreas Jaeger  <aj@suse.de>
73598         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
73599         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
73600         inptr and inend for must_buffer_ch.
73601         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
73602         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
73603         * stdio-common/Makefile (tests): Remove bug15.
73604         (bug15-ENV): Remove macro.
73605         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
73606         anymore.
73608 2012-05-19  Andreas Jaeger  <aj@suse.de>
73609             Roland McGrath  <roland@hack.frob.com>
73611         * manual/contrib.texi: Completely rewritten. It contains now an
73612         alphabetical list of contributors and their contributions.
73614 2012-05-21  Richard Henderson  <rth@twiddle.net>
73616         * misc/getauxval.c (__getauxval): Use unsigned long int.
73617         * misc/sys/auxv.h: Include <sys/cdefs.h>.
73618         (getauxval): Use unsigned long int.
73620 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73622         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73624 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73626         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
73627         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
73628         __alignof__ (long double).
73630 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73634 2012-05-20  Richard Henderson  <rth@twiddle.net>
73636         * misc/getauxval.c: New file.
73637         * misc/sys/auxv.h: New file.
73638         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73639         (routines): Add getauxval.
73640         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
73641         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
73642         * elf/dl-sysdep.c (_dl_auxv): Remove.
73643         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73644         * elf/dl-support.c (_dl_auxv): New variable.
73645         (_dl_aux_init): Initialize it.
73646         * manual/startup.texi (Auxiliary Vector): New node.
73647         * sysdeps/generic/bits/hwcap.h: New file.
73648         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
73649         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
73650         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
73651         * sysdeps/sparc/sysdep.h: ... here.  Include it.
73652         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
73653         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
73654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73655         Update.
73656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73659         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73665 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73669 2012-05-19  David S. Miller  <davem@davemloft.net>
73671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73673 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73675         [BZ #14123]
73676         * math/s_ccosh.c: Include <float.h>
73677         (__ccosh): Avoid internal overflow calculating sinh and cosh
73678         values before multiplying by sin and cos values.
73679         * math/s_ccoshf.c: Likewise.
73680         * math/s_ccoshl.c: Likewise.
73681         * math/s_csin.c: Likewise.
73682         * math/s_csinf.c: Likewise.
73683         * math/s_csinl.c: Likewise.
73684         * math/s_csinh.c: Likewise.
73685         * math/s_csinhf.c: Likewise.
73686         * math/s_csinhl.c: Likewise.
73687         * math/libm-test.inc (ccos_test): Add more tests.
73688         (ccosh_test): Likewise.
73689         (csin_test): Likewise.
73690         (csinh_test): Likewise.
73691         * sysdeps/i386/fpu/libm-test-ulps: Update.
73692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73694 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73696         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73697         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73699         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73701 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73703         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73704         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73705         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73706         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73707         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73708         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73709         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73710         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73711         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73712         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73713         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73714         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73715         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73716         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73717         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73718         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73719         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73720         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73721         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73722         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73723         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73724         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73725         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73726         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73727         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73728         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73729         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73730         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73731         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73732         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73733         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73735 2012-05-18  Andreas Jaeger  <aj@suse.de>
73737         * csu/.gitignore: Delete.
73739 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73741         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73742         (timex): Use __syscall_slong_t.
73744 2012-05-18  Andreas Jaeger  <aj@suse.de>
73745             Carlos O'Donell  <carlos_odonell@mentor.com>
73747         * manual/install.texi (Configuring and compiling): Update
73748         description about files modified in the source directory.
73749         * INSTALL: Regenerated.
73751 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73753         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73754         value.  Use "or" to set return value to -1.
73755         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73756         negate return value.
73758 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73760         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73761         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73762         failure if the compiler has Graphite support disabled.
73763         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73764         Likewise.
73765         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73766         (CFLAGS-memmove.c): Likewise.
73767         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73768         Likewise.
73770 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73772         * sysdeps/x86_64/x32/_itoa.h: New file.
73774         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73775         getdents system call only if kernel and user dirents have the
73776         same d_ino and d_off.
73778         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73779         LLONG_MAX != LONG_MAX.
73780         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73781         (_fitoa_word): Likewise.
73783         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73784         years.
73785         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73786         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73787         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73789         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73790         include <bits/wordsize.h>.  Check __x86_64__ instead of
73791         __WORDSIZE.
73792         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73793         if __x86_64__ is defined.  Use anonymous union on fpstate.
73795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73796         anonymous union.
73798 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73800         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73801         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73802         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73803         Refer to _rtld_local_ro instead of _rtld_global_ro.
73804         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73805         Likewise.
73806         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73807         Likewise.
73808         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73809         Likewise.
73810         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73811         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73812         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73814         [BZ #10882]
73815         * sysdeps/powerpc/powerpc32/dl-machine.c
73816         (__elf_machine_runtime_setup) [PROF]: Don't reference
73817         _dl_prof_resolve.
73819 2012-05-18  Andreas Jaeger  <aj@suse.de>
73821         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73822         function only available for GCCs before 3.4 since GCC 3.4
73823         introduced a builtin.
73824         (lrint): Likewise.
73825         (llrintf): Likewise.
73826         (llrint): Likewise.
73827         (fmaxf): Likewise.
73828         (fmax): Likewise.
73829         (fminf): Likewise.
73830         (fmin): Likewise.
73831         (rint): Likewise.
73832         (rintf): Likewise.
73833         (nearbyint): Likewise.
73834         (nearbyintf): Likewise.
73835         (ceil): Likewise.
73836         (ceilf): Likewise.
73837         (floor): Likewise.
73838         (floorf): Likewise.
73840 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73842         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73843         on both fields and cast pointer to __syscall_ulong_t.
73845         * bits/types.h (__fsword_t): New type.
73846         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73847         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73848         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73849         (__FSWORD_T_TYPE): Likewise.
73850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73851         (__FSWORD_T_TYPE): Likewise.
73852         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73853         (__FSWORD_T_TYPE): Likewise.
73854         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73855         (__FSWORD_T_TYPE): Likewise.
73856         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73857         __SWORD_TYPE with __fsword_t.
73858         (statfs64): Likewise.
73860 2012-05-17  David S. Miller  <davem@davemloft.net>
73862         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73864 2012-05-17  Andreas Jaeger  <aj@suse.de>
73866         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73867         warning.
73869 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73871         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73873 2012-05-17  Andreas Jaeger  <aj@suse.de>
73875         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73876         when it is used.
73878 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73880         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73882 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73884         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73885         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73887 2012-05-17  Andreas Jaeger  <aj@suse.de>
73888             Carlos O'Donell  <carlos_odonell@mentor.com>
73890         [BZ #14059]
73891         * sysdeps/x86_64/multiarch/init-arch.h
73892         (bit_YMM_Usable): Rename to...
73893         (bit_AVX_Usable): ... this.
73894         (bit_FMA4_Usable): New macro.
73895         (bit_XMM_state): New macro.
73896         (bit_YMM_state): New macro.
73897         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73898         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73899         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73900         (CPUID_OSXSAVE): New macro.
73901         (CPUID_AVX): New macro.
73902         (CPUID_FMA4): New macro.
73903         (index_YMM_Usable): Rename to...
73904         (index_AVX_Usable): ... this.
73905         (HAS_AVX): Use HAS_ARCH_FEATURE.
73906         (HAS_FMA4): Likewise.
73907         (HAS_YMM_USABLE): Remove.
73908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73909         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73910         are present.
73911         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73912         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73913         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73914         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73915         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73917 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73919         * math/libm-test.c: Support platforms without multiple rounding modes.
73920         * math/bug-nextafter.c: Support platforms without FP exceptions.
73921         * math/bug-nexttoward.c: Likewise.
73922         * math/test-fenv.c: Likewise.
73923         * math/test-misc.c: Likewise.
73924         * stdlib/bug-getcontext.c: Likewise.
73926 2012-05-17  Andreas Jaeger  <aj@suse.de>
73928         * manual/examples/search.c (critter_cmp): Change signature to
73929         avoid warnings.
73930         * manual/string.texi (Collation Functions): Likewise.
73932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73934         * bits/types.h: Fold copyright years.
73935         * bits/typesizes.h: Likewise.
73936         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73938         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73940         * time/time.h: Likewise.
73942 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73944         [BZ #208]
73945         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73946         in instead of returning them.  Return void.
73947         (__libc_mallinfo): Accumulate over all arenas.
73948         (__malloc_stats): Adjust for change in int_mallinfo interface.
73950 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73952         [BZ #10375]
73953         * configure.in (NM): Add AC_CHECK_TOOL for it.
73954         (libc_extra_cflags): New substituted variable.
73955         Check for -fstack-protector being used implicitly.
73956         * configure: Regenerated.
73957         * config.make.in (config-extra-cflags): New variable,
73958         gets @libc_extra_cflags@.
73959         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73961         [BZ #10375]
73962         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73963         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73964         * configure: Regenerated.
73965         * config.make.in (CPPUNDEFS): New substituted variable.
73966         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73967         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73968         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73972         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73973         (mq_attr): Use __syscall_slong_t.
73975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73977         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73978         Check __x86_64__ instead of __WORDSIZE.
73979         (_STAT_VER_LINUX): Likewise.
73980         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73981         __syscall_ulong_t and __syscall_slong_t.
73982         (stat64): Likewise.
73984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73986         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73988 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73990         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73992 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73994         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73995         __syscall_ulong_t.
73997         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73998         include <bits/wordsize.h>.  Check __x86_64__ instead of
73999         __WORDSIZE.
74000         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74001         defined.
74002         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74004         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74005         include <bits/wordsize.h>.  Check __x86_64__ instead of
74006         __WORDSIZE.
74007         (user_regs_struct): Use "__extension__ unsigned long long"
74008         instead of "unsigned long" if __x86_64__ is defined.
74009         (user): Likewise.  Pad after pointer field if __ILP32__ is
74010         defined.
74012 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74014         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74015         versions 5 to 9.
74016         * configure: Regenerated.
74017         * manual/install.texi (texinfo): Increase version requirement to
74018         4.5 or later.
74019         * INSTALL: Regenerated.
74021         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74025         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74027         * sysdeps/x86_64/x32/ffs.c: New file.
74029         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74030         __syscall_ulong_t.
74031         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74032         defined.  Use __syscall_ulong_t.
74033         (shminfo): Use __syscall_ulong_t.
74034         (shm_info): Likewise.
74036         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74037         __syscall_ulong_t.
74039         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74040         <bits/wordsize.h>.
74041         (msgqnum_t): Use __syscall_ulong_t.
74042         (msglen_t): Likewise.
74043         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74044         __syscall_ulong_t.
74046         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74047         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74049         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74051         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74052         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74054         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74055         __syscall_slong_t.
74057         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74058         include <bits/wordsize.h>.  Check __x86_64__ instead of
74059         __WORDSIZE.
74061         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74062         "unsigned long long int" if __x86_64__ is defined.
74063         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74065         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74066         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74067         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74069         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74070         <stdint.h>.
74071         (GET_PC): Cast to uintptr_t first.
74072         (GET_FRAME): Likewise.
74073         (GET_STACK): Likewise.
74075         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74076         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74077         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74078         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74079         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74080         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74081         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74082         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74083         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74084         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74085         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74086         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74087         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74088         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74089         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74090         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74091         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74092         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74093         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74094         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74095         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74096         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74097         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74098         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74099         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74100         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74101         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74102         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74103         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74105 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74107         * Makerules (+depfiles): Also collect depfiles from .oS in
74108         $(extra-objs).
74109         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74110         .oS, $(libnldbl-routines)).
74112         * Makerules (native-compile-mkdep-flags): Define.
74113         * sunrpc/Makefile (extra-objs): Add $(addprefix
74114         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74115         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74116         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74117         calling $(make-target-directory).
74119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74121         * bits/types.h (__snseconds_t): Removed.
74122         * time/time.h (struct timespec): Replace __snseconds_t with
74123         __syscall_slong_t.
74124         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74125         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74126         Likewise.
74127         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74128         (__SNSECONDS_T_TYPE): Likewise.
74129         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74130         (__SNSECONDS_T_TYPE): Likewise.
74131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74132         (__SNSECONDS_T_TYPE): Likewise.
74134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74136         * sysdeps/mach/hurd/bits/typesizes.h
74137         (__SYSCALL_SLONG_TYPE): New macro.
74138         (__SYSCALL_ULONG_TYPE): Likewise.
74140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74142         * bits/types.h (__syscall_slong_t): New type.
74143         (__syscall_ulong_t): Likewise.
74145         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74146         (__SYSCALL_ULONG_TYPE): Likewise.
74147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74148         (__SYSCALL_SLONG_TYPE): Likewise.
74149         (__SYSCALL_ULONG_TYPE): Likewise.
74150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74151         (__SYSCALL_SLONG_TYPE): Likewise.
74152         (__SYSCALL_ULONG_TYPE): Likewise.
74153         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74154         (__SYSCALL_SLONG_TYPE): Likewise.
74155         (__SYSCALL_ULONG_TYPE): Likewise.
74157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74159         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74160         Add sigaltstack-offsets.sym.
74161         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74162         <sigaltstack-offsets.h>.
74163         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74164         longjmp_msg pointer.
74165         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74166         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74167         signal stack.
74168         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74170 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74172         * elf/stackguard-macros.h: Remove file.
74173         * sysdeps/generic/stackguard-macros.h: New file.
74174         * sysdeps/i386/stackguard-macros.h: Likewise.
74175         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74176         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74177         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74178         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74179         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74180         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74181         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74182         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74183         <elf/stackguard-macros.h>.
74185         [BZ #14109]
74186         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74187         __aligned__ in attribute.
74188         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74189         (gregset_t): Likewise.
74191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74193         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74194         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74195         * sysdeps/x86_64/x32/Implies-after: New file.
74197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74199         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74200         and access return value for _dl_profile_fixup.  Use R10_LP to
74201         load frame size.
74203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74205         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74209         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74210         * sysdeps/x86_64/x32/sysdep.h: New file.
74212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74214         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74215         * sysdeps/x86_64/setjmp.S: Likewise.
74217 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74219         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74220         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74221         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74222         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74223         remove unused global constant.
74225 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74227         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74228         include of <not-cancel.h>.
74230 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74232         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74234 2012-05-15  Jeff Law  <law@redhat.com>
74235             Andreas Jaeger  <aj@suse.de>
74237         [BZ #13594]
74238         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74239         out from...
74240         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74241         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74242         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74243         code changing __hst_map_handle.map.
74245 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74247         * configure.in (sysnames): Look for Implies-before and Implies-after
74248         files.
74249         * configure: Regenerated.
74251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74253         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74254         8-byte data alignment with LP_SIZE alignment.
74256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74258         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74259         into R10_LP.
74261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74263         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74267         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74268         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74269         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74270         Likewise.
74271         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74275         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74276         (stackinfo_sub_sp): Likewise.
74278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74280         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74281         RAX_LP.
74283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74285         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74286         into R*_LP.
74288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74290         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74291         sizes into R*_LP.
74293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74295         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74299         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74300         into R11_LP and load __x86_64_shared_cache_size_half into
74301         R8_LP.
74303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74305         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74306         R8_LP.
74308 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74310         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74311         logb for POWER7.
74312         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74313         logbf for POWER7.
74314         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74315         logbl for POWER7.
74316         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74317         powerpc32/power7/fpu/s_logb.c via #include.
74318         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74319         powerpc32/power7/fpu/s_logbf.c via #include.
74320         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74321         powerpc32/power7/fpu/s_logbl.c via #include.
74323 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74325         * README.libm: Remove file.
74327 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74329         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74330         count for x32.  Use R*_LP and omit operand-size suffix.
74332 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74334         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74335         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74336         * sysdeps/x86_64/x32/shlib-versions: New file.
74338 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74340         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74341         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74342         Use _dl_fatal_printf instead.
74344 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74346         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74347         set if not set by the user.  Do not allow for being unset.
74348         * sysdeps/unix/sysv/linux/configure: Regenerated.
74350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74352         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74353         the `q' suffix from lea and replace .quad with ASM_ADDR.
74355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74358         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74359         instead of $17.
74360         (PTR_DEMANGLE): Likewise.
74362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74364         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74365         (LP_OP): Likewise.
74366         (ASM_ADDR): Likewise.
74367         (RAX_LP): Likewise.
74368         (RBP_LP): Likewise.
74369         (RBX_LP): Likewise.
74370         (RCX_LP): Likewise.
74371         (RDI_LP): Likewise.
74372         (RSI_LP): Likewise.
74373         (RSP_LP): Likewise.
74374         (R8_LP): Likewise.
74375         (R9_LP): Likewise.
74376         (R10_LP): Likewise.
74377         (R10_LP): Likewise.
74378         (R11_LP): Likewise.
74379         (R12_LP): Likewise.
74380         (R13_LP): Likewise.
74381         (R14_LP): Likewise.
74382         (R15_LP): Likewise.
74384 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74386         * sysdeps/x86_64/x32/dl-machine.h: New file.
74388 2012-05-14  Andreas Jaeger  <aj@suse.de>
74390         * manual/Makefile (subdir): Remove export of subdir.
74391         (all): Remove target.
74392         (.PHONY): Remove all from list.
74393         (mkinstalldirs): Remove.
74394         (.PHONY): Remove installdirs from list.
74395         ($(inst_infodir)/libc.info): Use make-target-directory.
74396         (installdirs): Remove.
74397         (subdir_%): Remove.
74398         (glibc-targets): Remove.
74399         (lib): Remove.
74400         (stubs): Remove.
74401         ($(objpfx)stubs ../po/manual.pot): Remove.
74402         ($(objpfx)stamp%): Remove.
74403         (make-target-directory): Remove.
74404         (subdir_install): Remove.
74405         (routines): Remove.
74406         (aux): Remove.
74407         (sources): Remove.
74408         (objects): Remove.
74409         (headers): Remove.
74411         [BZ #13750]
74412         * manual/.gitignore: Remove, it's not needed anymore.
74413         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74414         all files in it.
74415         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74416         directory.
74417         (texis): Renamed to $(objpfx)texis.
74418         (texis-path): New, contains path to generated files.
74419         (chapters.%): Use texis-path for complete path, add extra argument
74420         libc-texinfo.sh.
74421         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74422         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74423         (summary,texi, stamp-summary): Use complete path of
74424         files. Generate files in build dir.
74425         (dir-add.texi): Build in build dir.
74426         (libm-err.texi,stamp-libm-err): Likewise.
74427         (version.texi, stamp-version): Likewise.
74428         (.%c.texi): Likewise.
74429         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74430         (mostlyclean): Remove target.
74431         (realclean): Remove target.
74432         (generated): Add new variable with contents from mostlyclean and
74433         realclean, remove entries duplicated in common-mostlyclean, add
74434         stamp-libm-err and stamp-version.
74435         (generated-dirs): Add libc directory.
74436         ($(inst_infodir)/libc.info): Install files from build dir.
74438         * manual/install.texi (Configuring and compiling): Adjust since
74439         the info files are not part of the tar ball anymore.
74441 2012-05-14  Andreas Jaeger  <aj@suse.de>
74443         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74444         variable.
74446 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74448         [BZ #13717]
74449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74450         to 2.2.0 where earlier.
74451         * sysdeps/unix/sysv/linux/configure: Regenerated.
74452         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74453         Remove conditional code.
74454         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74455         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74456         Remove conditional code.
74457         [!__NR_lchown]: Likewise.
74458         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74459         [__NR_lchown]: Likewise.
74460         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74461         comment referencing __ASSUME_LCHOWN_SYSCALL.
74462         * sysdeps/unix/sysv/linux/i386/sigaction.c
74463         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74464         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74465         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74466         Remove conditional code.
74467         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74468         (__protocol_available): Remove #if 0 code.
74469         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74470         conditional code.
74471         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74472         * sysdeps/unix/sysv/linux/kernel-features.h
74473         (__ASSUME_GETCWD_SYSCALL): Don't define.
74474         (__ASSUME_REALTIME_SIGNALS): Likewise.
74475         (__ASSUME_PREAD_SYSCALL): Likewise.
74476         (__ASSUME_PWRITE_SYSCALL): Likewise.
74477         (__ASSUME_POLL_SYSCALL): Likewise.
74478         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74479         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74480         non-SPARC.
74481         (__ASSUME_SIOCGIFNAME): Don't define.
74482         (__ASSUME_MSG_NOSIGNAL): Likewise.
74483         (__ASSUME_SENDFILE): Define unconditionally.
74484         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74485         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74486         conditional code.
74487         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
74488         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
74489         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74490         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74491         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
74492         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74493         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
74495         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74496         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
74498         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74499         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
74501         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74502         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
74504         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74505         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
74507         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74508         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
74510         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74511         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
74513         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
74516         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74518         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
74519         Remove conditional code.
74520         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74521         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74522         Remove conditional code.
74523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74524         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
74525         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
74526         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74527         Remove conditional code.
74528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74529         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
74530         Remove conditional code.
74531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74532         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
74533         Remove conditional code.
74534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74535         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74536         Remove conditional code.
74537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74538         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74539         Remove conditional code.
74540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74541         * sysdeps/unix/sysv/linux/sh/pwrite64.c
74542         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74543         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74544         * sysdeps/unix/sysv/linux/sigaction.c
74545         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74546         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74547         * sysdeps/unix/sysv/linux/sigpending.c
74548         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74549         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74550         * sysdeps/unix/sysv/linux/sigprocmask.c
74551         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74552         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74553         * sysdeps/unix/sysv/linux/sigsuspend.c
74554         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74555         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74556         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74557         (__libc_missing_rt_sigs): Remove.
74558         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
74559         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
74560         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
74561         Remove conditional code.
74562         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
74563         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
74564         return 1.
74565         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
74566         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
74567         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
74568         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
74570 2012-05-14  Andreas Jaeger  <aj@suse.de>
74572         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
74573         it's not used in glibc.
74574         (__coshm1): Likewise.
74575         (__acosh1p): Likewise.
74576         (__sgn): Likewise.
74578         * manual/string.texi (Copying and Concatenation): Add missing
74579         variable in concat example.
74580         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
74582 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74584         [BZ #14103]
74585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
74586         __builtin_clzl with __builtin_clzll.
74588 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74590         [BZ #14104]
74591         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
74592         libc_freeres_ptr.
74594 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74596         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
74597         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
74598         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
74599         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
74601 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
74603         * NEWS: Update ia64 info.
74605 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
74607         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
74608         used as bcopy.
74610 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
74612         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
74613         * sysdeps/unix/syscalls.list (dup3): Likewise.
74614         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
74615         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
74617 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74619         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
74620         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
74622 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74624         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
74625         thread pointer.
74626         (TLS_IE): Use mov/add instead of movq/addq to load thread
74627         pointer.
74628         (TLS_GD_PREFIX): New.
74629         (TLS_GD): Use it.
74631 2012-05-11  David S. Miller  <davem@davemloft.net>
74633         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
74634         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
74635         (_FPU_SETCW): Likewise.
74637 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74639         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
74640         is 32-byte aligned.
74642 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
74644         [BZ #11837]
74645         * iconvdata/gb18030.c: Update tables.
74646         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
74647         characters specially.
74648         (BODY for TO_LOOP): Add encoding of missing ranges.
74650 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
74652         [BZ #13673]
74653         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
74654         * sysdeps/mach/hurd/dup3.c: Likewise.
74655         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74656         * sysdeps/powerpc/memmove.c:: Likewise.
74658 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74660         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74661         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74663 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74665         * elf/elf.h (R_X86_64_RELATIVE64): New.
74666         (R_X86_64_NUM): Updated.
74667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74668         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74669         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74670         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74671         tst-quad1pie tst-quad2pie
74672         (modules-names): Add tst-quadmod1 tst-quadmod2.
74673         ($(objpfx)tst-quad1): New dependency.
74674         ($(objpfx)tst-quad2): Likewise.
74675         ($(objpfx)tst-quad1pie): Likewise.
74676         ($(objpfx)tst-quad2pie): Likewise.
74677         * sysdeps/x86_64/tst-quad1.c: New file.
74678         * sysdeps/x86_64/tst-quad1pie.c: New file.
74679         * sysdeps/x86_64/tst-quad2.c: Likewise.
74680         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74681         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74682         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74683         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74684         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74688         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74689         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74690         * streams/stropts.h (t_scalar_t): Define type.
74692         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74693         (_PATH_PRESERVE): Set to "/var/lib".
74694         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74696         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74697         instead of int.
74699         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74700         if __dir_mkfile succeeded.
74702         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74703         checking for _hurd_dtablesize.  Unlock it right after having
74704         finished _hurd_dtable allocation.
74706 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74708         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74709         * sysdeps/mach/hurd/configure: Regenerated.
74710         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74711         special-casing to...
74712         * sysdeps/gnu/configure.in: ... this new file.
74713         * sysdeps/unix/sysv/linux/configure: Regenerated.
74714         * sysdeps/gnu/configure: New generated file.
74716         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74717         for Linux: use nsec instead of usec, as well as:
74718         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74719         members of type struct timespec.
74720         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74721         New macros.
74722         (struct stat64): Likewise.
74723         (_STATBUF_ST_NSEC): New macro.
74724         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74726         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74727         __strtoul_internal rather than strtoul.
74729 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74731         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74732         and reject them.
74734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74736         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74737         which preserves existing values.
74738         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74740 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74742         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74743         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74744         greater than FD_SETSIZE.
74746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74748         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74749         allocated, call __vm_protect to finish enabling the existing space, and
74750         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74751         allocate the remainder.
74753 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74755         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74756         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74760         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74761         sysdeps/mach/hurd/readlink.c.
74763         * posix/tst-sysconf.c (posix_options): Only use
74764         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74765         _POSIX_SYNCHRONIZED_IO when they are defined
74766         * sysdeps/mach/hurd/bits/posix_opt.h:
74767         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74768         (_XOPEN_REALTIME): Undefine macro.
74769         (_XOPEN_REALTIME_THREADS): Undefine macro.
74770         (_XOPEN_SHM): Undefine macro.
74771         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74772         macro to -1.
74773         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74774         macro to -1.
74775         (_POSIX_ASYNC_IO): Undefine macro.
74776         (_POSIX_PRIORITIZED_IO): Undefine macro.
74777         (_POSIX_SPIN_LOCKS): Define macro to -1.
74779         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74780         SA_NODEFER, SA_RESETHAND.
74781         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74782         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74783         F_DUPFD_CLOEXEC.
74785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74787         * elf/Makefile (pldd-modules): Define unconditionally.
74789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74791         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74795         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74796         Return ENOENT when name is empty.
74797         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74801         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74803         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74807         Fix mlock in all cases except non-readable pages.
74808         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74809         instead of VM_PROT_ALL as parameter to __vm_wire function.
74811         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74812         (__mkdir): When path is `/', just fail with EEXIST.
74813         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74817         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74818         <sys/uio.h> (for writev).
74819         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74820         and <sys/param.h> (for MIN).
74822 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74824         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74825         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74826         if interrupted.
74828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74830         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74831         Depend on against $(link-rpcuserlibs).
74833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74835         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74836         (__libc_stack_end): Do not use attribute_relro.
74837         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74838         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74839         to libthread-provided value.
74840         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74841         attribute_relro.
74843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74845         [BZ #3748]
74846         * bits/libc-lock.h (__libc_once_get): New macro.
74847         * sysdeps/mach/bits/libc-lock.h: Likewise.
74848         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74849         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74850         instead of using implementation details.
74852         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74853         * libio/freopen.c: Likewise.
74854         * libio/freopen64.c: Likewise.
74855         * misc/syslog.c: Likewise.
74856         * nscd/connections.c: Likewise.
74857         * nscd/netgroupcache.c: Likewise.
74858         * sysdeps/posix/getcwd.c: Likewise.
74860 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74862         * math/w_ilogbf.c: Add #include <limits.h>.
74864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74866         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74867         path instead of returning without unlocking.
74869         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74870         immediate-write ioctls.
74871         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74875         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74876         __builtin_frame_address instead of making assumptions about the
74877         location of the return address relative to DATA.  Force early load of
74878         the return address.
74879         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74880         __builtin_frame_address.
74882         dup3 for GNU Hurd.
74883         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74884         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74885         implement dup3 and do some further code clean-ups.
74886         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74887         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74889 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74891         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74893         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74894         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74895         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74896         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74897         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74898         d->port.lock.
74900         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74901         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74902         when handler == SIG_ERR, not when handler != SIG_ERR.
74904 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74906         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74907         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74908         definitions.
74910         accept4 for GNU Hurd.
74911         * include/sys/socket.h (__libc_accept4): New prototype.
74912         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74913         to implement __libc_accept4.
74914         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74915         __libc_accept4.
74916         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74918         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74919         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74920         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74921         signal-defines.sym.
74923 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74925         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74929         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74930         assertion on O_CLOEXEC flag.
74931         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74932         * hurd/intern-fd.c: Likewise.
74933         * hurd/port2fd.c: Likewise.
74935 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74937         [BZ #3906]
74938         * bits/in.h (IPV6_PKTINFO): Define new macro.
74939         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74941 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74943         [BZ #13954]
74944         [BZ #13955]
74945         [BZ #13956]
74946         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74947         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74948         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74949         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74951         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74952         * math/libm-test.inc (logb_test) : Additional logb tests.
74954 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74955             Andreas Jaeger  <aj@suse.de>
74957         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74958         * configure: Regenerated.
74959         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74960         * config.make.in (link-obsolete-rpc): New substituted variable.
74961         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74962         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74963         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74964         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74965         so that libc.a contains the symbols.
74966         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74967         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74968         * sunrpc/auth_none.c: Likewise.
74969         * sunrpc/auth_unix.c: Likewise.
74970         * sunrpc/authdes_prot.c: Likewise.
74971         * sunrpc/authuxprot.c: Likewise.
74972         * sunrpc/clnt_gen.c: Likewise.
74973         * sunrpc/clnt_perr.c: Likewise.
74974         * sunrpc/clnt_raw.c: Likewise.
74975         * sunrpc/clnt_simp.c: Likewise.
74976         * sunrpc/clnt_tcp.c: Likewise.
74977         * sunrpc/clnt_udp.c: Likewise.
74978         * sunrpc/clnt_unix.c: Likewise.
74979         * sunrpc/des_crypt.c: Likewise.
74980         * sunrpc/des_soft.c: Likewise.
74981         * sunrpc/get_myaddr.c: Likewise.
74982         * sunrpc/key_call.c: Likewise.
74983         * sunrpc/key_prot.c: Likewise.
74984         * sunrpc/netname.c: Likewise.
74985         * sunrpc/pm_getmaps.c: Likewise.
74986         * sunrpc/pm_getport.c: Likewise.
74987         * sunrpc/pmap_clnt.c: Likewise.
74988         * sunrpc/pmap_prot.c: Likewise.
74989         * sunrpc/pmap_prot2.c: Likewise.
74990         * sunrpc/pmap_rmt.c: Likewise.
74991         * sunrpc/publickey.c: Likewise.
74992         * sunrpc/rpc_cmsg.c: Likewise.
74993         * sunrpc/rpc_common.c: Likewise.
74994         * sunrpc/rpc_dtable.c: Likewise.
74995         * sunrpc/rpc_prot.c: Likewise.
74996         * sunrpc/rpc_thread.c: Likewise.
74997         * sunrpc/rtime.c: Likewise.
74998         * sunrpc/svc.c: Likewise.
74999         * sunrpc/svc_auth.c: Likewise.
75000         * sunrpc/svc_raw.c: Likewise.
75001         * sunrpc/svc_run.c: Likewise.
75002         * sunrpc/svc_tcp.c: Likewise.
75003         * sunrpc/svc_udp.c: Likewise.
75004         * sunrpc/svc_unix.c: Likewise.
75005         * sunrpc/svcauth_des.c: Likewise.
75006         * sunrpc/xcrypt.c: Likewise.
75007         * sunrpc/xdr.c: Likewise.
75008         * sunrpc/xdr_array.c: Likewise.
75009         * sunrpc/xdr_float.c: Likewise.
75010         * sunrpc/xdr_intXX_t.c: Likewise.
75011         * sunrpc/xdr_mem.c: Likewise.
75012         * sunrpc/xdr_rec.c: Likewise.
75013         * sunrpc/xdr_ref.c: Likewise.
75014         * sunrpc/xdr_sizeof.c: Likewise.
75015         * sunrpc/xdr_stdio.c: Likewise.
75017 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75019         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75020         change.  Update copyright years.
75022 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75024         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75026 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75027             Joseph Myers  <joseph@codesourcery.com>
75028             Paul Pluzhnikov  <ppluzhnikov@google.com>
75030         [BZ #14012]
75031         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75032         requiring rpcgen.
75033         [cross-compiling] (extra-libs): Likewise.
75034         [cross-compiling] (extra-libs-others): Likewise.
75035         [cross-compiling] (librpcsvc-routines): Likewise.
75036         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75037         [cross-compiling] (omit-deps): Likewise.
75038         (sunrpc-CPPFLAGS): New variable.
75039         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75040         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75041         (cross-rpcgen-objs): New variable.
75042         (extra-objs): Append $(cross-rpcgen-objs).
75043         ($(cross-rpcgen-objs)): New rule.
75044         ($(objpfx)cross-rpcgen): Likewise.
75045         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75046         comment.
75047         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75048         ($(objpfx)x%.stmp): Likewise.
75049         * sunrpc/proto.h [IS_IN_build] (_): Define.
75050         [IS_IN_build] (_libc_intl_domainname): Likewise.
75052 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75054         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75055         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75056         and R_X86_64_TPOFF64.
75058 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75060         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75061         sysdeps/unix/sysv/syscalls.list.
75062         (stime): Likewise.
75063         (utime): Likewise.
75064         * sysdeps/unix/sysv/syscalls.list: Remove file.
75066 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75068         [BZ #3440]
75069         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75070         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75071         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75072         (__LC_IDENTIFICATION): Make these macros useful in #if
75073         expressions, as required by C99.
75075 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75077         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75078         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75079         after this.
75081 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75083         * stdlib/longlong.h: Updated from GCC.
75085 2012-05-09  Andreas Jaeger  <aj@suse.de>
75087         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75088         default is first entry.
75089         (run_mode): Set type.
75090         (main): Remove informal message about syslog.
75091         (options): Fix typo.
75093         [BZ #14053]
75094         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75095         to asm.
75096         (lrint): Likewise.
75097         (llrintf): Likewise.
75098         (llrint): Likewise.
75099         (rint): Likewise.
75100         (rintf): Likewise.
75101         (nearbyint): Likewise.
75102         (nearbyintf): Likewise.
75104 2012-05-09  Andreas Jaeger  <aj@suse.de>
75105             Pedro Alves  <palves@redhat.com>
75107         * nscd/nscd.c (run_mode): Use enum.
75108         (main): Cleanup coding style issue.
75110 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75111             Andreas Jaeger  <aj@suse.de>
75113         * nscd/nscd.c (go_background): Replaced with...
75114         (run_mode): ... this.
75115         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75116         (options): Add -F --foreground.
75117         (main): Implement it.
75118         (parse_opt): Parse it.
75120 2012-05-09  Andreas Jaeger  <aj@suse.de>
75122         [BZ #14083]
75123         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75124         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75125         -Wconversion warning.
75126         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75127         Likewise.
75129 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75131         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75132         == 0.
75133         (LC_ALL): Use macro-int-constant.
75134         (LC_COLLATE): Likewise.
75135         (LC_CTYPE): Likewise.
75136         (LC_MESSAGES): Likewise.
75137         (LC_MONETARY): Likewise.
75138         (LC_NUMERIC): Likewise.
75139         (LC_TIME): Likewise.
75140         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75141         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75142         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75143         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75144         Specify type.
75145         [C99-based standards] (float_t): Expect type.
75146         [C99-based standards] (double_t): Expect type.
75147         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75148         type.
75149         [C99-based standards] (HUGE_VALL): Likewise.
75150         [C99-based standards] (INFINITY): Likewise.
75151         [C99-based standards] (NAN): Likewise.
75152         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75153         [C99-based standards] (FP_NAN): Likewise.
75154         [C99-based standards] (FP_NORMAL): Likewise.
75155         [C99-based standards] (FP_SUBNORMAL): Likewise.
75156         [C99-based standards] (FP_ZERO): Likewise.
75157         [C99-based standards] (FP_FAST_FMA): Use
75158         optional-macro-int-constant.  Specify type.  Require == 1.
75159         [C99-based standards] (FP_FAST_FMAF): Likewise.
75160         [C99-based standards] (FP_FAST_FMAL): Likewise.
75161         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75162         [C99-based standards] (FP_ILOGBNAN): Likewise.
75163         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75164         Specify type.
75165         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75166         [C99-based standards] (math_errhandling): Specify type.
75167         [ISO99 || ISO11] (signgam): Do not allow.
75168         [non-C99-based standards] (copysignf): Do not allow.
75169         [non-C99-based standards] (exp2f): Likewise.
75170         [non-C99-based standards] (log2f): Likewise.
75171         [non-C99-based standards] (modff): Allow.
75172         [non-C99-based standards] (erff): Do not allow.
75173         [non-C99-based standards] (erfcf): Likewise.
75174         [non-C99-based standards] (gammaf): Likewise.
75175         [non-C99-based standards] (hypotf): Likewise.
75176         [non-C99-based standards] (j0f): Likewise.
75177         [non-C99-based standards] (j1f): Likewise.
75178         [non-C99-based standards] (jnf): Likewise.
75179         [non-C99-based standards] (lgammaf): Likewise.
75180         [non-C99-based standards] (tgammaf): Likewise.
75181         [non-C99-based standards] (y0f): Likewise.
75182         [non-C99-based standards] (y1f): Likewise.
75183         [non-C99-based standards] (ynf): Likewise.
75184         [non-C99-based standards] (isnanf): Likewise.
75185         [non-C99-based standards] (acoshf): Likewise.
75186         [non-C99-based standards] (asinhf): Likewise.
75187         [non-C99-based standards] (atanhf): Likewise.
75188         [non-C99-based standards] (cbrtf): Likewise.
75189         [non-C99-based standards] (expm1f): Likewise.
75190         [non-C99-based standards] (ilogbf): Likewise.
75191         [non-C99-based standards] (log1pf): Likewise.
75192         [non-C99-based standards] (logbf): Likewise.
75193         [non-C99-based standards] (nextafterf): Likewise.
75194         [non-C99-based standards] (remainderf): Likewise.
75195         [non-C99-based standards] (rintf): Likewise.
75196         [non-C99-based standards] (scalbf): Likewise.
75197         [non-C99-based standards] (copysignl): Likewise.
75198         [non-C99-based standards] (exp2l): Likewise.
75199         [non-C99-based standards] (log2l): Likewise.
75200         [non-C99-based standards] (modfl): Allow.
75201         [non-C99-based standards] (erfl): Do not allow.
75202         [non-C99-based standards] (erfcl): Likewise.
75203         [non-C99-based standards] (gammal): Likewise.
75204         [non-C99-based standards] (hypotl): Likewise.
75205         [non-C99-based standards] (j0l): Likewise.
75206         [non-C99-based standards] (j1l): Likewise.
75207         [non-C99-based standards] (jnl): Likewise.
75208         [non-C99-based standards] (lgammal): Likewise.
75209         [non-C99-based standards] (tgammal): Likewise.
75210         [non-C99-based standards] (y0l): Likewise.
75211         [non-C99-based standards] (y1l): Likewise.
75212         [non-C99-based standards] (ynl): Likewise.
75213         [non-C99-based standards] (isnanl): Likewise.
75214         [non-C99-based standards] (acoshl): Likewise.
75215         [non-C99-based standards] (asinhl): Likewise.
75216         [non-C99-based standards] (atanhl): Likewise.
75217         [non-C99-based standards] (cbrtl): Likewise.
75218         [non-C99-based standards] (expm1l): Likewise.
75219         [non-C99-based standards] (ilogbl): Likewise.
75220         [non-C99-based standards] (log1pl): Likewise.
75221         [non-C99-based standards] (logbl): Likewise.
75222         [non-C99-based standards] (nextafterl): Likewise.
75223         [non-C99-based standards] (remainderl): Likewise.
75224         [non-C99-based standards] (rintl): Likewise.
75225         [non-C99-based standards] (scalbl): Likewise.
75226         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75227         [non-C99-based standards] (FP_*): Do not allow.
75228         [C99-based standards] (FP_*): Change to
75229         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75230         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75231         allow.
75232         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75233         (SIG_ERR): Likewise.
75234         [X/Open-based standards] (SIG_HOLD): Likewise.
75235         (SIG_IGN): Likewise.
75236         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75237         positive value.
75238         (SIGFPE): Likewise.
75239         (SIGILL): Likewise.
75240         (SIGINT): Likewise.
75241         (SIGSEGV): Likewise.
75242         (SIGTER): Likewise.
75243         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75244         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75245         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75246         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75247         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75248         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75249         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75250         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75251         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75252         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75253         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75254         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75255         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75256         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75257         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75258         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75259         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75260         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75261         [X/Open-based standards] (SIGTRAP): Likewise.
75262         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75263         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75264         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75265         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75266         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75267         allow.
75269 2012-05-08  Ian Wienand  <ianw@vmware.com>
75271         [BZ #14080]
75272         * time/tzset.c (__tzset_parse_tz): Update default rules for
75273         daylight time changes in the Energy Policy Act of 2005.
75275 2012-05-09  Andreas Jaeger  <aj@suse.de>
75277         [BZ #13983]
75278         * elf/ldconfig.c (parse_conf): Change string to make clear that
75279         ldconfig only issued a warning if ld.so.conf does not exist.
75281 2012-05-08  David S. Miller  <davem@davemloft.net>
75283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75284         movxtod instead of popping the value on the stack.
75286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75288 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75290         * config.h.in: Add HAVE_ARM_PCS_VFP.
75292 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75294         [BZ #13979]
75295         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75296         checking but the checks are disabled for any reason.
75298 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75300         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75301         and ELF64_R_TYPE with ELFW(R_TYPE).
75303 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75305         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75306         (ulimit): Likewise.
75308         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75309         (settimeofday): Likewise.
75311 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75313         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75314         a struct th_u2 inside the union, and move tu_block/tu_code into
75315         a new th_u3 union of tu_block/tu_code inside of that.  Move
75316         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75317         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75318         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75319         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75320         (th_stuff): Change to th_u1.tu_stuff.
75321         (th_data): Define.
75322         (th_msg): Change to th_u1.th_u2.tu_data.
75324 2012-05-07  David S. Miller  <davem@davemloft.net>
75326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75328         [BZ #14074]
75329         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75330         (SETUP_PIC_REG): Use it.
75331         (SETUP_PIC_REG_LEAF): Use it.
75333 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75335         [BZ #13885]
75336         [BZ #13923]
75337         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75338         USE_AS_EXPM1L.
75339         (EXPL_FINITE): Likewise.
75340         (FLDLOG): Likewise.
75341         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75342         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75343         e_expl.S.
75344         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75345         USE_AS_EXPM1L.
75346         (EXPL_FINITE): Likewise.
75347         (FLDLOG): Likewise.
75348         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75349         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75350         e_expl.S.
75351         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75352         test of -max_value argument for long double.
75353         * sysdeps/i386/fpu/libm-test-ulps: Update.
75354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75356 2012-05-06  David S. Miller  <davem@davemloft.net>
75358         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75359         quad soft-float symbols whose references which are compiler
75360         generated.
75361         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75363 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75365         [BZ #13884]
75366         [BZ #13914]
75367         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75368         USE_AS_EXP10L.
75369         (EXPL_FINITE): Likewise.
75370         (FLDLOG): Likewise.
75371         (c0): Likewise.
75372         (c1): Likewise.
75373         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75374         Adjust comments for base varying.
75375         (__expl_finite): Change alias to EXPL_FINITE.
75376         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75377         e_expl.S.
75378         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75379         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75380         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75381         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75382         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75383         USE_AS_EXP10L.
75384         (EXPL_FINITE): Likewise.
75385         (FLDLOG): Likewise.
75386         (c0): Likewise.
75387         (c1): Likewise.
75388         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75389         Adjust comments for base varying.
75390         (__expl_finite): Change alias to EXPL_FINITE.
75391         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75392         tests for bugs.
75393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75395         [BZ #14064]
75396         * math/libm-test.inc (check_float_internal): Correct ulp
75397         calculation for subnormal expected results.
75399 2012-05-06  Andreas Jaeger  <aj@suse.de>
75401         * Makeconfig (+math-flags): New, set to -frounding-math.
75402         (+cflags): Add +math-flags so that all of glibc gets compiled with
75403         it.
75405         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75407 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75409         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75410         Disable one test.
75412         [BZ #13787]
75413         [BZ #13922]
75414         [BZ #14036]
75415         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75416         (__ieee754_expl): Allow for and saturate large arguments.
75417         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75418         (u_threshold): Likewise.
75419         (__exp): Call __ieee754_exp before checking for overflow and
75420         underflow.
75421         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75422         (u_threshold): Likewise.
75423         (__expf): Call __ieee754_expf before checking for overflow and
75424         underflow.
75425         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75426         (u_threshold): Likewise.
75427         (__expl): Call __ieee754_expl before checking for overflow and
75428         underflow.
75429         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75430         (__ieee754_expl): Allow for and saturate large arguments.
75431         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75432         missing overflow exception on overflow.
75433         (expm1_test): Do not allow missing overflow exception on overflow.
75435         * sysdeps/i386/fpu/e_expl.c: Move to ...
75436         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75437         rather than using inline asm.
75438         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75439         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75440         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75442         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75443         (nice): Likewise.
75444         (poll): Likewise.
75445         (signal): Likewise.
75446         (time): Likewise.
75447         (times): Likewise.
75449 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75451         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75452         sysdeps/unix/common/syscalls.list.
75453         (fchmod): Likewise.
75454         (fchown): Likewise.
75455         (ftruncate): Likewise.
75456         (getrusage): Likewise.
75457         (gettimeofday): Likewise.
75458         (setpgid): Likewise.
75459         (setregid): Likewise.
75460         (setreuid): Likewise.
75461         (sigaction): Likewise.
75462         (truncate): Likewise.
75463         (vhangup): Likewise.
75464         * sysdeps/unix/common/syscalls.list: Remove file.
75465         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75466         * sysdeps/unix/sysv/linux/Implies: Likewise.
75468 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75470         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75472         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75473         Moved to ...
75474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75475         Here.
75476         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75477         to ...
75478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75479         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75480         to ...
75481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75482         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75483         to ...
75484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75485         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75486         to ...
75487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
75488         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
75489         to ...
75490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
75491         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
75492         to ...
75493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
75494         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
75495         to ...
75496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
75497         Here.
75498         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
75499         to ...
75500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
75501         Here.
75502         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
75503         to ...
75504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
75505         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
75506         Moved to ...
75507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
75508         Here.
75509         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
75510         to ...
75511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
75513 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75515         * sysdeps/unix/common/bits/dirent.h: Remove file.
75516         * sysdeps/unix/common/bits/fcntl.h: Likewise.
75518         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
75519         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
75520         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
75521         * sysdeps/unix/bsd/isatty.c: Likewise.
75522         * sysdeps/unix/bsd/tcdrain.c: Likewise.
75523         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
75524         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
75526 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75528         [BZ #13563]
75529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
75530         long double comparison inaccuracies.
75531         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
75532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75534 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
75536         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
75537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
75539 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75541         [BZ #14049]
75542         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
75543         nonzero digits before rounding a hex value.
75544         * stdlib/tst-strtod.c (tests): Add another test.
75546 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75548         * sysdeps/s390/fpu/libm-test-ulps: Update.
75550 2012-05-03  Andreas Jaeger  <aj@suse.de>
75552         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
75553         does not get optimized out.
75554         (malloc_opt_barrier): New.
75556 2012-05-03  Andreas Jaeger  <aj@suse.de>
75557             Roland McGrath  <roland@hack.frob.com>
75559         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
75560         intermediate file deletion.
75561         (generated): Add .symlist files.
75563 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
75565         [BZ #13775]
75566         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
75567         Redirect under this condition.
75568         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75569         [__USE_GNU] (__dprintf_chk): Not under this condition.
75570         [__USE_GNU] (__vdprintf_chk): Likewise.
75571         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
75572         under this condition.
75573         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75574         [__USE_XOPEN2K8] (dprintf): Define under this condition.
75575         [__USE_XOPEN2K8] (vdprintf): Likewise.
75576         [__USE_GNU] (__dprintf_chk): Not under this condition.
75577         [__USE_GNU] (__vdprintf_chk): Likewise.
75578         [__USE_GNU] (dprintf): Likewise.
75579         [__USE_GNU] (vdprintf): Likewise.
75581 2012-05-03  Roland McGrath  <roland@hack.frob.com>
75583         * elf/Makefile (common-generated): Set this instead of generated for
75584         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
75585         $(all-built-dso)-derived lists.
75587 2012-05-03  Andreas Jaeger  <aj@suse.de>
75589         * sysdeps/i386/fpu/libm-test-ulps: Update.
75591         * FAQ: Removed.
75592         * FAQ.in: Likewise.
75593         * scripts/gen-FAQ.pl: Likewise.
75594         * manual/install.texi (Installation): Point to online location of
75595         FAQ.
75596         * Makefile (files-for-dist): Remove FAQ.
75597         (FAQ): Remove.
75599 2012-05-02  Allan McRae  <allan@archlinux.org>
75601         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
75602         (LDFLAGS-reldepmod5.so): Likewise.
75603         (LDFLAGS-reldep6mod1.so): Likewise.
75604         (LDFLAGS-reldep6mod4.so): Likewise.
75605         (LDFLAGS-reldep8mod3.so): Likewise.
75606         (LDFLAGS-unload4mod1.so): Likewise.
75607         (LDFLAGS-unload4mod2.so): Likewise.
75608         (LDFLAGS-tst-initorder): Likewise.
75609         (LDFLAGS-tst-initordera2.so): Likewise.
75610         (LDFLAGS-tst-initordera3.so): Likewise.
75611         (LDFLAGS-tst-initordera4.so): Likewise.
75612         (LDFLAGS-tst-initorderb2.so): Likewise.
75613         (LDFLAGS-noload): Likewise.
75614         (LDFLAGS-next): Likewise.
75615         (LDFLAGS-order2mod1.so): Likewise.
75616         (LDFLAGS-order2mod2.so): Likewise.
75617         (LDFLAGS-tst-initorder2): Likewise.
75618         (LDFLAGS-tst-initorder2a.so): Likewise.
75619         (LDFLAGS-tst-initorder2b.so): Likewise.
75620         (LDFLAGS-tst-initorder2c.so): Likewise.
75621         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
75623 2012-05-02  David S. Miller  <davem@davemloft.net>
75625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75627 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
75629         [BZ #14055]
75630         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
75632 2012-05-02  Andreas Jaeger  <aj@suse.de>
75634         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
75635         since we manipulate rounding mode.
75636         (CPPFLAGS-test-idouble.c): Likewise.
75637         (CPPFLAGS-test-ifloat.c): Likewise.
75638         (CFLAGS-test-ldouble.c): Likewise.
75639         (CFLAGS-test-double.c): Likewise.
75640         (CFLAGS-test-float.c): Likewise.
75641         (CFLAGS-test-misc.c): Likewise.
75642         (CFLAGS-test-test-fenv.c): Likewise.
75644 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75646         [BZ #2550]
75647         [BZ #2570]
75648         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
75649         comparisons to determine direction to adjust input.
75651 2012-05-01  Roland McGrath  <roland@hack.frob.com>
75653         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
75654         output to the target.
75656         * scripts/localplt.awk: New file.
75657         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75658         (check-localplt-CFLAGS): Variable removed.
75659         ($(all-built-dso:=.jmprel)): New static pattern rule.
75660         (generated): Add those targets.
75661         (localplt-built-dso): New variable.
75662         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75664         * elf/check-localplt.c: File removed.
75666         * scripts/check-execstack.awk: New file.
75667         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75668         (check-execstack-CFLAGS): Variable removed.
75669         ($(objpfx)check-execstack.h): Target removed.
75670         ($(objpfx)execstack-default): New target.
75671         (generated): Add that instead of check-execstack.h.
75672         ($(all-built-dso:=.phdr)): New static pattern rule.
75673         (generated): Add those targets.
75674         * elf/check-execstack.c: File removed.
75676         * scripts/check-textrel.awk: New file.
75677         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75678         (check-textrel-CFLAGS): Variable removed.
75679         (all-built-dso): Use := to define.o
75680         ($(all-built-dso:=.dyn)): New static pattern rule.
75681         (generated): Add those targets.
75682         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75683         * config.make.in (READELF): New substituted variable.
75684         * elf/check-textrel.c: File removed.
75686 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75688         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75689         allow.
75690         * conform/data/ctype.h-data [C99-based standards] (isblank):
75691         Expect function.
75692         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75693         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75694         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75695         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75696         Specify type.  Require positive value.
75697         (EILSEQ): Likewise.
75698         (ERANGE): Likewise.
75699         [ISO || POSIX] (EILSEQ): Do not expect.
75700         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75701         Specify type.  Require positive value.
75702         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75703         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75704         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75705         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75706         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75707         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75708         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75709         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75710         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75711         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75712         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75713         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75714         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75715         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75716         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75717         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75718         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75719         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75720         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75721         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75722         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75723         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75724         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75725         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75726         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75727         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75728         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75729         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75730         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75731         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75732         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75733         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75734         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75735         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75736         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75737         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75738         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75739         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75740         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75741         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75742         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75743         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75744         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75745         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75746         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75747         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75748         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75749         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75750         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75751         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75752         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75753         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75754         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75755         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75756         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75757         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75758         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75759         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75760         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75761         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75762         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75763         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75764         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75765         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75766         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75767         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75768         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75769         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75770         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75771         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75772         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75773         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75774         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75775         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75776         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75777         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75778         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75779         Require >= 2.
75780         (FLT_ROUNDS): Expect as macro, not constant.
75781         (FLT_MANT_DIG): Use macro-int-constant.
75782         (DBL_MANT_DIG): Likewise.
75783         (LDBL_MANT_DIG): Likewise.
75784         (FLT_DIG): Likewise.
75785         (DBL_DIG): Likewise.
75786         (LDBL_DIG): Likewise.
75787         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75788         (DBL_MIN_EXP): Likewise.
75789         (LDBL_MIN_EXP): Likewise.
75790         (FLT_MAX_EXP): Use macro-int-constant.
75791         (DBL_MAX_EXP): Likewise.
75792         (LDBL_MAX_EXP): Likewise.
75793         (FLT_MAX_10_EXP): Likewise.
75794         (DBL_MAX_10_EXP): Likewise.
75795         (LDBL_MAX_10_EXP): Likewise.
75796         (FLT_MAX): Use macro-constant.
75797         (DBL_MAX): Likewise.
75798         (LDBL_MAX): Likewise.
75799         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75800         (DBL_EPSILON): Likewise.
75801         (LDBL_EPSILON): Likewise.
75802         (FLT_MIN): Likewise.
75803         (DBL_MIN): Likewise.
75804         (LDBL_MIN): Likewise.
75805         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75806         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75807         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75808         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75809         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75810         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75811         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75812         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75813         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75814         [ISO11] (FLT_TRUE_MIN): Likewise.
75815         [ISO11] (LDBL_TRUE_MIN): Likewise.
75816         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75817         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75818         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75819         (SCHAR_MAX): Likewise.
75820         (UCHAR_MAX): Likewise.
75821         (CHAR_MIN): Likewise.
75822         (CHAR_MAX): Likewise.
75823         (MB_LEN_MAX): Use macro-int-constant.
75824         (SHRT_MIN): Use macro-int-constant.  Specify type.
75825         (SHRT_MAX): Likewise.
75826         (USHRT_MAX): Likewise.
75827         (INT_MAX): Likewise.
75828         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75829         bound negative.
75830         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75831         bound with "U".
75832         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75833         bound with "L".
75834         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75835         bound negative.  Suffix upper bound with "L".
75836         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75837         bound with "UL".
75838         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75839         Specify type.
75840         [C99-based standards] (LLONG_MAX): Likewise.
75841         [C99-based standards] (ULLONG_MAX): Likewise.
75842         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75843         == 0.
75844         [ISO11] (max_align_t): Require type.
75845         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75847         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75848         from $CFLAGS, without defining away __attribute__ calls.
75849         (checknamespace): Use $CFLAGS_namespace.
75851         * conform/conformtest.pl (@keywords): Only include C99 keywords
75852         for standards based on C99 or C11.
75854         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75855         Disable tests.
75856         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75857         UNIX98]: Likewise.
75859         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75860         usability of symbols in #if.
75862         * conform/conformtest.pl: If macro or constant types start
75863         "promoted:", expect the symbol to be of the following type
75864         promoted by the integer promotions.
75866         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75867         in one place.  Also handle "macro-constant".
75869         * conform/conformtest.pl: Only accept expected macro values with
75870         "==".  Parse all "macro" lines in one place.
75871         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75873         * conform/conformtest.pl: Handle braced types on "constant" lines
75874         instead of handling "typed-constant".
75875         * conform/data/signal.h-data: Use "constant" instead of
75876         "typed-constant".
75878         * conform/conformtest.pl: Handle "optional-" at start of lines in
75879         one place rather than duplicating several cases.  Handle each
75880         format of "macro" line with initial "optional-".
75882         * conform/conformtest.pl: Only accept expected constant or
75883         optional-constant values with "==".  Parse all "constant" lines in
75884         one place.  Parse all "optional-constant" lines in one place.
75885         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75886         * conform/data/fmtmsg.h-data: Likewise.
75887         * conform/data/netinet/in.h-data: Likewise.
75888         * conform/data/tar.h-data: Likewise.
75889         * conform/data/limits.h-data: Use "==" form on "constant" and
75890         "optional-constant" lines.
75892         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75893         Use -std=c99 for XOPEN2K.
75894         (@knownproblems): Remove.
75895         (newtoken): Don't check %isknown.
75897         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75898         Do not expect macro.
75899         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75900         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75901         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75902         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75903         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75904         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75905         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75906         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75907         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75908         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75909         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75910         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75911         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75912         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75913         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75914         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75915         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75916         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75917         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75918         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75919         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75920         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75921         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75922         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75923         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75924         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75925         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75926         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75927         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75928         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75929         [XPG3] (acosh): Likewise.
75930         [XPG3] (asinh): Likewise.
75931         [XPG3] (atanh): Likewise.
75932         [XPG3] (cbrt): Likewise.
75933         [XPG3] (expm1): Likewise.
75934         [XPG3] (ilogb): Likewise.
75935         [XPG3] (log1p): Likewise.
75936         [XPG3] (logb): Likewise.
75937         [XPG3] (nextafter): Likewise.
75938         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75939         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75940         [XPG3] (remainder): Likewise.
75941         [XPG3] (rint): Likewise.
75942         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75943         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75944         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75945         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75946         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75947         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75948         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75949         [UNIX98 || XOPEN2K] (scalb): Expect.
75950         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75951         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75952         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75953         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75954         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75955         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75956         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75957         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75958         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75959         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75960         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75961         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75962         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75963         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75964         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75965         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75966         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75967         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75968         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75969         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75970         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75971         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75972         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75973         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75974         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75975         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75976         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75977         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75978         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75979         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75980         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75981         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75982         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75983         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75984         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75985         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75986         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75987         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75988         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75989         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75990         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75991         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75992         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75993         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75994         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75995         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75996         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75997         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75998         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75999         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76000         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76001         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76002         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76003         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76004         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76005         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76006         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76007         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76008         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76009         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76010         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76011         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76012         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76013         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76014         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76015         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76016         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76017         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76018         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76019         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76020         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76021         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76022         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76023         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76024         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76025         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76026         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76027         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76028         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76029         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76030         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76031         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76032         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76033         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76034         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76035         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76036         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76037         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76038         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76039         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76040         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76041         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76042         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76043         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76044         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76045         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76046         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76047         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76048         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76049         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76050         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76051         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76052         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76053         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76054         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76055         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76056         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76057         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76058         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76059         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76060         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76061         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76062         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76063         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76064         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76065         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76066         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76067         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76068         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76069         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76070         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76071         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76072         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76073         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76074         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76075         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76076         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76077         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76078         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76079         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76080         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76081         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76082         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76083         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76084         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76085         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76086         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76088         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76089         _XOPEN_SOURCE_EXTENDED for XPG4.
76091         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76093         * Makeconfig (localtime): Remove variable.
76094         (inst_localtime-file): Likewise.
76096 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76099         Update.
76100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76101         Update.
76102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76103         Update.
76104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76105         Update.
76106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76107         Update.
76108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76109         Update.
76110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76111         Update.
76112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76113         Update.
76114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76115         Update.
76117 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76119         [BZ #2550]
76120         [BZ #2570]
76121         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76122         comparisons to determine direction to adjust input.
76123         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76124         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76125         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76126         Likewise.
76127         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76128         Likewise.
76129         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76130         Likewise.
76131         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76132         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76133         Likewise.
76134         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76135         Likewise.
76136         * math/libm-test.inc (nexttoward_test): Add more tests.
76138 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76140         [BZ #14040]
76141         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76142         in version GLIBC_2.1, not GLIBC_2.0.
76143         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76144         Likewise.
76146 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76148         [BZ #13942]
76149         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76150         (1 - x) * (1 + x).
76151         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76152         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76153         * math/libm-test.inc (acos_test): Add more tests.
76154         (asin_test): Likewise.
76155         * sysdeps/i386/fpu/libm-test-ulps: Update.
76156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76158         [BZ #14034]
76159         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76160         of square root.
76161         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76162         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76163         * math/libm-test.inc (acos_test_tonearest): New function.
76164         (acos_test_towardzero): Likewise.
76165         (acos_test_downward): Likewise.
76166         (acos_test_upward): Likewise.
76167         (asin_test_tonearest): Likewise.
76168         (asin_test_towardzero): Likewise.
76169         (asin_test_downward): Likewise.
76170         (asin_test_upward): Likewise.
76171         (main): Call the new functions.
76172         * sysdeps/i386/fpu/libm-test-ulps: Update.
76173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76175         [BZ #13884]
76176         [BZ #13924]
76177         * math/e_exp10.c: Include <float.h>.
76178         (__ieee754_exp10): Handle underflow here rather than multiplying
76179         large negative argument by M_LN10.
76180         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76181         of __ieee754_expf.
76182         * math/e_exp10l.c: Include <float.h>.
76183         (__ieee754_exp10l): Handle underflow here rather than multiplying
76184         large negative argument by M_LN10l.
76185         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76186         spurious overflow exception on underflow.
76188 2012-04-29  Marek Polacek  <polacek@redhat.com>
76190         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76191         (__fortify_function): New macro.
76192         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76193         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76194         __extern_always_inline.
76195         * libio/bits/stdio2.h: Likewise.
76196         * libio/bits/stdio.h: Likewise.
76197         * string/string.h: Likewise.
76198         * string/bits/string3.h: Likewise.
76199         * include/stdio.h: Likewise.
76200         * stdlib/bits/stdlib.h: Likewise.
76201         * stdlib/stdlib.h: Likewise.
76202         * rt/bits/mqueue2.h: Likewise.
76203         * rt/mqueue.h: Likewise.
76204         * posix/bits/unistd.h: Likewise.
76205         * posix/unistd.h: Likewise.
76206         * io/bits/poll2.h: Likewise.
76207         * io/bits/fcntl2.h: Likewise.
76208         * io/fcntl.h: Likewise.
76209         * io/sys/poll.h: Likewise.
76210         * misc/bits/syslog.h: Likewise.
76211         * misc/bits/syslog-ldbl.h: Likewise.
76212         * misc/sys/syslog.h: Likewise.
76213         * socket/bits/socket2.h: Likewise.
76214         * socket/sys/socket.h: Likewise.
76215         * debug/tst-chk1.c: Likewise.
76216         * wcsmbs/bits/wchar2.h: Likewise.
76217         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76218         * wcsmbs/wchar.h: Likewise.
76220 2012-04-29  Andreas Jaeger  <aj@suse.de>
76222         * Makerules (tests): Remove enable-check-abi protection.
76223         (check-abi-warn): Remove.
76224         (check-abi-%): Remove check-abi-warn usage.
76226         * configure.in: Remove check-abi configure option.
76227         * configure: Regenerated.
76228         * config.make.in (enable-check-abi): Remove.
76230 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76232         [BZ #14033]
76233         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76234         double functions to double *_finite functions.
76236         [BZ #13941]
76237         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76238         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76239         LDBL_MIN_EXP.
76240         * stdio-common/Makefile (tests): Add tst-sprintf3.
76241         * stdio-common/tst-sprintf3.c: New file.
76243         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76244         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76246 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76248         * conform/conformtest.pl: Remove duplicate typed-constant
76249         handling.
76251 2012-04-28  David S. Miller  <davem@davemloft.net>
76253         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76254         (check-abi-%): Remove AWK script prerequisite and explicit
76255         abilist directory.
76256         (check-abi): Rewrite to just diff the symlist with the abilist.
76257         (config-tls, config-abi-config): Delete, no longer used.
76258         (update-abi-%): Remove AWK script and explicit abilist directory.
76259         (update-abi): Rewrite to simply compare and conditionally copy the
76260         symlist and the sysdep abilist file.  Remove update-abi-config
76261         checks.
76262         * abilist/ld.abilist: Remove.
76263         * abilist/libBrokenLocale.abilist: Remove.
76264         * abilist/libanl.abilist: Remove.
76265         * abilist/libcrypt.abilist: Remove.
76266         * abilist/libdl.abilist: Remove.
76267         * abilist/librt.abilist: Remove.
76268         * abilist/libthread_db.abilist: Remove.
76269         * abilist/libutil.abilist: Remove.
76270         * scripts/extract-abilist.awk: Remove.
76271         * scripts/merge-abilist.awk: Remove.
76272         * sysdeps/generic/libcidn.abilist: New file.
76273         * sysdeps/generic/libnss_compat.abilist: New file.
76274         * sysdeps/generic/libnss_db.abilist: New file.
76275         * sysdeps/generic/libnss_dns.abilist: New file.
76276         * sysdeps/generic/libnss_files.abilist: New file.
76277         * sysdeps/generic/libnss_hesiod.abilist: New file.
76278         * sysdeps/generic/libnss_nis.abilist: New file.
76279         * sysdeps/generic/libnss_nisplus.abilist: New file.
76280         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76281         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76282         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76283         file.
76284         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76285         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76286         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76287         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76288         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76289         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76290         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76291         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76292         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76293         file.
76294         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76295         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76296         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76297         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76298         file.
76299         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76300         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76301         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76302         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76303         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76304         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76305         file.
76306         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76307         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76308         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76309         file.
76310         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76312         New file.
76313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76314         New file.
76315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76316         New file.
76317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76318         New file.
76319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76320         New file.
76321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76322         New file.
76323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76324         New file.
76325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76326         New file.
76327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76328         New file.
76329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76330         New file.
76331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76332         New file.
76333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76334         New file.
76335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76336         New file.
76337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76338         file.
76339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76340         New file.
76341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76342         New file.
76343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76344         file.
76345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76346         New file.
76347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76348         New file.
76349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76350         file.
76351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76352         New file.
76353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76354         New file.
76355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76356         New file.
76357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76358         New file.
76359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76360         New file.
76361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76362         New file.
76363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76365         file.
76366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76367         New file.
76368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76369         file.
76370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76371         file.
76372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76373         file.
76374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76375         file.
76376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76377         file.
76378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76379         New file.
76380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76381         file.
76382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76383         file.
76384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76385         New file.
76386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76387         file.
76388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76390         file.
76391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76392         New file.
76393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76394         file.
76395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76396         file.
76397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76398         file.
76399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76400         file.
76401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76402         file.
76403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76404         New file.
76405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76406         file.
76407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76408         file.
76409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76410         New file.
76411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76412         file.
76413         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76414         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76415         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76416         file.
76417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76418         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76419         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76420         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76421         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76422         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76423         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76424         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76425         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76426         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76429         file.
76430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76431         New file.
76432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76433         file.
76434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76435         file.
76436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76437         file.
76438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76439         file.
76440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76441         file.
76442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76443         New file.
76444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76445         New file.
76446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76447         file.
76448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76449         New file.
76450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76451         file.
76452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76454         file.
76455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76456         New file.
76457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76458         file.
76459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76460         file.
76461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76462         file.
76463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76464         file.
76465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76466         file.
76467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76468         New file.
76469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76470         New file.
76471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76472         file.
76473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76474         New file.
76475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76476         file.
76478 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76480         * conform/conformtest.pl: Fix typo in handling typed-constant from
76481         allow-header.
76483 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76485         * README: Cut down references to pre-2.6 Linux kernels and
76486         Linuxthreads.  Update lists of configurations in libc and ports
76487         and sort alphabetically.  Say "or newer" with Linux kernel version
76488         requirements.
76490         * config.h.in [IS_IN_build]: Allow compiling without optimization.
76492 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
76494         [BZ #887]
76495         * math/libm-test.inc (logb_test_downward): New test to expose
76496         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
76497         rounding mode.
76499 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76501         [BZ #14027]
76502         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
76503         to be done.
76504         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
76505         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
76507 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
76509         * sysdeps/unix/i386/brk.S: Remove file.
76510         * sysdeps/unix/i386/dl-brk.S: Likewise.
76511         * sysdeps/unix/i386/pipe.S: Likewise.
76512         * sysdeps/unix/i386/sigreturn.S: Likewise.
76513         * sysdeps/unix/i386/syscall.S: Likewise.
76514         * sysdeps/unix/i386/vfork.S: Likewise.
76515         * sysdeps/unix/i386/wait.S: Likewise.
76517         * sysdeps/unix/common/tcsendbrk.c: Move to ...
76518         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
76520         * configure.in (arm*-none*): Do not allow without
76521         --enable-hacker-mode.
76522         (netbsd*): Remove case setting base_os.
76523         (386bsd*): Likewise.
76524         (freebsd*): Likewise.
76525         (bsdi*): Likewise.
76526         (osf*): Likewise.
76527         (sunos*): Likewise.
76528         (ultrix*): Likewise.
76529         (newsos*): Likewise.
76530         (dynix*): Likewise.
76531         (*bsd*): Likewise.
76532         (sysv*): Likewise.
76533         (isc*): Likewise.
76534         (esix*): Likewise.
76535         (sco*): Likewise.
76536         (minix*): Likewise.
76537         (irix4*): Likewise.
76538         (irix6*): Likewise.
76539         (solaris[2-9]*): Likewise.
76540         (none): Likewise.
76541         * configure: Regenerated.
76543 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76545         [BZ #11521]
76546         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
76547         overflow or cancellation in calculating denominator.
76548         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
76549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
76550         down expression to avoid unexpected rounding in newer GCCs.
76551         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
76553 2012-04-26  David S. Miller  <davem@davemloft.net>
76555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
76556         long-double compat symbols.
76557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
76561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
76563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
76564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
76565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
76566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
76567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
76568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
76569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76571 2012-04-25  David S. Miller  <davem@davemloft.net>
76573         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
76574         HWCAP_* values only after the memory barriers have been defined.
76575         (atomic_full_barrier): Define.
76576         (atomic_read_barrier): Define.
76577         (atomic_write_barrier): Define.
76579 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76581         * shlib-versions: Add libgcc_s version information.
76582         * sysdeps/generic/libgcc_s.h: Remove.
76583         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
76584         libgcc_s.h.
76585         * sysdeps/gnu/unwind-resume.c: Likewise.
76586         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
76588 2012-04-25  David S. Miller  <davem@davemloft.net>
76590         * sysdeps/unix/sparc/brk.S: Delete.
76591         * sysdeps/unix/sparc/dl-brk.S: Delete.
76592         * sysdeps/unix/sparc/pipe.S: Delete.
76593         * sysdeps/unix/sparc/sysdep.S: Delete.
76594         * sysdeps/unix/sparc/sysdep.h: Delete.
76595         * sysdeps/unix/sparc/vfork.S: Delete.
76596         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
76597         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
76598         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
76599         (ret_ERRVAL, r0, r1, MOVE): Define.
76600         (JUMPTARGET): Remove.
76601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
76602         sysdeps/unix/sparc/sysdep.h
76603         (ENTRY, END): Remove.
76604         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76606 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
76608         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
76609         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
76610         -DIS_IN_build.
76612         * timezone/README: Update upstream location and email address for
76613         tzcode and tzdata.
76614         * timezone/zdump.c: Update from tzcode 2012b.
76615         * timezone/zic.c: Likewise.
76617         * configure.in (libc_cv_as_needed): Remove test.
76618         * configure: Regenerated.
76619         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
76620         conditional definition.
76621         [$(have-as-needed) != yes] (no-as-needed): Likewise.
76622         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
76623         * config.make.in (have-as-needed): Remove variable.
76625 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76626             Paul Pluzhnikov  <ppluzhnikov@google.com>
76628         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
76629         strings correctly.
76631 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
76633         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
76634         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
76635         * sysdeps/sh/strlen.S: Likewise.
76637 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76639         * sysdeps/unix/fork.S: Remove file.
76640         * sysdeps/unix/i386/fork.S: Likewise.
76641         * sysdeps/unix/sparc/fork.S: Likewise.
76643         * sysdeps/unix/system.c: Remove file.
76644         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76646         * sysdeps/unix/getegid.S: Remove file.
76647         * sysdeps/unix/geteuid.S: Likewise.
76649 2012-04-24  Roland McGrath  <roland@hack.frob.com>
76651         * scripts/check-localplt.awk: New file.
76652         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
76653         of diff.
76654         * scripts/data/localplt-generic.data: Add a comment.
76656         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76657         NODE when __dir_mkfile failed.
76658         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76659         Reported by Ludovic Courtès <ludo@gnu.org>.
76661 2012-04-24  Andreas Jaeger  <aj@suse.de>
76663         * Makerules (common-clean): Also remove gen-as-const-headers
76664         files.
76666 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76668         * Makerules (native-compile): Do not change working directory for
76669         build.  Use $(OUTPUT_OPTION) in command.
76670         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76672 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76674         [BZ #13886]
76675         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76676         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76677         * math/libm-test.inc (floor_test): Add more tests.
76678         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76680 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76682         * sysdeps/unix/getdents.c: Remove file.
76683         * sysdeps/unix/sysv/getdents.c: Likewise.
76684         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76686         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76687         sysdeps/unix/mman/syscalls.list.
76688         (mmap): Likewise.
76689         (mprotect): Likewise.
76690         (msync): Likewise.
76691         (munmap): Likewise.
76692         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76693         * sysdeps/unix/mman/syscalls.list: Remove.
76694         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76696         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76697         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76698         * configure: Regenerated.
76699         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76700         $(libgcc_s_suffix).
76701         * config.make.in (libgcc_s_suffix): Remove variable.
76703 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76705         * sysdeps/unix/sysv/gethostname.c: Move to ...
76706         * sysdeps/posix/gethostname.c: ... here.
76708         * sysdeps/unix/execve.S: Remove file.
76710         * sysdeps/unix/_exit.S: Remove file.
76712 2012-04-23  Andreas Jaeger  <aj@suse.de>
76714         [BZ #13739]
76715         * manual/Makefile: Remove make dist support, there's no
76716         need for a stand-alone documentation tar ball.
76717         (TEXI2DVI): Define always, it's not in Makeconfig.
76718         (dist): Removed.
76719         (tar-it): Removed.
76720         (edition): Removed.
76721         (glibc-doc-$(edition).tar): Removed
76722         (%.Z): Removed.
76723         (%.gz): Removed.
76724         (%.uu): Removed.
76725         (ETAGS): Remove, it's in Makeconfig.
76726         (move-if-change): Remove, it's in Makeconfig.
76728 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76730         [BZ #13970]
76731         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76732         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76733         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76734         (strtod_l, strtof_l, strtold_l): Remove __wur.
76735         It is not necessarily an error to ignore strtol's return value.
76736         One can reliably look at the stored endptr to decide whether
76737         the number had valid syntax.
76739 2012-04-21  Andreas Jaeger  <aj@suse.de>
76741         [BZ #13739]
76742         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76744 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76746         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76747         * sysdeps/unix/sysv/Versions: Remove file.
76749 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76751         [BZ #13927]
76752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76754 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76756         [BZ #7064]
76757         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76758         version from __vm86.
76760 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76762         * sysdeps/unix/common/lxstat.c: Remove file.
76763         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76765         * sysdeps/unix/sysv/Makefile: Remove file.
76767         * sysdeps/unix/sysv/direct.h: Remove file.
76769         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76770         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76771         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76772         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76773         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76774         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76775         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76777         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76779         * sysdeps/unix/xmknod.c: Remove file.
76780         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76782         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76784         * sysdeps/unix/sysv/i386/time.S: Remove file.
76786         * sysdeps/unix/fxstat.c: Remove file.
76787         * sysdeps/unix/xstat.c: Likewise.
76788         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76790         * sysdeps/unix/sysv/sigaction.c: Remove file.
76792         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76793         (sysdep_headers): Remove variable.
76794         [termio.h not in sysdep_headers] (generated): Likewise.
76795         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76796         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76797         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76798         * sysdeps/unix/sysv/tcflow.c: Likewise.
76799         * sysdeps/unix/sysv/tcflush.c: Likewise.
76800         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76801         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76802         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76803         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76804         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76806         * sysdeps/unix/siglist.c: Remove file.
76808         * sysdeps/unix/getppid.S: Remove file.
76810         * sysdeps/unix/mkdir.c: Remove file.
76811         * sysdeps/unix/rmdir.c: Likewise.
76813 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76815         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76816         ERR_MAX value.
76817         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76818         errlist-compat value.
76820 2012-04-18  David S. Miller  <davem@davemloft.net>
76822         * sysdeps/generic/memcopy.h (reg_char): Delete.
76823         * debug/strcat_chk.c: Use char, not reg_char.
76824         * debug/strcpy_chk.c: Likewise.
76825         * debug/strncat_chk.c: Likewise.
76826         * debug/strncpy_chk.c: Likewise.
76827         * string/memchr.c: Likewise.
76828         * string/memrchr.c: Likewise.
76829         * string/rawmemchr.c: Likewise.
76830         * string/strcat.c: Likewise.
76831         * string/strchr.c: Likewise.
76832         * string/strchrnul.c: Likewise.
76833         * string/strcmp.c: Likewise.
76834         * string/strcpy.c: Likewise.
76835         * string/strncat.c: Likewise.
76836         * string/strncmp.c: Likewise.
76837         * string/strncpy.c: Likewise.
76839 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76841         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76842         __builtin_memcopy is called when src and dest ranges are known to not
76843         overlap.
76845 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76847         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76848         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76849         fwd_align_merge macro call.
76850         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76851         bwd_align_merge macro call.
76852         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76854 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76856         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76857         bwd_align_merge macros.
76858         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76859         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76860         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76862 2012-04-18  David S. Miller  <davem@davemloft.net>
76864         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76866 2012-04-18  Andreas Jaeger  <aj@suse.de>
76868         [BZ# 6794]
76869         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76870         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76871         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76873         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76874         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76875         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76877         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76878         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76879         Adjust for changed ldbl-128 files.
76881         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76882         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76883         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76885 2012-04-17  David S. Miller  <davem@davemloft.net>
76887         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76889 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76891         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76892         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76893         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76894         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76895         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76896         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76898 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76900         [BZ #6794]
76901         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76902         * math/libm-test.inc: Add ilogb errno and exception tests.
76903         * math/w_ilogb.c: New file: ilogb wrapper.
76904         * math/w_ilogbf.c: New file: ilogbf wrapper.
76905         * math/w_ilogbl.c: New file: ilogbl wrapper.
76906         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76907         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76908         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76909         exception being thrown with 0.0 as argument.
76910         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76911         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76912         exception being thrown with 0.0 as argument.
76913         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76914         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76915         exception being thrown with 0.0 as argument.
76916         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76917         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76918         exception being thrown with 0.0 as argument.
76919         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76920         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76921         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76922         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76923         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76924         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76925         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76926         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76927         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76929 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76931         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76932         with altivec.
76934 2012-04-16  Marek Polacek  <polacek@redhat.com>
76936         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76938 2012-04-16  Marek Polacek  <polacek@redhat.com>
76940         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76941         operands of fdivp instruction.
76943 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76945         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76946         * elf/tst-auditmod3b.c: Likewise.
76947         * elf/tst-auditmod4b.c: Likewise.
76948         * elf/tst-auditmod5b.c: Likewise.
76949         * elf/tst-auditmod6b.c: Likewise.
76950         * elf/tst-auditmod6c.c: Likewise.
76951         * elf/tst-auditmod7b.c: Likewise.
76952         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76953         * sysdeps/x86_64/preconfigure.in: Likewise.
76954         * sysdeps/x86_64/preconfigure: Regenerated.
76956 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76958         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76959         __ILP32__.
76961 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76963         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76964         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76966 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76968         [BZ #13973]
76969         * locale/iso-639.def: Fix gl language name. Spotted by
76970         Yaron Shahrabani.
76972 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76974         [BZ #2074]
76975         * libio/libio.h (__io_write_fn): Update comment.
76977 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76979         [BZ #2074]
76980         * stdio.texi (Hook Functions): The user provided writer function
76981         is not allowed to return -1.
76983 2012-04-11  David S. Miller  <davem@davemloft.net>
76985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76987 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76989         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76990         Add a leading slash to rtkaio.
76992 2012-04-11  Jim Meyering  <meyering@redhat.com>
76994         [BZ #11959]
76995         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76996         It is not necessarily an error to ignore fwrite's return
76997         value.  One can reliably use ferror to test for errors after
76998         the fact.
77000 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77002         * bits/types.h (__snseconds_t): New type.
77003         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77005         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77007         (__SNSECONDS_T_TYPE): Likewise.
77008         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77009         (__SNSECONDS_T_TYPE): Likewise.
77010         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77011         (__SNSECONDS_T_TYPE): Likewise.
77013 2012-04-10  Andreas Jaeger  <aj@suse.de>
77015         [BZ #2636]
77016         * manual/time.texi (Processor Time): Return type of times is
77017         elapsed real time since an arbitrary point in the past.
77018         (CPU Time): Move CLK_TCK from here...
77019         (Processor Time): ...to here.  Correct description.
77020         * manual/conf.texi (Constants for Sysconf): Correct description of
77021         _SC_CLK_TCK.
77023 2012-04-10  David S. Miller  <davem@davemloft.net>
77025         [BZ #13967]
77026         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77027         where the is a gap between DT_REL(A) and DT_JMPREL.
77029 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77031         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77032         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77033         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77035 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77037         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77038         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77039         (dl_main): Handle --inhibit-cache.
77040         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77041         _dl_inhibit_cache.
77042         * elf/dl-load.c (_dl_map_object): Use it.
77043         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77045 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77047         [BZ #13872]
77048         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77049         (__ieee754_powl): Saturate large exponents rather than testing for
77050         overflow of y*log2(x).
77051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77052         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77053         exceptions.
77055         [BZ #11521]
77056         * math/s_ctan.c: Include <float.h>.
77057         (__ctan): Avoid internal overflow or cancellation in calculating
77058         denominator.
77059         * math/s_ctanf.c: Likewise.
77060         * math/s_ctanl.c: Likewise.
77061         * math/s_ctanh.c: Likewise.
77062         * math/s_ctanhf.c: Likewise.
77063         * math/s_ctanhl.c: Likewise.
77064         * math/libm-test.inc (ctan_test): Add more tests.
77065         (ctanh_test): Likewise.
77066         * sysdeps/i386/fpu/libm-test-ulps: Update.
77067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77069 2012-04-09  Andreas Jaeger  <aj@suse.de>
77071         [BZ #6894]
77072         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77073         is an optional BSD extension.
77075         [BZ #10254]
77076         * manual/stdio.texi (Opening Streams): Document additional fopen
77077         parameters.
77079 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77081         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77082         %eax without telling the compiler.
77084 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77086         [BZ # 13963]
77087         * manual/install.texi: Use sourceware.org.
77089 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77091         [BZ #13873]
77092         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77093         (__ieee754_pow): Generate overflow and underflow using huge*huge
77094         and tiny*tiny rather than just returning constant infinity or zero
77095         for large exponents.
77096         * math/libm-test.inc (pow_test): Require overflow exceptions for
77097         applicable cases of large exponents.
77099         [BZ #706]
77100         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77101         (__ieee754_pow): Use iterative multiplication algorithm only for
77102         integer exponents with absolute value below 1024.  Check for odd
77103         integer exponents when using algorithm for real exponents.
77104         * math/libm-test.inc (pow_test): Add more tests.
77105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77107 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77109         [BZ #13705]
77110         * math/libm-test.inc (exp_test): Do not allow overflow exception
77111         on underflow test.
77113 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77115         [BZ #13705]
77116         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77117         instead of __kernel_standard_f.
77119 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77121         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77122         * sysdeps/x86_64/memset_chk.S: Likewise.
77124 2012-04-08  Andreas Jaeger  <aj@suse.de>
77126         [BZ #10153]
77127         * manual/startup.texi (Environment Access): Describe return value
77128         for putenv and setenv.
77130         [BZ #6895]
77131         * manual/filesys.texi (Directory Entries): Add description for
77132         DT_LNK.
77134         [BZ #6890]
77135         * manual/filesys.texi (Directory Entries): Clarify that it's file
77136         system not operating system in the description of DT_UNKNOWN.
77138         [BZ #6578]
77139         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77141 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77143         [BZ #6649]
77144         * manual/llio.texi (Opening and Closing Files): Add cross
77145         reference to explain mode argument.
77147 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77149         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77150         * sysdeps/x86_64/memset_chk.S: Likewise.
77152 2012-04-07  David S. Miller  <davem@davemloft.net>
77154         * elf/elf.h (R_SPARC_WDISP10): Define.
77155         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77156         R_SPARC_SIZE32.
77157         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77158         R_SPARC_SIZE64 and R_SPARC_H34.
77160 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77163         conditions and remove no longer applicable assertion.
77165 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77167         * bits/byteswap.h: Include <features.h>.
77168         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77169         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77171 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77173         * bits/byteswap.h (__bswap_16): Removed.
77174         Include <bits/byteswap-16.h> to get __bswap_16.
77175         * sysdeps/i386/bits/byteswap.h: Likewise.
77176         * sysdeps/s390/bits/byteswap.h: Likewise.
77177         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77178         * bits/byteswap-16.h: New file.
77179         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77180         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77181         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77182         * string/Makefile (headers): Add bits/byteswap-16.h.
77184 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77186         [BZ #13895]
77187         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77188         extra indirection.
77189         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77190         * nss/tst-nss-static.c: New.
77192 2012-04-06  Robert Millan  <rmh@gnu.org>
77194         [BZ #6486]
77195         * manual/llio.texi (File Position Primitive): lseek
77196         refers to WHENCE when it really means OFFSET.
77198 2012-04-06  Andreas Jaeger  <aj@suse.de>
77200         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77201         strncmp declarations.
77203         * abilist/libc.abilist: Add __poll and __ppoll.
77205 2012-04-05  David S. Miller  <davem@davemloft.net>
77207         * scripts/check-local-headers.sh: Accept a host triplet in the
77208         path matched by the exclude regexp.
77210         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77211         definition.
77212         * sysdeps/powerpc/powerpc32/dl-machine.h
77213         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77214         * sysdeps/s390/s390-32/dl-machine.h
77215         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77216         * sysdeps/sparc/sparc32/dl-machine.h
77217         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77218         * sysdeps/sparc/sparc64/dl-machine.h
77219         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77221         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77222         lazy binding.
77223         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77224         undefined symbol errors.
77226         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77227         DT_NEEDED entries.
77229 2012-04-05  Michael Matz  <matz@suse.de>
77231         [BZ #13592]
77232         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77234 2012-04-05  Andreas Jaeger  <aj@suse.de>
77236         [BZ #13908]
77237         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77238         comment.
77240 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77242         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77243         which ROUND is no valid rounding mode.
77245 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77247         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77248         read again.
77249         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77251 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77253         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77254         an exception using FPU order intentionally.
77256 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77258         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77259         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77260         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77261         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77263 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77265         [BZ #12340]
77266         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77267         EINVAL when BUFLEN is too smal.
77269 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77271         [BZ #13553]
77272         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77273         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77275 2012-04-03  Andreas Jaeger  <aj@suse.de>
77277         [BZ #13938]
77278         * manual/setjmp.texi (System V contexts): Fix sentence.
77280         [BZ #13926]
77281         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77282         New macro for this case.
77283         [!__GNUC__] (__bswap_64): New inline function for this case.
77284         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77285         * bits/byteswap.h: Likewise.
77286         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77287         ull, guard with __GLIBC_HAVE_LONG_LONG.
77289         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77290         __GLIBC_HAVE_LONG_LONG.
77292         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77293         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77295 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77297         [BZ #13691]
77298         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77299         inptr and inend, rather than using last_ch.
77301 2012-04-02  David S. Miller  <davem@davemloft.net>
77303         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77304         * stdio-common/printf-parse.h (read_int): Change return type to
77305         'int', return -1 on INT_MAX overflow.
77306         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77307         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77308         overflows INT_MAX.  Check for overflow of in-format-string precision
77309         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77310         SIZE_MAX not INT_MAX for integer overflow test.
77311         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77312         skip the construct in the format string but do not record anything.
77313         * stdio-common/bug22.c: Adjust to test both width/prevision
77314         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77315         explicitly for proper errno values.
77317 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77319         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77320         CHAR_MAX.
77321         * string/test-strcmp.c [! WIDE]: Likewise.
77322         * time/tst-mktime2.c: Likewise for INT_MAX.
77323         * string/test-string.h: #include <sys/param.h> for MIN.
77325         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77326         * sysdeps/i386/init-first.c (init): Likewise.
77327         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77328         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77329         * sysdeps/sh/init-first.c (init): Likewise.
77331 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77333         * po/ru.po: Update from translation team.
77334         * po/vi.po: Likewise.
77336 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77338         * resolv/nss_dns/dns-host.c: Merge copyright years.
77340 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77342         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77343         Optimize memcpy with prefetch if
77344         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77345         src, dst pointers have unequal 16 byte alignments.
77347 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77349         [BZ #13928]
77350         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77351         from a CNAME entry and return the minimum ttl for the query.
77352         (gaih_getanswer_slice): Likewise.
77354 2012-03-30  Jeff Law  <law@redhat.com>
77356         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77357         due to long keys.
77358         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77359         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77361         * resolv/nss_dns/dns-host.c: Update copyright year.
77363 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77365         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77366         requests to save a system call.  Fix check that all bytes are sent.
77368         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77369         comments for sendmmsg.
77371 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77373         [BZ #13691]
77374         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77375         with only 1 character between 0x0041 and 0x01b0.
77376         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77377         * wcsmbs/tst-mbsnrtowcs.c: New file.
77379 2012-03-29  David S. Miller  <davem@davemloft.net>
77381         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77382         small copies by hand.
77384 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77386         [BZ #13761]
77387         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77388         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77389         group memberships.
77391 2012-03-28  David S. Miller  <davem@davemloft.net>
77393         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77394         that branches into memcpy.
77395         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77396         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77398         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77399         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77400         bits.
77401         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77402         implementation too.
77403         * sysdeps/sparc/mempcpy.S: New file.
77405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77406         the IFUNC routine in the libc case.
77407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77409         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77410         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77411         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77412         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77413         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77414         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77415         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77416         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77418         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77419         loop to 256 bytes instead of 64 bytes and fix test signedness.
77421         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77422         * sysdeps/sparc/sparc32/Makefile: rather than here...
77423         * sysdeps/sparc/sparc64/Makefile: and here.
77425 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77427         * malloc/mallocbug.c: Avoid warnings about unused variables.
77429 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77431         [BZ #13760]
77432         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77433         in the right place. Discard and retry query if response is
77434         larger than input buffer size.
77436 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77438         [BZ #369]
77439         [BZ #2678]
77440         [BZ #3866]
77441         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77442         x for large integer exponent.
77443         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77444         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77445         sign of result as needed afterwards.
77446         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77447         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77448         result for underflowing pow the same as for overflow.
77449         (__kernel_standard_l): Handle powl overflow and underflow here
77450         rather than calling __kernel_standard.
77451         * math/libm-test.inc (pow_test): Add more tests.
77453         [BZ #3868]
77454         [BZ #13879]
77455         [BZ #13910]
77456         [BZ #13911]
77457         [BZ #13912]
77458         [BZ #13913]
77459         [BZ #13915]
77460         [BZ #13916]
77461         [BZ #13917]
77462         [BZ #13918]
77463         [BZ #13919]
77464         [BZ #13920]
77465         [BZ #13921]
77466         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77467         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77468         (__kernel_standard_l): New function.
77469         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77470         __kernel_standard.
77471         * math/w_acosl.c (__acosl): Likewise.
77472         * math/w_asinl.c (__asinl): Likewise.
77473         * math/w_atan2l.c (__atan2l): Likewise.
77474         * math/w_atanhl.c (__atanhl): Likewise.
77475         * math/w_coshl.c (__coshl): Likewise.
77476         * math/w_exp10l.c (__exp10l): Likewise.
77477         * math/w_exp2l.c (__exp2l): Likewise.
77478         * math/w_fmodl.c (__fmodl): Likewise.
77479         * math/w_hypotl.c (__hypotl): Likewise.
77480         * math/w_j0l.c (__j0l, __y0l): Likewise.
77481         * math/w_j1l.c (__j1l, __y1l): Likewise.
77482         * math/w_jnl.c (__jnl, __ynl): Likewise.
77483         * math/w_lgammal.c (__lgammal): Likewise.
77484         * math/w_log10l.c (__log10l): Likewise.
77485         * math/w_log2l.c (__log2l): Likewise.
77486         * math/w_logl.c (__logl): Likewise.
77487         * math/w_powl.c (__powl): Likewise.
77488         * math/w_remainderl.c (__remainderl): Likewise.
77489         * math/w_scalbl.c (sysv_scalbl): Likewise.
77490         * math/w_sinhl.c (__sinhl): Likewise.
77491         * math/w_sqrtl.c (__sqrtl): Likewise.
77492         * math/w_tgammal.c (__tgammal): Likewise.
77493         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
77494         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
77495         * math/libm-test.inc (acos_test): Add more tests.
77496         (acosh_test): Likewise.
77497         (asin_test): Likewise.
77498         (atanh_test): Likewise.
77499         (exp_test): Likewise.
77500         (exp10_test): Likewise.
77501         (exp2_test): Likewise.
77502         (expm1_test): Likewise.
77503         (lgamma_test): Likewise.
77504         (log_test): Likewise.
77505         (log10_test): Likewise.
77506         (log1p_test): Likewise.
77507         (log2_test): Likewise.
77508         (pow_test): Do not allow some spurious overflow exceptions.
77509         (sqrt_test): Add more tests.
77510         (tgamma_test): Likewise.
77511         (y0_test): Likewise.
77512         (y1_test): Likewise.
77513         (yn_test): Likewise.
77515 2012-03-27  Anton Blanchard  <anton@samba.org>
77517         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
77518         MAP_HUGETLB.
77519         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77520         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77521         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77523 2012-03-27  David S. Miller  <davem@davemloft.net>
77525         * conform/Makefile: Run run-conformtest.sh using $(BASH).
77527         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
77528         have-as-vis3 check.
77530 2012-03-27  Andreas Jaeger  <aj@suse.de>
77532         * sysdeps/x86_64/elf/configure.in: Moved to ...
77533         * sysdeps/x86_64/configure.in: ... here.
77534         * sysdeps/x86_64/elf/start.S: Moved to ...
77535         * sysdeps/x86_64/start.S: ... here.
77536         * sysdeps/x86_64/elf/configure: Delete.
77538         * sysdeps/x86_64/configure.in: Merge contents from
77539         sysdeps/i386/configure.in (without i686 check).
77541         * sysdeps/i386/elf/Versions: Merge into ...
77542         * sysdeps/i386/Versions: ... this.
77543         * sysdeps/i386/elf/Versions: Delete file.
77544         * sysdeps/i386/elf/start.S: Moved to ...
77545         * sysdeps/i386/start.S: ...here.
77546         * sysdeps/i386/elf/configure.in: Merge into...
77547         * sysdeps/i386/configure.in: ...here.
77548         * sysdeps/i386/elf/configure.in: Delete file.
77549         * sysdeps/i386/elf/configure: Delete file.
77551         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
77552         * debug/backtracesyms.c: ... here.
77553         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
77554         * debug/backtracesymsfd.c: ... here.
77555         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
77556         * sysdeps/generic/ifunc-sel.h: ... here.
77558         * sysdeps/unix/i386/start.c: Delete file.
77559         * sysdeps/unix/sparc/start.c: Delete file.
77560         * sysdeps/unix/start.c: Delete file.
77562         * sysdeps/sh/elf/configure.in: Moved to ...
77563         * sysdeps/sh/configure.in: ... here.
77564         * sysdeps/sh/elf/start.S: Moved to ...
77565         * sysdeps/sh/start.S: ... here.
77566         * sysdeps/sh/elf/configure: Delete file.
77568         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
77569         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
77570         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
77571         * sysdeps/powerpc/powerpc64/entry.h: ... here.
77572         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
77573         * sysdeps/powerpc/powerpc64/start.S: here.
77574         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
77575         * sysdeps/powerpc/powerpc64/Makefile: ... this.
77576         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
77577         * sysdeps/powerpc/powerpc64/configure.in: ... this.
77578         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
77580         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
77581         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
77582         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
77583         * sysdeps/powerpc/powerpc32/start.S: ... here.
77584         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
77585         * sysdeps/powerpc/powerpc32/configure.in: ... this.
77586         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
77588         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
77589         * sysdeps/powerpc/ifunc-sel.h: ... here.
77590         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
77591         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
77593         * sysdeps/sparc/elf/configure.in: Moved to ...
77594         * sysdeps/sparc/configure.in: ... here.
77595         * sysdeps/sparc/elf/configure: Delete file.
77596         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
77597         * sysdeps/sparc/sparc32/start.S: ... here.
77598         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
77599         * sysdeps/sparc/sparc64/start.S: ... here.
77600         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
77601         * sysdeps/sparc/sparc32/Makefile: ... this.
77602         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
77603         * sysdeps/sparc/sparc64/Makefile: ... this.
77605         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
77606         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
77607         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
77608         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
77609         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
77610         * sysdeps/s390/s390-32/setjmp.S: ... here.
77611         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
77612         * sysdeps/s390/s390-32/configure.in: ... here.
77613         * sysdeps/s390/s390-32/elf/configure: Delete file.
77614         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
77615         * sysdeps/s390/s390-32/start.S: ... here.
77617         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
77618         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
77619         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
77620         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
77621         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
77622         * sysdeps/s390/s390-64/setjmp.S: ... here.
77623         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
77624         * sysdeps/s390/s390-64/configure.in: ... here
77625         * sysdeps/s390/s390-64/elf/configure: Delete file.
77626         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
77627         * sysdeps/s390/s390-64/start.S: ... here.
77628         * sysdeps/s390/s390-64/elf/configure: Delete.
77630         * configure.in: Remove support for elf directories in sysdeps.
77632         * configure: Regenerated.
77633         * sysdeps/i386/configure: Regenerated.
77634         * sysdeps/powerpc/powerpc32/configure: Regenerated.
77635         * sysdeps/powerpc/powerpc64/configure: Regenerated.
77636         * sysdeps/s390/s390-32/configure: Regenerated.
77637         * sysdeps/s390/s390-64/configure: Regenerated.
77638         * sysdeps/sh/configure: Regenerated.
77639         * sysdeps/sparc/configure: Regenerated.
77640         * sysdeps/x86_64/configure: Regenerated.
77642 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
77644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77646         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
77647         denormal result into account.
77649 2012-03-25  Roland McGrath  <roland@hack.frob.com>
77651         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
77652         Reported by Allan McRae <allan@archlinux.org>.
77654 2012-03-23  Jeff Law  <law@redhat.com>
77656         * nss/getnssent.c (__nss_getent): Fix typo.
77658 2012-03-23  David S. Miller  <davem@davemloft.net>
77660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77662 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77664         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77665         to pad to uint64_t for each field.
77666         (dl_tls_index): Replace unsigned long with uint64_t.
77668 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77669         Paul Pluzhnikov  <ppluzhnikov@google.com>
77671         [BZ #6528]
77672         * grp/Makefile (otherlibs): Don't set it.
77673         * inet/Makefile (otherlibs): Likewise.
77674         * login/Makefile (otherlibs): Likewise.
77675         * nscd/Makefile (otherlibs): Likewise.
77676         * posix/Makefile (otherlibs): Likewise.
77677         * pwd/Makefile (otherlibs): Likewise.
77678         * rt/Makefile (otherlibs): Likewise.
77679         * sunrpc/Makefile (otherlibs): Likewise.
77680         * nss/Makefile (otherlibs): Likewise.
77681         Add libnss_files to routines and static-only-routines.
77682         ($(objpfx)getent): Remove rule.
77683         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77684         static-only-routines.
77686 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77688         [BZ #13892]
77689         * math/s_cexp.c: Include <float.h>.
77690         (__cexp): Handle exp result overflowing not necessarily
77691         overflowing both real and imaginary parts of result.
77692         * math/s_cexpf.c: Likewise.
77693         * math/s_cexpl.c: Likewise.
77694         * math/libm-test.inc (cexp_test): Add more tests.
77695         * sysdeps/i386/fpu/libm-test-ulps: Update.
77696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77698 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77700         * include/link.h (ELFW): New macro.
77701         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77702         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77704 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77706         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77707         with uint64_t.
77709 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77711         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77712         declaration.
77713         (struct La_x32_retval): Likewise.
77715 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77717         * sysdeps/x86_64/preconfigure.in: New file.
77718         * sysdeps/x86_64/preconfigure: New generated file.
77720 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77722         [BZ #13824]
77723         * math/e_exp2l.c: Include <float.h>.
77724         (__ieee754_exp2l): Handle overflow and underflow cases
77725         separately.  Only pass fractional part of argument to
77726         __ieee754_expl.
77727         * math/libm-test.inc (exp2_test): Add more tests.
77729         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77730         negating x to take absolute value.
77731         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77732         Likewise.
77733         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77734         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77735         Likewise.
77736         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77737         computing low part if x was negated.
77738         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77740 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77742         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77743         la_x32_gnu_pltexit.
77744         (pltexit): Cast int_retval to ptrdiff_t.
77745         * elf/tst-auditmod3b.c: Likewise.
77746         * elf/tst-auditmod4b.c: Likewise.
77747         * elf/tst-auditmod5b.c: Likewise.
77748         * elf/tst-auditmod6b.c: Likewise.
77749         * elf/tst-auditmod6c.c: Likewise.
77750         * elf/tst-auditmod7b.c: Likewise.
77752         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77753         and x32_gnu_pltexit.
77755         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77756         __ELF_NATIVE_CLASS.
77757         (La_x32_regs): New macro.
77758         (La_x32_retval): Likewise.
77759         (la_x32_gnu_pltenter): New function prototype.
77760         (la_x32_gnu_pltexit): Likewise.
77762 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77764         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77765         exponent.
77767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77769         * configure.in (libc_cv_cc_nofma): Check for option to disable
77770         generation of FMA instructions.
77771         * configure: Regenerate.
77772         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77773         * sysdeps/ieee754/dbl-64/Makefile: New file.
77774         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77775         Remove brandred-fma4.
77776         (CFLAGS-brandred-fma4.c): Remove.
77777         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77778         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77779         define.
77780         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77781         define.
77783 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77785         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77786         LLONG_MAX != LONG_MAX.
77787         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77788         (_fitoa_word): Likewise.
77789         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77790         LLONG_MAX != LONG_MAX.
77791         * stdio-common/_itowa.h: Include <_itoa.h>.
77792         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77793         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77794         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77795         only if not defined.
77796         (_ITOA_WORD_TYPE): Likewise.
77797         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77798         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77800 2012-03-21  David S. Miller  <davem@davemloft.net>
77802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77804 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77806         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77807         of x86_64 when setting libc_cv_slibdir, libdir and
77808         libc_cv_localedir.
77809         * sysdeps/unix/sysv/linux/configure: Regenerated.
77811 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77813         * manual/lang.texi (Old Varargs): Remove section.
77814         (How Variadic): Update menu.
77815         (va_start): Do not mention varargs.h.
77817 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77818             Joseph Myers  <joseph@codesourcery.com>
77820         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77821         link test.
77822         * configure: Regenerated.
77824 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77826         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77827         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77828         conformtest.pl
77830 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77832         * NOTES: Remove.
77833         * Makefile (files-for-dist): Remove NOTES.
77834         (NOTES): Remove rule.
77835         * README: Don't refer to NOTES.
77836         * manual/creature.texi: Don't include macros.texi.
77837         * manual/intro.texi (creature.texi): Remove comment referring to
77838         NOTES.
77840         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77841         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77842         * configure: Regenerated.
77843         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77844         LIBC_TRY_CC_OPTION.
77845         (libc_cv_as_i686): Likewise.
77846         (libc_cv_cc_avx): Likewise.
77847         (libc_cv_cc_sse2avx): Likewise.
77848         (libc_cv_cc_fma4): Likewise.
77849         (libc_cv_cc_novzeroupper): Likewise.
77850         * sysdeps/i386/configure: Regenerated.
77852         [BZ #13883]
77853         * sysdeps/i386/fpu/s_cexp.S: Remove.
77854         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77855         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77856         * math/libm-test.inc (cexp_test): Add more tests.
77857         * sysdeps/i386/fpu/libm-test-ulps: Update.
77858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77860 2012-03-21  Allan McRae  <allan@archlinux.org>
77862         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77864 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77866         [BZ #13871]
77867         * math/w_exp2.c: Do not include <float.h>.
77868         (o_threshold, u_threshold): Remove.
77869         (__exp2): Calculate result before checking finiteness and calling
77870         __kernel_standard.
77871         * math/w_exp2f.c: Likewise.
77872         * math/w_exp2l.c: Likewise.
77873         * math/libm-test.inc (exp2_test): Require overflow exception for
77874         1e6 input.
77876         [BZ #3866]
77877         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77878         range of signed 64-bit integers before using fistpll.  Remove
77879         checks for whether integers fit in mantissa bits.
77880         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77881         the range of signed 32-bit integers before using fistpl.  Remove
77882         checks for whether integers fit in mantissa bits.
77883         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77884         (__ieee754_powl): Test for y outside the range of signed 64-bit
77885         integers before using fistpll.  Reduce 64-bit values to 63-bit
77886         ones as needed.
77887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77888         divide-by-zero is raised for zero to large negative powers.
77889         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77890         (__ieee754_powl): Test for y outside the range of signed 64-bit
77891         integers before using fistpll.  Reduce 64-bit values to 63-bit
77892         ones as needed.
77893         * math/libm-test.inc (pow_test): Add more tests.
77895 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77897         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77898         <stdio-common/_itoa.h>.
77899         * debug/segfault.c: Likewise.
77900         * elf/dl-cache.c: Likewise.
77901         * elf/dl-minimal.c: Likewise.
77902         * elf/dl-misc.c: Likewise.
77903         * elf/dl-sysdep.c: Likewise.
77904         * elf/dl-version.c: Likewise.
77905         * elf/rtld.c: Likewise.
77906         * hurd/hurdsock.c: Likewise.
77907         * hurd/lookup-retry.c: Likewise.
77908         * malloc/malloc.c: Likewise.
77909         * malloc/mtrace.c: Likewise.
77910         * nscd/nscd_getgr_r.c: Likewise.
77911         * nscd/nscd_getpw_r.c: Likewise.
77912         * nscd/nscd_getserv_r.c: Likewise.
77913         * posix/getopt_init.c: Likewise.
77914         * posix/wordexp.c: Likewise.
77915         * stdio-common/_itoa.c: Likewise.
77916         * stdio-common/printf_fphex.c: Likewise.
77917         * stdio-common/vfprintf.c: Likewise.
77918         * string/_strerror.c: Likewise.
77919         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77920         * sysdeps/i386/i686/hp-timing.h: Likewise.
77921         * sysdeps/mach/_strerror.c: Likewise.
77922         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77923         * sysdeps/mach/hurd/sethostid.c: Likewise.
77924         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77925         * sysdeps/mach/xpg-strerror.c: Likewise.
77926         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77927         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77928         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77929         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77930         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77931         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77932         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77933         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77934         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77935         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77936         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77937         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77938         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77939         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77940         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77941         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77942         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77943         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77944         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77945         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77946         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77948         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77950         * stdio-common/_itoa.h: Moved to ...
77951         * sysdeps/generic/_itoa.h: Here.
77953         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77955         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77956         instead of "_itoa.h" and "_itowa.h".
77957         * stdio-common/vfprintf.: Likewise.
77959 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77961         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77962         <bits/wordsize.h>.
77963         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77964         (__signbit): Likewise.
77965         (llrintf): Likewise.
77966         (llrint): Likewise.
77968 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77970         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77971         __WORDSIZE != 64.
77973 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77975         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77976         OVERFLOW_EXCEPTION_OK.
77977         * math/libm-test.inc ("Philosophy"): Update comment about
77978         exception testing.
77979         (OVERFLOW_EXCEPTION): Define.
77980         (OVERFLOW_EXCEPTION_OK): Likewise.
77981         (INVALID_EXCEPTION_OK): Renumber.
77982         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77983         (IGNORE_ZERO_INF_SIGN): Likewise.
77984         (test_exceptions): Handle FE_OVERFLOW.
77985         (exp10_test): Expect overflow exceptions.
77986         (exp2_test): Likewise.
77987         (expm1_test): Likewise.
77988         (nextafter_test): Likewise.
77989         (pow_test): Likewise.
77990         (scalbn_test): Likewise.
77991         (scalbln_test): Likewise.
77993 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77995         * sysdeps/x86_64/bits/atomic.h
77996         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77997         64bit integer.
77998         (atomic_exchange_acq): Likewise.
77999         (__arch_exchange_and_add_body): Likewise.
78000         (__arch_add_body): Likewise.
78001         (atomic_add_negative): Likewise.
78002         (atomic_add_zero): Likewise.
78004 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78006         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78007         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78009 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78011         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78012         Check __x86_64__ instead of __WORDSIZE.
78014 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78016         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78018 2012-03-19  David S. Miller  <davem@davemloft.net>
78020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78022         * sysdeps/sparc/fpu/fenv_private.h: New file.
78023         * sysdeps/sparc/fpu/math_private.h: Use it.
78024         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78025         Remove.
78026         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78027         (libc_feholdexcept_setroundl): Remove.
78028         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78029         Remove.
78030         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78031         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78033 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78035         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78036         int64_t instead of long int.
78037         (INSERT_WORDS64): Likewise.
78039 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78041         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78042         _Unwind_GetCFA return to _Unwind_Ptr first.
78044 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78046         [BZ #13629]
78047         * math/s_clog.c: Include <float.h>.
78048         (__clog): Scale large or subnormal inputs.
78049         * math/s_clogf.c: Likewise.
78050         * math/s_clogl.c: Likewise.
78051         * math/s_clog10.c: Include <float.h>.
78052         (M_LOG10_2): Define.
78053         (__clog10): Scale large or subnormal inputs.
78054         * math/s_clog10f.c: Likewise.
78055         * math/s_clog10l.c: Likewise.
78056         * math/libm-test.inc (clog_test): Add more tests.
78057         (clog10_test): Likewise.
78058         * sysdeps/i386/fpu/libm-test-ulps: Update.
78059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78061         [BZ #11451]
78062         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78063         x and y.
78064         * math/libm-test.inc (atan2_test): Add another test.
78066         * Makerules (common-objdir-compile): Remove.
78067         * sysdeps/unix/Makefile (config-generated): Do not add
78068         $(unix-generated) to variable.
78069         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78070         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78071         Remove rule.
78072         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78073         Likewise.
78074         [generic bits/local_lim.h] (before-compile): Do not append to
78075         variable.
78076         [generic bits/local_lim.h] (common-generated): Likewise.
78077         [generic sys/param.h] (before-compile): Do not append to variable.
78078         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78079         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78080         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78081         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78082         include.
78083         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78084         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78085         [generic sys/param.h] ($(addprefix
78086         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78087         [generic sys/param.h] (common-generated): Do not append to
78088         variable.
78089         [generic sys/param.h] (sysdep_headers): Likewise.
78090         [generic bits/errno.h] (before-compile): Do not append to
78091         variable.
78092         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78093         rule.
78094         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78095         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78096         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78097         [generic bits/errno.h] (common-generated): Do not append to
78098         variable.
78099         [generic bits/ioctls.h] (before-compile): Do not append to
78100         variable.
78101         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78102         rule.
78103         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78104         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78105         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78106         rule.
78107         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78108         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78109         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78110         [generic bits/ioctls.h] (common-generated): Do not append to
78111         variable.
78112         [generic sys/syscall.h] (syscall.h): Remove variable.
78113         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78114         rule.
78115         [generic sys/syscall.h] (before-compile): Do not append to
78116         variable.
78117         [generic sys/syscall.h] (common-generated): Likewise.
78118         * sysdeps/unix/errnos-tmpl.c: Remove file.
78119         * sysdeps/unix/errnos.awk: Likewise.
78120         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78121         * sysdeps/unix/ioctls.awk: Likewise.
78122         * sysdeps/unix/mk-local_lim.c: Likewise.
78123         * sysdeps/unix/snarf-ioctls: Likewise.
78125 2012-03-19  Richard Henderson  <rth@twiddle.net>
78127         * sysdeps/i386/fpu/fenv_private.h: New file.
78128         * sysdeps/i386/fpu/math_private.h: Use it.
78129         (math_opt_barrier, math_force_eval): Remove.
78130         (libc_feholdexcept_setround_53bit): Remove.
78131         (libc_feupdateenv_53bit): Remove.
78132         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78133         (math_opt_barrier, math_force_eval): Remove.
78134         (libc_feholdexcept): Remove.
78135         (libc_feholdexcept_setround): Remove.
78136         (libc_fetestexcept, libc_fesetenv): Remove.
78137         (libc_feupdateenv_test): Remove.
78138         (libc_feupdateenv, libc_feholdsetround): Remove.
78139         (libc_feresetround): Remove.
78141         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78142         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78144         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78145         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78146         (libc_feupdateenv_testl): New.
78147         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78148         (libc_feupdateenv_testf): New.
78149         (libc_feupdateenv): Use libc_feupdateenv_test.
78150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78151         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78153         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78154         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78155         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78156         (libc_feresetround_noex): New.
78157         (libc_feresetround_noexf): New.
78158         (libc_feresetround_noexl): New.
78159         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78160         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78161         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78162         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78163         SET_RESTORE_ROUND.
78164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78165         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78166         (__cos): Likewise.
78167         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78168         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78169         SET_RESTORE_ROUND_NOEX.
78170         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78171         SET_RESTORE_ROUND_NOEXF.
78172         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78173         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78174         (libc_feholdsetroundf): New.
78175         (libc_feresetround, libc_feresetroundf): New.
78177         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78178         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78179         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78181         * sysdeps/generic/math_private.h: Include <fenv.h>.
78182         (default_libc_feholdexcept): New.
78183         (default_libc_feholdexcept_setround): New.
78184         (default_libc_fesetenv, default_libc_feupdateenv): New.
78185         (libc_feholdexcept): Only define if undefined.
78186         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78187         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78188         (libc_feholdexcept_setroundl): Likewise.
78189         (libc_feholdexcept_setround_53bit): Likewise.
78190         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78191         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78192         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78193         (libc_feupdateenv_53bit): Likewise.
78194         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78195         (libc_feholdexcept): Convert from macro to inline function.
78196         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78197         (libc_fesetenv, libc_feupdateenv): Likewise.
78199         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78200         not previously defined.
78201         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78202         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78203         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78204         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78205         * sysdeps/ieee754/flt-32/math_private.h: New file.
78206         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78207         math_private.h below SET_FLOAT_WORD.
78208         (__isnan, __isinf_ns, __finite): Remove.
78209         (__isnanf, __isinf_nsf, __finitef): Remove.
78211 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78215 2012-03-17  David S. Miller  <davem@davemloft.net>
78217         [BZ #6471]
78218         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78219         for 2.16.
78221 2012-03-16  David S. Miller  <davem@davemloft.net>
78223         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78224         warnings.
78226         [BZ #6471]
78227         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78228         properly.
78229         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78230         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78231         sysdep_routines when subdir is sysvipc.
78232         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78233         __getshmlba helper.
78235         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78237 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78239         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78240         [__LP64__].
78242 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78244         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78245         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78246         (__lround): Renamed to ...
78247         (__llround): This.  Replace long int with long long int.
78248         Define lround functions as aliases of llround functions.
78249         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78253         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78254         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78255         adresses to uintptr_t.  Replace "long int" and "unsigned long
78256         int" with "greg_t" on va_arg.
78258 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78260         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78261         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78263         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78264         Move e_machine check before EI_CLASS check.  Handle x32
78265         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78266         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78267         SKIP_EM_IA_64 and include
78268         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78270         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78271         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78272         (add_system_dir): New macro.
78274         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78275         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78277 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78279         [BZ #2551]
78280         [BZ #2552]
78281         [BZ #2553]
78282         [BZ #2554]
78283         [BZ #2562]
78284         [BZ #2563]
78285         [BZ #2565]
78286         [BZ #2566]
78287         [BZ #2576]
78288         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78289         (y0): Likewise.
78290         * math/w_j0f.c (j0f): Likewise.
78291         (y0f): Likewise.
78292         * math/w_j0l.c (__j0l): Likewise.
78293         (__y0l): Likewise.
78294         * math/w_j1.c (j1): Likewise.
78295         (y1): Likewise.
78296         * math/w_j1f.c (j1f): Likewise.
78297         (y1f): Likewise.
78298         * math/w_j1l.c (__j1l): Likewise.
78299         (__y1l): Likewise.
78300         * math/w_jn.c (jn): Likewise.
78301         (yn): Likewise.
78302         * math/w_jnf.c (jnf): Likewise.
78303         (ynf): Likewise.
78304         * math/w_jnl.c (__jnl): Likewise.
78305         (__ynl): Likewise.
78306         * math/libm-test.inc (j0_test): Add more tests.
78307         (j1_test): Likewise.
78308         (jn_test): Likewise.  Add trailing semicolon to existing test.
78309         (y0_test): Likewise.
78310         (y1_test): Likewise.
78311         * sysdeps/i386/fpu/libm-test-ulps: Update.
78312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78314         [BZ #13851]
78315         [BZ #13854]
78316         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78317         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78318         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78319         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78320         (__tanl): Set errno for infinite argument.
78321         * sysdeps/i386/fpu/mptan.c: Remove.
78322         * sysdeps/i386/fpu/s_tan.S: Likewise.
78323         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78324         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78325         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78326         * math/libm-test.inc (tan_test): Add more tests and enable more
78327         tests for double and long double.
78328         * sysdeps/i386/fpu/libm-test-ulps: Update.
78329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78331 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78333         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78334         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78336 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78338         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78339         * configure.in: Use it for both main tree and add-ons.
78340         * configure: Regenerated.
78342 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78344         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78346 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78348         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78349         in comment.
78351         [BZ #13851]
78352         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78353         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78356         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78357         infinite argument.
78358         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78359         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78360         != 0 for prec == 2.
78361         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78362         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78363         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78364         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78365         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78366         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78367         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78368         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78369         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78370         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78371         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78372         * math/libm-test.inc (cos_test): Add more tests and enable more
78373         tests for long double.
78374         (sin_test): Likewise.
78375         (sincos_test): Likewise.
78376         * sysdeps/i386/fpu/libm-test-ulps: Update.
78377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78379 2012-03-16  David S. Miller  <davem@davemloft.net>
78381         * sysdeps/sparc/fpu/math_private.h: New file.
78383 2012-03-15  David S. Miller  <davem@davemloft.net>
78385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78386         file.
78387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78389         file.
78390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78395         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78396         sysdep routines.
78397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78399         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78400         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78402         * sysdeps/sparc/sparc-ifunc.h: New file.
78403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78404         sparc-ifunc.h
78405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78407         Likewise.
78408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78409         Likewise.
78410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78414         Likewise.
78415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78420         Likewise.
78421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78422         Likewise.
78423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78427         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78429         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78430         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78438         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78439         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78441         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78442         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78443         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78444         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78445         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78446         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78448 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78450         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78451         scaling.
78452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78454 2012-03-15  Andreas Jaeger  <aj@suse.de>
78456         [BZ #13852]
78457         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78458         ieee754/flt-32 implementation for sin, cos and sincos.
78459         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78460         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78461         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78462         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78463         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78464         ieee754/flt-32 implementation for tan.
78466         * math/libm-test.inc (cos_test): Enable some large input tests for
78467         float as well
78468         (sin_test): Likewise.
78469         (sincos_test): Likewise.
78470         (tan_test): Add tests for large input.
78472         * sysdeps/i386/fpu/libm-test-ulps: Update.
78474 2012-03-15  Andreas Jaeger  <aj@suse.de>
78476         [BZ #13658]
78477         * math/libm-test.inc (cos_test): Add more test cases.
78478         (sin_test): Likewise.
78479         (sincos_test): Likewise.
78481 2012-03-15  Andreas Jaeger  <aj@suse.de>
78483         [BZ #13837]
78484         * math/libm-test.inc (cos_test): Add a test case for large input
78485         value.
78486         (sin_test): Likewise.
78487         (sincos_test): Likewise.
78489 2012-03-15  Andreas Jaeger  <aj@suse.de>
78490             Joseph Myers  <joseph@codesourcery.com>
78492         [BZ #13658]
78493         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
78494         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
78495         * sysdeps/i386/fpu/branred.c: Likewise.
78496         * sysdeps/i386/fpu/dosincos.c: Likewise.
78497         * sysdeps/i386/fpu/mpa.c: Likewise.
78498         * sysdeps/i386/fpu/s_cos.S: Likewise.
78499         * sysdeps/i386/fpu/s_sin.S: Likewise.
78500         * sysdeps/i386/fpu/s_sincos.S: Likewise.
78501         * sysdeps/i386/fpu/sincos32.c: Likewise.
78503         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
78504         Define.
78505         (libc_feupdateenv_53bit): Define.
78506         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
78507         Define.
78508         (libc_feupdateenv_53bit): Define.
78510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
78511         53 bit (without extend i386 double precision).
78513         * math/libm-test.inc (sincos_test): Add tests for large input.
78514         (sin): Likewise.
78515         (cos): Likewise.
78517         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
78519 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78523 2012-03-15  David S. Miller  <davem@davemloft.net>
78525         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
78526         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
78527         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
78528         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
78529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
78530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
78531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
78532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
78533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
78534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
78535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
78536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
78537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
78538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
78539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
78540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
78541         file.
78542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
78543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
78544         file.
78545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
78546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
78547         file.
78548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
78549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
78550         file.
78551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
78552         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
78553         fmin/fmax sysdep routines.
78554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78556 2012-03-14  David S. Miller  <davem@davemloft.net>
78558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
78559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
78560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
78561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
78562         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
78563         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
78564         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
78565         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
78566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
78567         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
78568         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
78569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
78570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
78571         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
78572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
78573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
78574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
78575         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
78576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
78577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
78578         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
78579         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
78580         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
78581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
78582         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
78583         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
78584         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
78585         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
78586         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
78587         routines.
78588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
78589         file.
78590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
78591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
78592         file.
78593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
78594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
78595         file.
78596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
78597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
78598         file.
78599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
78600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
78601         file.
78602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
78603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
78604         file.
78605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
78606         file.
78607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
78608         file.
78609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
78610         file.
78611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
78612         New file.
78613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
78614         file.
78615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
78616         file.
78617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
78618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
78619         file.
78620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
78621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
78622         file.
78623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
78624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
78625         file.
78626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
78627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
78628         VIS3 routines.
78630         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
78631         New file.
78633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78635         * sysdeps/sparc/configure.in: New file.
78636         * sysdeps/sparc/configure: Generate.
78637         * configure.in (libc_cv_sparc_as_vis3): Substitute.
78638         * configure: Regenerate.
78639         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
78640         * config.make.in (have-as-vis3): New.
78641         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
78642         available use -Av9d instead of -Av9a.
78643         * sysdeps/sparc/sparc64/Makefile: Likewise.
78644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
78645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
78646         New file.
78647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
78648         file.
78649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
78650         New file.
78651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
78652         file.
78653         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
78654         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78655         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78656         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78659         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78660         fzeros/fnegs to load 0x80000000 into a float register instead of
78661         using the stack.
78662         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78664 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78667         bits/syscall.h.
78668         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78669         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78670         ($(inst_includedir)/bits/syscall.h): Remove rule.
78671         ($(objpfx)bits/syscall.d): Include instead of
78672         $(objpfx)syscall-list.d.
78673         (generated): Change syscall-list.h and syscall-list.d to
78674         bits/syscall.h and bits/syscall.d.
78676 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78678         [BZ #13846]
78679         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78681 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78683         [BZ #13841]
78684         * math/s_csqrt.c: Include <float.h>.
78685         (__csqrt): Scale large or subnormal inputs.
78686         * math/s_csqrtf.c: Likewise.
78687         * math/s_csqrtl.c: Likewise.
78688         * math/libm-test.inc (csqrt_test): Add more tests.
78689         * sysdeps/i386/fpu/libm-test-ulps: Update.
78690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78692         [BZ #13840]
78693         * math/libm-test.inc (hypot_test): Add more tests.
78695 2012-03-13  David S. Miller  <davem@davemloft.net>
78697         [BZ #13840]
78698         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78699         double-precision for the calculation instead of scaling.
78701 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78703         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78704         manipulate bits before adding and subtracting TWO52[sx].
78705         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78706         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78707         Likewise.
78708         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78710 2012-03-13  David S. Miller  <davem@davemloft.net>
78712         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78713         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78714         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78715         rtld-global-offsets.h
78716         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78718         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78719         large parameters.
78721         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78723         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78724         'err' in the ifdef scope in which it is actually used.
78726         * nss/nss_db/db-init.c: Include string.h
78728 2012-03-12  David S. Miller  <davem@davemloft.net>
78730         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78731         masking out of the most significant byte of random value used.
78732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78733         Fix coding style in previous change.
78735         * sysdeps/unix/sysv/linux/kernel-features.h
78736         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78737         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78738         expression.
78739         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78740         later.
78742 2012-03-11  David S. Miller  <davem@davemloft.net>
78744         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78745         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78746         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78747         for 'resultvar' otherwise things get truncated on 64-bit.
78749         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78750         Fix masking out of the most significant byte of random value used.
78752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78754 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78758 2012-03-09  David S. Miller  <davem@davemloft.net>
78760         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78761         variables with appropriate CPP guards.
78762         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78763         from the frame pointer, not the stack pointer.  Correct layout
78764         comments.  Fix test on resulting framesize and the management of
78765         the outregs buffer for pltexit.  Preserve floating point return
78766         values across _dl_call_pltexit call.
78767         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78768         framesize and the management of the outregs buffer for pltexit.
78769         Preserve floating point return values across _dl_call_pltexit
78770         call.
78771         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78772         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78773         (la_sparc64_gnu_pltexit): New functions.
78774         (print_exit): Fix format string for return register value.
78776 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78778         * sunrpc/Makefile (others): Add rpcgen.
78779         ($(objpfx)rpcgen): Remove special build rule and dependency on
78780         libc.
78781         * sunrpc/rpcgen.c: New file.
78783 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78785         [BZ #13673]
78786         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78787         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78788         * sysdeps/i386/crti.S: Likewise.
78789         * sysdeps/i386/crtn.S: Likewise.
78790         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78791         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78792         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78793         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78794         * sysdeps/sh/crti.S: Likewise.
78795         * sysdeps/sh/crtn.S: Likewise.
78796         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78798         [BZ #13673]
78799         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78800         with URL.
78801         * locale/programs/locfile-kw.gperf: Likewise.
78802         * locale/programs/charmap-kw.h: Regenerated.
78803         * locale/programs/locfile-kw.h: Likewise.
78805         [BZ #13673]
78806         * intl/plural.y: Replace FSF snail mail address with URL.
78807         * intl/plural.c: Regenerated.
78809 2012-03-09  Richard Henderson  <rth@twiddle.net>
78811         * include/math_private.h: Remove file.
78812         * math/math_private.h: Move file ...
78813         * sysdeps/generic/math_private.h: ... here.
78815         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78816         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78817         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78819         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78820         and <math_private.h>.
78821         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78822         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78823         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78824         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78825         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78826         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78827         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78828         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78829         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78830         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78831         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78832         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78833         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78834         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78835         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78836         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78837         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78838         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78839         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78840         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78841         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78842         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78843         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78845         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78846         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78847         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78848         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78849         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78850         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78851         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78852         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78853         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78854         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78855         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78856         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78857         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78858         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78859         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78860         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78861         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78862         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78863         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78864         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78865         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78866         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78867         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78868         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78869         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78870         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78871         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78872         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78873         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78874         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78875         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78876         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78877         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78878         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78879         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78880         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78881         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78882         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78884         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78885         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78886         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78887         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78888         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78889         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78890         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78891         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78892         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78893         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78894         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78895         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78896         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78897         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78899         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78900         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78901         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78902         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78903         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78904         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78905         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78906         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78907         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78908         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78909         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78910         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78911         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78912         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78913         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78914         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78915         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78916         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78917         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78918         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78919         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78920         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78921         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78922         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78923         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78924         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78925         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78926         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78927         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78928         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78929         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78930         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78931         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78932         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78933         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78934         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78935         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78936         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78937         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78938         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78939         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78940         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78941         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78942         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78943         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78944         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78945         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78946         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78947         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78948         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78949         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78950         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78951         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78952         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78953         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78954         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78955         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78956         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78957         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78958         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78959         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78960         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78961         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78962         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78963         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78964         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78965         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78966         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78967         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78968         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78969         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78970         * sysdeps/ieee754/k_standard.c: Likewise.
78971         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78972         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78973         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78974         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78975         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78976         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78977         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78978         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78979         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78980         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78981         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78983         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78984         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78985         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78986         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78987         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78988         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78989         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78990         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78991         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78992         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78993         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78994         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78995         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78996         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78997         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78998         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78999         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79000         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79001         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79002         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79003         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79004         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79005         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79006         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79007         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79008         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79009         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79010         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79011         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79012         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79013         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79014         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79015         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79016         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79017         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79018         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79019         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79020         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79021         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79022         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79023         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79024         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79025         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79026         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79027         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79028         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79029         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79030         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79031         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79032         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79033         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79034         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79035         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79036         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79037         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79038         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79039         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79040         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79041         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79043         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79044         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79045         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79046         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79047         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79048         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79049         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79050         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79051         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79052         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79053         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79054         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79055         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79056         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79057         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79058         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79059         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79060         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79061         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79062         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79063         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79064         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79065         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79066         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79067         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79068         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79069         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79070         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79072         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79073         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79074         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79075         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79076         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79077         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79078         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79079         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79080         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79081         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79082         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79083         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79084         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79085         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79086         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79087         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79088         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79089         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79090         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79091         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79092         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79093         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79094         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79095         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79096         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79097         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79098         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79099         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79100         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79101         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79102         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79103         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79104         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79105         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79106         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79107         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79108         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79109         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79110         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79111         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79112         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79113         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79114         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79115         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79116         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79117         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79118         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79119         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79120         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79121         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79122         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79123         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79124         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79125         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79126         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79127         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79128         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79129         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79130         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79131         * sysdeps/ieee754/s_lib_version.c: Likewise.
79132         * sysdeps/ieee754/s_matherr.c: Likewise.
79133         * sysdeps/ieee754/s_signgam.c: Likewise.
79134         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79135         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79136         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79137         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79138         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79139         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79140         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79141         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79142         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79143         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79144         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79145         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79146         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79147         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79148         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79149         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79150         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79151         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79152         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79153         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79154         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79156 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79158         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79159         * sunrpc/rpc_main.c: Likewise.
79160         * sunrpc/rpc_svcout.c: Likewise.
79162 2012-03-09  David S. Miller  <davem@davemloft.net>
79164         * include/math_private.h: New file.
79166 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79168         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79169         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79170         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79171         from <bits/socket_type.h>.
79172         (enum __socket_type): Don't define here.
79173         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79175         bits/socket_type.h.
79177         [BZ #13566]
79178         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79179         checking __USE_GNU.
79181         * Makerules ($(inst_includedir)/%.h): New rule.
79182         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79183         (install-others): Remove variable setting.
79184         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79186 2012-03-08  Richard Henderson  <rth@twiddle.net>
79188         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79189         from macro to inline function; merge with the
79190         !__LIBC_INTERNAL_MATH_INLINES version.
79191         (__ieee754_sqrtf): Likewise.
79193         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79194         to inline function.
79195         (__rintf, __floor, __floorf): Likewise.
79197         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79198         macro to inline function.
79199         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79201         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79202         not <math/math_private.h>.
79204 2012-03-08  David S. Miller  <davem@davemloft.net>
79206         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79207         copyright year.
79208         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79210 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79212         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79213         normalization.
79214         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79215         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79217 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79219         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79220         be defined individually, they must be defined as a block.  Define
79221         S for printing a string instead of hidint the different by using a
79222         macro for adding the 'l'.
79223         * stdio-common/tst-fphex-wide.c: Adjust.
79225 2012-03-07  Marek Polacek  <polacek@redhat.com>
79227         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79229 2012-03-08  Marek Polacek  <polacek@redhat.com>
79231         [BZ #13806]
79232         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79233         * stdio-common/tst-fphex.c: Define a few macros to make the
79234         test reusable.  Use them.
79235         * stdio-common/tst-fphex-wide.c: New file.
79237 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79239         [BZ #6911]
79240         * manual/macros.texi (gnusystems): New macro.
79241         (nongnusystems): Likewise.
79242         (gnulinuxhurdsystems): Likewise.
79243         (gnuhurdsystems): Likewise..
79244         (gnulinuxsystems): Likewise.
79245         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79246         variants of the GNU system, not "GNU system".
79247         * manual/conf.texi: Likewise.
79248         * manual/errno.texi: Likewise.  Update example of errno macro
79249         expansion.
79250         * manual/filesys.texi: Likewise.
79251         (getumask): Document as specific to GNU/Hurd.
79252         * manual/install.texi: Likewise.  Reword some references to
79253         GNU/Linux.
79254         * manual/intro.texi: Likewise.
79255         * manual/io.texi: Likewise.
79256         (File Name Portability): Detail which constraints are inapplicable
79257         to all GNU systems and which are only inapplicable to GNU/Hurd.
79258         * manual/job.texi: Likewise.
79259         * manual/llio.texi: Likewise.
79260         (O_NOCTTY): Document as present on GNU/Linux.
79261         * manual/maint.texi: Likewise.
79262         * manual/memory.texi: Likewise.
79263         * manual/pattern.texi: Likewise.
79264         * manual/pipe.texi: Likewise.
79265         * manual/process.texi: Likewise.
79266         * manual/resource.texi: Likewise.
79267         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79268         child on GNU/Hurd.
79269         * manual/setjmp.texi: Likewise.
79270         * manual/signal.texi: Likewise.
79271         * manual/startup.texi: Likewise.
79272         * manual/stdio.texi: Likewise.
79273         * manual/terminal.texi: Likewise.
79274         (ONLCR): Document as POSIX.
79275         (OXTABS): Document availability on GNU/Linux as XTABS.
79276         (ONOEOT): Document availability separately from other bits.
79277         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79278         * manual/time.texi: Likewise.
79279         * manual/users.texi: Likewise.
79280         * INSTALL: Regenerated.
79281         * sysdeps/gnu/errlist.c: Regenerated.
79283         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79284         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79285         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79286         puts.
79287         * configure: Regenerated.
79289 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79291         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79292         default includes instead of AC_HEADER_CHECK.
79293         * sysdeps/i386/configure: Regenerated.
79295         [BZ #10716]
79296         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79297         * math/s_cacoshf.c (__cacoshf): Likewise.
79298         * math/s_cacoshl.c (__cacoshl): Likewise.
79299         * math/s_casinh.c (__casinh): Set signs of result from argument.
79300         * math/s_casinhf.c (__casinhf): Likewise.
79301         * math/s_casinhl.c (__casinhl): Likewise.
79302         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79303         (casinh_test): Add more tests.
79304         * sysdeps/i386/fpu/libm-test-ulps: Update.
79305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79307 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79309         * po/zh_TW.po: Update from translation team.
79311         * login/Makefile (distribute): Remove variable.
79312         * catgets/Makefile: Likewise.
79313         * mach/Makefile: Likewise.
79314         * malloc/Makefile: Likewise.
79315         * misc/Makefile: Likewise.
79316         * iconv/Makefile: Likewise.
79317         * nscd/Makefile: Likewise.
79318         * hurd/Makefile: Likewise.
79319         * manual/Makefile: Likewise.
79320         * locale/Makefile: Likewise.
79321         * intl/Makefile: Likewise.
79322         * conform/Makefile: Likewise.
79323         * nss/Makefile: Likewise.
79324         * time/Makefile: Likewise.
79325         * soft-fp/Makefile: Likewise.
79326         * dirent/Makefile: Likewise.
79327         * gmon/Makefile: Likewise.
79328         * po/Makefile: Likewise.
79329         * rt/Makefile: Likewise.
79330         * socket/Makefile: Likewise.
79331         * math/Makefile: Likewise.
79332         * signal/Makefile: Likewise.
79333         * debug/Makefile: Likewise.
79334         * elf/Makefile: Likewise.
79335         * timezone/Makefile: Likewise.
79336         * stdlib/Makefile: Likewise.
79337         * iconvdata/Makefile: Likewise.
79338         * sunrpc/Makefile: Likewise.
79339         * io/Makefile: Likewise.
79340         * argp/Makefile: Likewise.
79341         * inet/Makefile: Likewise.
79342         * hesiod/Makefile: Likewise.
79343         * grp/Makefile: Likewise.
79344         * csu/Makefile: Likewise.
79345         * wctype/Makefile: Likewise.
79346         * crypt/Makefile: Likewise.
79347         * libio/Makefile: Likewise.
79348         * string/Makefile: Likewise.
79349         * nis/Makefile: Likewise.
79350         * resolv/Makefile: Likewise.
79351         * stdio-common/Makefile: Likewise.
79352         * wcsmbs/Makefile: Likewise.
79353         * dlfcn/Makefile: Likewise.
79354         * posix/Makefile: Likewise.
79356         [BZ #6959]
79357         * timezone/Makefile: Don't install timezone files, just the programs
79358         and scripts.
79360 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79362         * nss/databases.def: Add missing gshadow entry.
79364         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79366 2012-03-06  Marek Polacek  <polacek@redhat.com>
79368         [BZ #13726]
79369         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79370         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79371         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79372         * stdio-common/tst-long-dbl-fphex.c: New file.
79374 2012-03-06  David S. Miller  <davem@davemloft.net>
79376         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79377         (set_obp_int): New function.
79378         (get_obp_int): New function.
79379         (__get_clockfreq_via_dev_openprom): Likewise.
79380         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79381         Avoid unused variable warnings on 'val' and use builtin_expect.
79382         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79383         __builtin_expect.
79384         (INLINE_CLONE_SYSCALL): Likewise.
79386 2012-03-05  David S. Miller  <davem@davemloft.net>
79388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79390 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79394         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79395         only for |x| >= 40.
79396         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79398 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79400         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79401         Replace gettimeofday with __vdso_gettimeofday.
79403         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79404         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79405         __vdso_clock_gettime and __vdso_getcpu.
79407         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79408         time with __vdso_time.
79410 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79412         * manual/lang.texi (size_t): Note types to which size_t may be
79413         equivalent with the GNU C Library, but do not describe when
79414         differences between them are significant.
79416 2012-03-05  Andreas Jaeger  <aj@suse.de>
79418         * sysdeps/i386/fpu/libm-test-ulps: Update.
79420 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79422         [BZ #3976]
79423         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79424         (__ieee754_pow): Save and restore rounding mode and use
79425         round-to-nearest for main computations.
79426         * math/libm-test.inc (pow_test_tonearest): New function.
79427         (pow_test_towardzero): Likewise.
79428         (pow_test_downward): Likewise.
79429         (pow_test_upward): Likewise.
79430         (main): Call the new functions.
79431         * sysdeps/i386/fpu/libm-test-ulps: Update.
79432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79434         [BZ #3976]
79435         * math/libm-test.inc (cosh_test_tonearest): New function.
79436         (cosh_test_towardzero): Likewise.
79437         (cosh_test_downward): Likewise.
79438         (cosh_test_upward): Likewise.
79439         (sinh_test_tonearest): Likewise.
79440         (sinh_test_towardzero): Likewise.
79441         (sinh_test_downward): Likewise.
79442         (sinh_test_upward): Likewise.
79443         (main): Call the new functions.
79444         * sysdeps/i386/fpu/libm-test-ulps: Update.
79445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79447 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79449         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79450         default stack guard is set in last bytes.
79451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79453 2012-03-05  Kees Cook  <keescook@chromium.org>
79455         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79457         [BZ #13656]
79458         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79459         possibly allocate from heap instead of stack.
79460         * stdio-common/bug-vfprintf-nargs.c: New file.
79461         * stdio-common/Makefile (tests): Add nargs overflow test.
79463 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79467 2012-03-03  Marek Polacek  <polacek@redhat.com>
79469         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79470         * math/math_private.h: Likewise.
79471         * stdlib/tst-strtod.c: Likewise.
79472         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79473         * sysdeps/x86_64/bits/atomic.h: Likewise.
79475 2012-03-02  David S. Miller  <davem@davemloft.net>
79477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79481         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79482         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79483         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79484         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79486 2012-03-02  Roland McGrath  <roland@hack.frob.com>
79488         [BZ #13792]
79489         * manual/examples/README: New file, says the example source files
79490         can be used under GPL>=2.
79491         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
79492         line containing just "*/".
79493         * manual/examples/add.c: Add copyright header (GPL>=2).
79494         * manual/examples/argp-ex1.c: Likewise.
79495         * manual/examples/argp-ex2.c: Likewise.
79496         * manual/examples/argp-ex3.c: Likewise.
79497         * manual/examples/argp-ex4.c: Likewise.
79498         * manual/examples/atexit.c: Likewise.
79499         * manual/examples/db.c: Likewise.
79500         * manual/examples/dir.c: Likewise.
79501         * manual/examples/dir2.c: Likewise.
79502         * manual/examples/execinfo.c: Likewise.
79503         * manual/examples/filecli.c: Likewise.
79504         * manual/examples/filesrv.c: Likewise.
79505         * manual/examples/fmtmsgexpl.c: Likewise.
79506         * manual/examples/genpass.c: Likewise.
79507         * manual/examples/inetcli.c: Likewise.
79508         * manual/examples/inetsrv.c: Likewise.
79509         * manual/examples/isockad.c: Likewise.
79510         * manual/examples/longopt.c: Likewise.
79511         * manual/examples/memopen.c: Likewise.
79512         * manual/examples/memstrm.c: Likewise.
79513         * manual/examples/mkfsock.c: Likewise.
79514         * manual/examples/mkisock.c: Likewise.
79515         * manual/examples/mygetpass.c: Likewise.
79516         * manual/examples/pipe.c: Likewise.
79517         * manual/examples/popen.c: Likewise.
79518         * manual/examples/rprintf.c: Likewise.
79519         * manual/examples/search.c: Likewise.
79520         * manual/examples/select.c: Likewise.
79521         * manual/examples/setjmp.c: Likewise.
79522         * manual/examples/sigh1.c: Likewise.
79523         * manual/examples/sigusr.c: Likewise.
79524         * manual/examples/stpcpy.c: Likewise.
79525         * manual/examples/strdupa.c: Likewise.
79526         * manual/examples/strftim.c: Likewise.
79527         * manual/examples/strncat.c: Likewise.
79528         * manual/examples/subopt.c: Likewise.
79529         * manual/examples/swapcontext.c: Likewise.
79530         * manual/examples/termios.c: Likewise.
79531         * manual/examples/testopt.c: Likewise.
79532         * manual/examples/testpass.c: Likewise.
79533         * manual/examples/timeval_subtract.c: Likewise.
79535         [BZ #13792]
79536         * manual/time.texi (Elapsed Time): Move timeval_subtract example
79537         function to ...
79538         * manual/timeval_subtract.c.texi: ... here, new file.
79540 2012-03-02  David S. Miller  <davem@davemloft.net>
79542         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
79544 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
79546         [BZ #3976]
79547         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
79548         (__sin): Save and restore rounding mode and use round-to-nearest
79549         for all computations.
79550         (__cos): Save and restore rounding mode and use round-to-nearest
79551         for all computations.
79552         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
79553         <fenv.h>.
79554         (tan): Save and restore rounding mode and use round-to-nearest for
79555         all computations.
79556         * math/libm-test.inc (cos_test_tonearest): New function.
79557         (cos_test_towardzero): Likewise.
79558         (cos_test_downward): Likewise.
79559         (cos_test_upward): Likewise.
79560         (sin_test_tonearest): Likewise.
79561         (sin_test_towardzero): Likewise.
79562         (sin_test_downward): Likewise.
79563         (sin_test_upward): Likewise.
79564         (tan_test_tonearest): Likewise.
79565         (tan_test_towardzero): Likewise.
79566         (tan_test_downward): Likewise.
79567         (tan_test_upward): Likewise.
79568         (main): Call the new functions.
79569         * sysdeps/i386/fpu/libm-test-ulps: Update.
79570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79572         [BZ #10135]
79573         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
79574         small n, then large n, before computing and testing k+n.
79575         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
79576         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
79577         Likewise.
79578         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
79579         Likewise.
79580         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
79581         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
79582         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
79583         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
79584         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
79585         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
79586         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
79587         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
79588         * math/libm-test.inc (scalbn_test): Add more tests.
79589         (scalbln_test): Likewise.
79591         * manual/filesys.texi (mode_t): Describe constraints on size and
79592         signedness, not exact equivalence to a particular type.
79593         (ino_t): Likewise.
79594         (ino64_t): Likewise.
79595         (dev_t): Likewise.
79596         (nlink_t): Likewise.
79597         (blkcnt_t): Likewise.
79598         (blkcnt64_t): Likewise.
79599         * manual/llio.texi (off_t): Likewise.
79601         [BZ #3976]
79602         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
79603         (__ieee754_exp): Save and restore rounding mode and use
79604         round-to-nearest for all computations.
79605         * math/libm-test.inc (exp_test_tonearest): New function.
79606         (exp_test_towardzero): Likewise.
79607         (exp_test_downward): Likewise.
79608         (exp_test_upward): Likewise.
79609         (main): Call the new functions.
79610         * sysdeps/i386/fpu/libm-test-ulps: Update.
79611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79613 2012-03-01  Chris Demetriou  <cgd@google.com>
79615         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
79616         have predictable order.
79618 2012-03-01  David S. Miller  <davem@davemloft.net>
79620         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
79622         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
79623         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
79624         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
79625         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
79627         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
79628         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
79629         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
79630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
79631         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
79632         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
79633         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
79634         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
79635         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
79637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79639         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
79640         * sysdeps/sparc/fpu/libm-test-ulps: to here.
79641         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
79643         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
79644         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79645         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79646         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
79647         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79648         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
79649         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
79650         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79651         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79652         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
79653         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
79654         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79656         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79657         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79659         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79660         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79661         * sysdeps/sparc/elf/configure: Regenerated.
79663 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79665         * configure.in (AS, LD): Require binutils 2.20 or later.
79666         * configure: Regenerated.
79667         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79668         as required minimum version.
79669         * INSTALL: Regenerated.
79671         [BZ #2541]
79672         [BZ #4108]
79673         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79674         before squaring exponent.
79675         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79676         bottom long double and 27 bits of top long double before squaring
79677         exponent.
79678         * math/libm-test.inc (erfc_test): Add more tests.
79679         * sysdeps/i386/fpu/libm-test-ulps: Update.
79680         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79683 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79685         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79686         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79687         containing bit-fields.
79688         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79689         * soft-fp/single.h (_FP_UNION_S): Likewise.
79690         * soft-fp/double.h (_FP_UNION_D): Likewise.
79692 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79694         [BZ #13786]
79695         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79696         not include ../strcmp.S.
79697         [USE_AS_STRNCASECMP_L]: Likewise.
79698         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79699         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79700         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79701         (__strncasecmp_l_ia32): Define as alias to
79702         __strncasecmp_l_nonascii.
79704         [BZ #5794]
79705         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79706         * sysdeps/i386/fpu/libm-test-ulps: Update.
79707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79709         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79712 2012-02-29  Jeff Law  <law@redhat.com>
79714         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79715         out of bounds read.
79717 2012-02-29  Marek Polacek  <polacek@redhat.com>
79719         [BZ #13706]
79720         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79721         * elf/Makefile: Add rules to run tst-unused-dep.out.
79723 2012-02-28  David S. Miller  <davem@davemloft.net>
79725         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79726         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79727         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79728         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79729         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79730         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79732 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79734         * math/libm-test.inc (llround_test): Move one test from
79735         lround_test.  Use TEST_f_L in moved test.
79736         (lround_test): Move misplaced test to llround_test.  Add testcase
79737         from bug 2561.
79739 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79741         * sysdeps/x86_64/fpu/e_expf.S: New file.
79742         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79744 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79746         [BZ #13637]
79747         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79748         of remain_len that may cause incomplete multi-byte character and
79749         false match.
79750         * posix/bug-regex33.c: New file.
79751         * posix/Makefile (tests): Add bug-regex33.
79753 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79755         * manual/macros.texi: New file.
79756         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79757         * manual/libc.texinfo: Include macros.texi.
79758         * manual/creatute.texi: Likewise.
79759         * manual/install.texi: Likewise.
79760         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79761         @glibcadj{} in references to the GNU C Library.
79762         * manual/charset.texi: Likewise.
79763         * manual/conf.texi: Likewise.
79764         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79765         when not using those macros.
79766         * manual/creature.texi: Likewise.
79767         * manual/crypt.texi: Likewise.
79768         * manual/errno.texi: Likewise.
79769         * manual/filesys.texi: Likewise.
79770         * manual/header.texi: Likewise.
79771         * manual/install.texi: Likewise.
79772         * manual/intro.texi: Likewise.
79773         * manual/io.texi: Likewise.
79774         * manual/job.texi: Likewise.
79775         * manual/lang.texi: Likewise.
79776         * manual/libc.texiinfo: Likewise.
79777         * manual/llio.texi: Likewise.
79778         * manual/locale.texi: Likewise.
79779         * manual/maint.texi: Likewise.
79780         * manual/math.texi: Likewise.
79781         * manual/memory.texi: Likewise.
79782         * manual/message.texi: Likewise.
79783         * manual/nss.texi: Likewise.
79784         * manual/pattern.texi: Likewise.
79785         * manual/process.texi: Likewise.
79786         * manual/resource.texi: Likewise.
79787         * manual/search.texi: Likewise.
79788         * manual/setjmp.texi: Likewise.
79789         * manual/signal.texi: Likewise.
79790         * manual/socket.texi: Likewise.
79791         * manual/startup.texi: Likewise.
79792         * manual/stdio.texi: Likewise.
79793         * manual/string.texi: Likewise.
79794         * manual/sysinfo.texi: Likewise.
79795         * manual/syslog.texi: Likewise.
79796         * manual/terminal.texi: Likewise.
79797         * manual/time.texi: Likewise.
79798         * manual/users.texi: Likewise.
79799         * INSTALL: Regenerated.
79800         * NOTES: Regenerated.
79801         * sysdeps/gnu/errlist.c: Regenerated.
79803 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79805         * include/dirent.h: Include <dirstream.h> before
79806         <dirent/dirent.h>.
79808 2012-02-28  David S. Miller  <davem@davemloft.net>
79810         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79811         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79812         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79813         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79815 2012-02-27  David S. Miller  <davem@davemloft.net>
79817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79819         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79820         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79823         frame pointer instead of stack pointer relative arg slot.
79824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79825         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79826         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79828 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79830         [BZ #3992]
79831         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79833 2012-02-27  David S. Miller  <davem@davemloft.net>
79835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79839         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79840         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79841         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79842         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79844 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79846         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79847         later.  Allow versions 5-9.
79848         * configure: Regenerated.
79849         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79850         required minimum version and 4.6 as recommended version.  Do not
79851         mention bugs in GCC 2.7 and 2.8.
79852         * INSTALL: Regenerated.
79854 2012-02-27  David S. Miller  <davem@davemloft.net>
79856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79860         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79861         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79862         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79863         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79865         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79866         manipulate bits before adding and subtracting TWO112[sx].
79867         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79869 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79871         [BZ #13775]
79872         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79873         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79874         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79875         being in POSIX, because they are in 1003.1-2008.
79877         * rt/tst-aio.c: Include <fcntl.h>.
79878         * rt/tst-aio7.c: Likewise.
79879         * rt/tst-aio64.c: Likewise.
79881         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79883 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79885         * manual/install.texi (--with-headers): Describe headers as
79886         interface headers, not private headers.
79887         (Specific advice for GNU/Linux systems): Describe use of headers
79888         from "make headers_install", not private headers from older
79889         kernels.
79890         * INSTALL: Regenerated.
79891         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79892         Change to 2.6.19.
79893         * sysdeps/unix/sysv/linux/configure: Regenerated.
79895         * manual/llio.texi (fclean): Remove documentation.
79897         * manual/Makefile (libc-texi-generated): New variable.  Include
79898         version.texi.
79899         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79900         $(libc-texi-generated), not duplicated list of files.
79901         (version.texi, stamp-version): New rules.
79902         (realclean): Remove $(libc-texi-generated), not individual files
79903         from that list.  Do not remove dir-add.texinfo.
79904         * manual/libc.texinfo: Comment out uses of edition numbers and
79905         references to printed manual.  Remove last-updated dates.
79906         (EDITION): Comment out.
79907         (ISBN): Likewise.
79908         (VERSION, UPDATED): Remove.
79909         (version.texi): Include.
79911 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79913         * sysdeps/posix/spawni.c: Include <signal.h>.
79914         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79915         * sysdeps/pthread/aio_fsync.c: Likewise.
79917 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79919         * conform/Makefile (tests): Run only when not cross-compiling and
79920         when fast-check is not defined.
79922         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79923         * conform/data/limits.h-data: Fixes for POSIX2008.
79924         * conform/run-conformtest.sh: Run all tests.
79925         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79926         headers.
79927         * include/bits/dlfcn.h: Likewise.
79928         * include/langinfo.h: Likewise.
79929         * include/monetary.h: Likewise.
79930         * include/sys/poll.h: Likewise.
79932         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79933         for __USE_GNU.
79934         * posix/spawn.h: Define __need_sigset_t.
79935         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79936         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79937         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79938         to get sigevent_t only.
79939         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79940         only for __USE_GNU.
79941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79942         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79943         process_vm_writev only for __USE_GNU.
79944         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79946         * conform/Makefile: For now ignore errors from run-conformtest.
79947         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79948         POSIX to avoid namespace pollution.  Don't prepend headers.
79949         * conform/data/aio.h-data: Fixes for POSIX testing.
79950         * conform/data/fcntl.h-data: Likewise.
79951         * conform/data/glob.h-data: Likewise.
79952         * conform/data/grp.h-data: Likewise.
79953         * conform/data/pthread.h-data: Likewise.
79954         * conform/data/pwd.h-data: Likewise.
79955         * conform/data/signal.h-data: Likewise.
79956         * conform/data/spawn.h-data: Likewise.
79957         * conform/data/stdio.h-data: Likewise.
79958         * conform/data/stdlib.h-data: Likewise.
79959         * conform/data/stropts.h-data: Likewise.
79960         * conform/data/sys/mman.h-data: Likewise.
79961         * conform/data/sys/stat.h-data: Likewise.
79962         * conform/data/sys/types.h-data: Likewise.
79963         * conform/data/sys/wait.h-data: Likewise.
79964         * conform/data/time.h-data: Likewise.
79965         * conform/data/unistd.h-data: Likewise.
79966         * conform/data/utime.h-data: Likewise.
79968         * io/sys/stat.h: fchmod was always in POSIX.
79969         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79970         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79971         * rt/aio.h: Define __need_timespec before including <time.h>.
79972         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79973         struct.  Add forward declaration of pthread_attr_t and use it in
79974         sigevent.
79975         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79976         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79977         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79978         always remove CLK_TCK definition.
79980 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79982         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79984 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79986         * conform/run-conformtest.sh: New file.
79987         * conform/Makefile: Run run-conformtest for tests.
79988         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79989         support.
79991         * conform/data/uchar.h-data: New file.
79992         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79993         * conform/data/arpa/inet.h-data: Likewise.
79994         * conform/data/assert.h-data: Likewise.
79995         * conform/data/complex.h-data: Likewise.
79996         * conform/data/cpio.h-data: Likewise.
79997         * conform/data/ctype.h-data: Likewise.
79998         * conform/data/dirent.h-data: Likewise.
79999         * conform/data/dlfcn.h-data: Likewise.
80000         * conform/data/errno.h-data: Likewise.
80001         * conform/data/fcntl.h-data: Likewise.
80002         * conform/data/float.h-data: Likewise.
80003         * conform/data/fmtmsg.h-data: Likewise.
80004         * conform/data/fnmatch.h-data: Likewise.
80005         * conform/data/ftw.h-data: Likewise.
80006         * conform/data/glob.h-data: Likewise.
80007         * conform/data/grp.h-data: Likewise.
80008         * conform/data/iconv.h-data: Likewise.
80009         * conform/data/inttypes.h-data: Likewise.
80010         * conform/data/langinfo.h-data: Likewise.
80011         * conform/data/libgen.h-data: Likewise.
80012         * conform/data/limits.h-data: Likewise.
80013         * conform/data/locale.h-data: Likewise.
80014         * conform/data/math.h-data: Likewise.
80015         * conform/data/monetary.h-data: Likewise.
80016         * conform/data/mqueue.h-data: Likewise.
80017         * conform/data/ndbm.h-data: Likewise.
80018         * conform/data/net/if.h-data: Likewise.
80019         * conform/data/netdb.h-data: Likewise.
80020         * conform/data/netinet/in.h-data: Likewise.
80021         * conform/data/nl_types.h-data: Likewise.
80022         * conform/data/poll.h-data: Likewise.
80023         * conform/data/pthread.h-data: Likewise.
80024         * conform/data/pwd.h-data: Likewise.
80025         * conform/data/regex.h-data: Likewise.
80026         * conform/data/sched.h-data: Likewise.
80027         * conform/data/search.h-data: Likewise.
80028         * conform/data/semaphore.h-data: Likewise.
80029         * conform/data/setjmp.h-data: Likewise.
80030         * conform/data/signal.h-data: Likewise.
80031         * conform/data/spawn.h-data: Likewise.
80032         * conform/data/stdarg.h-data: Likewise.
80033         * conform/data/stdio.h-data: Likewise.
80034         * conform/data/stdlib.h-data: Likewise.
80035         * conform/data/string.h-data: Likewise.
80036         * conform/data/strings.h-data: Likewise.
80037         * conform/data/stropts.h-data: Likewise.
80038         * conform/data/sys/ipc.h-data: Likewise.
80039         * conform/data/sys/mman.h-data: Likewise.
80040         * conform/data/sys/msg.h-data: Likewise.
80041         * conform/data/sys/resource.h-data: Likewise.
80042         * conform/data/sys/select.h-data: Likewise.
80043         * conform/data/sys/sem.h-data: Likewise.
80044         * conform/data/sys/shm.h-data: Likewise.
80045         * conform/data/sys/socket.h-data: Likewise.
80046         * conform/data/sys/stat.h-data: Likewise.
80047         * conform/data/sys/statvfs.h-data: Likewise.
80048         * conform/data/sys/time.h-data: Likewise.
80049         * conform/data/sys/timeb.h-data: Likewise.
80050         * conform/data/sys/times.h-data: Likewise.
80051         * conform/data/sys/types.h-data: Likewise.
80052         * conform/data/sys/uio.h-data: Likewise.
80053         * conform/data/sys/un.h-data: Likewise.
80054         * conform/data/sys/utsname.h-data: Likewise.
80055         * conform/data/sys/wait.h-data: Likewise.
80056         * conform/data/syslog.h-data: Likewise.
80057         * conform/data/tar.h-data: Likewise.
80058         * conform/data/termios.h-data: Likewise.
80059         * conform/data/utime.h-data: Likewise.
80060         * conform/data/utmpx.h-data: Likewise.
80061         * conform/data/varargs.h-data: Likewise.
80062         * conform/data/wchar.h-data: Likewise.
80063         * conform/data/wctype.h-data: Likewise.
80064         * conform/data/wordexp.h-data: Likewise.
80066         * include/stropts.h: New file.
80067         * include/uchar.h: New file.
80068         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80069         * include/assert.h: Likewise.
80070         * include/ctype.h: Likewise.
80071         * include/dirent.h: Likewise.
80072         * include/dlfcn.h: Likewise.
80073         * include/fcntl.h: Likewise.
80074         * include/fnmatch.h: Likewise.
80075         * include/glob.h: Likewise.
80076         * include/grp.h: Likewise.
80077         * include/libio.h: Likewise.
80078         * include/locale.h: Likewise.
80079         * include/math.h: Likewise.
80080         * include/net/if.h: Likewise.
80081         * include/netdb.h: Likewise.
80082         * include/netinet/in.h: Likewise.
80083         * include/pthread.h: Likewise.
80084         * include/pwd.h: Likewise.
80085         * include/regex.h: Likewise.
80086         * include/sched.h: Likewise.
80087         * include/search.h: Likewise.
80088         * include/setjmp.h: Likewise.
80089         * include/signal.h: Likewise.
80090         * include/stdio.h: Likewise.
80091         * include/stdlib.h: Likewise.
80092         * include/string.h: Likewise.
80093         * include/sys/cdefs.h: Likewise.
80094         * include/sys/mman.h: Likewise.
80095         * include/sys/msg.h: Likewise.
80096         * include/sys/resource.h: Likewise.
80097         * include/sys/select.h: Likewise.
80098         * include/sys/socket.h: Likewise.
80099         * include/sys/stat.h: Likewise.
80100         * include/sys/statvfs.h: Likewise.
80101         * include/sys/time.h: Likewise.
80102         * include/sys/times.h: Likewise.
80103         * include/sys/uio.h: Likewise.
80104         * include/sys/utsname.h: Likewise.
80105         * include/sys/wait.h: Likewise.
80106         * include/termios.h: Likewise.
80107         * include/time.h: Likewise.
80108         * include/ulimit.h: Likewise.
80109         * include/unistd.h: Likewise.
80110         * include/utime.h: Likewise.
80111         * include/wchar.h: Likewise.
80112         * include/wctype.h: Likewise.
80113         * include/wordexp.h: Likewise.
80115         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80117         * time/time.h: TIME_UTC must be a macro.
80118         Make timespec_get available for ISO C11 only as well.
80120 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80122         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80123         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80125 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80127         * configure.in: Use -o not -a in test for unsupported multi-arch.
80129 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80131         * manual/texinfo.tex: Update to version 2012-01-19.16.
80133 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80135         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80137 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80139         [BZ #13738]
80140         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80141         * manual/fdl-1.3.texi: New file.
80142         * manual/fdl-1.1.texi: File removed.
80144         [BZ #13738]
80145         * manual/libc.texinfo (FDL_VERSION): New @set.
80146         Use it for mention of FDL in cover text.
80147         (Documentation License): Use it in @include file name.
80149 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80150             Roland McGrath  <roland@hack.frob.com>
80152         [BZ #5461]
80153         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80154         (not LONG_LONG_MAX and LONG_LONG_MIN.
80155         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80156         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80157         name.
80158         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80160 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80162         [BZ #2547]
80163         [BZ #11365]
80164         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80165         manipulate bits before adding and subtracting TWO23[sx].
80166         * math/libm-test.inc (nearbyint_test): Add more tests.
80168 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80170         [BZ #2548]
80171         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80172         bits before adding and subtracting TWO23[sx].
80173         * math/libm-test.inc (rint_test): Add more tests.
80174         (rint_test_tonearest): Likewise.
80175         (rint_test_towardzero): Likewise.
80176         (rint_test_downward): Likewise.
80177         (rint_test_upward: Likewise.
80179 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80181         [BZ #10110]
80182         * include/stdc-predef.h: New file.  Extracted from features.h.
80183         * include/features.h: Include stdc-predef.h.
80184         * Makefile (headers): Add stdc-predef.h.
80185         * CONFORMANCE (Compiler limitations): Update.
80187 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80189         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80191 2012-02-21  David S. Miller  <davem@davemloft.net>
80193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80194         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80196 2012-02-20  David S. Miller  <davem@davemloft.net>
80198         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80199         using a normal save/restore sequence, rather than allocating a
80200         dummy stack frame just to store a frame pointer and restore.
80201         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80203 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80205         * manual/install.texi: Fix stray word in line-wrapped comment.
80207 2012-02-20  David S. Miller  <davem@davemloft.net>
80209         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80210         both binutils and gcc support GOTDATA.
80212         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80213         "rd %pc" in the PIC register setup sequences.
80215         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80216         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80217         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80218         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80219         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80220         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80221         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80222         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80224         (SYSCALL_ERROR_HANDLER): Likewise.
80225         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80226         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80228         (SYSCALL_ERROR_HANDLER): Likewise.
80230         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80231         (HAVE_GCC_GOTDATA): New.
80232         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80233         relocation support in both binutils and gcc.
80234         * sysdeps/sparc/elf/configure: Regenerate.
80236         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80237         * sysdeps/sparc/sparc32/elf/configure: Delete.
80238         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80239         * sysdeps/sparc/sparc64/elf/configure: Delete.
80240         * sysdeps/sparc/elf/configure.in: New file.
80241         * sysdeps/sparc/elf/configure: Generate.
80243         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80244         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80245         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80246         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80247         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80249 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80251         * manual/install.texi: Do not mention specific glibc version
80252         numbers.
80253         * manual/libc.texinfo (VERSION, UPDATED): Update.
80254         (@copying): Use @copyright{} and range of years.
80256 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80258         [BZ #13695]
80259         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80260         [crti.S not in sysdirs] (generated): Do not append.
80261         [crti.S not in sysdirs] (omit-deps): Likewise.
80262         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80263         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80264         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80265         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80266         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80267         Likewise.
80268         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80269         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80270         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80271         * csu/defs.awk: Remove file.
80272         * sysdeps/generic/initfini.c: Likewise.
80273         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80274         variable.
80275         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80276         Likewise.
80278 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80280         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80281         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80282         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80283         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80284         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80285         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80286         <bits/epoll.h>.
80287         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80288         (__EPOLL_PACKED): Define to empty if not defined by
80289         <bits/epoll.h>.
80290         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80292         bits/epoll.h.
80294 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80296         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80297         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80298         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80299         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80300         <bits/timerfd.h>.
80301         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80303         bits/timerfd.h.
80305 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80307         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80308         in C locale.
80309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80310         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80311         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80314 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80316         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80317         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80319 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80321         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80322         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80323         defined.
80324         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80325         Likewise.
80326         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80327         entry for 2.16.
80329 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80331         * math/w_acos.c: Use non-signaling floating-point comparisons.
80332         * math/w_acosf.c: Likewise.
80333         * math/w_acosh.c: Likewise.
80334         * math/w_acoshf.c: Likewise.
80335         * math/w_acoshl.c: Likewise.
80336         * math/w_acosl.c: Likewise.
80337         * math/w_asin.c: Likewise.
80338         * math/w_asinf.c: Likewise.
80339         * math/w_asinl.c: Likewise.
80340         * math/w_atanh.c: Likewise.
80341         * math/w_atanhf.c: Likewise.
80342         * math/w_atanhl.c: Likewise.
80343         * math/w_exp2.c: Likewise.
80344         * math/w_exp2f.c: Likewise.
80345         * math/w_exp2l.c: Likewise.
80346         * math/w_j0.c: Likewise.
80347         * math/w_j0f.c: Likewise.
80348         * math/w_j0l.c: Likewise.
80349         * math/w_j1.c: Likewise.
80350         * math/w_j1f.c: Likewise.
80351         * math/w_j1l.c: Likewise.
80352         * math/w_jn.c: Likewise.
80353         * math/w_jnf.c: Likewise.
80354         * math/w_log.c: Likewise.
80355         * math/w_log10.c: Likewise.
80356         * math/w_log10f.c: Likewise.
80357         * math/w_log10l.c: Likewise.
80358         * math/w_log2.c: Likewise.
80359         * math/w_log2f.c: Likewise.
80360         * math/w_log2l.c: Likewise.
80361         * math/w_logf.c: Likewise.
80362         * math/w_logl.c: Likewise.
80363         * math/w_sqrt.c: Likewise.
80364         * math/w_sqrtf.c: Likewise.
80365         * math/w_sqrtl.c: Likewise.
80366         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80367         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80368         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80369         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80370         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80372 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80374         [BZ #9739]
80375         * manual/string.texi (strnlen): Use correct parameter name in
80376         equivalent expression.
80378 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80380         [BZ #11174]
80381         * manual/users.texi (seteuid): Consistently use neweuid for
80382         argument name.
80384 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80386         [BZ #13704]
80387         * manual/nss.texi (Services in the NSS configuration): Correct
80388         list of services in example configuration file.
80390 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80392         [BZ #11322]
80393         * manual/arith.texi: Remove statements about negative zero
80394         behaving identically to zero.
80396 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80398         [BZ #5993]
80399         * manual/install.texi: Do not document upgrading from libc5.
80401 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80403         [BZ #4596]
80404         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80406 2012-02-18  David S. Miller  <davem@davemloft.net>
80408         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80409         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80410         %o7 across the call.
80411         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80412         instead.
80413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80414         SETUP_PIC_REG_LEAF.
80415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80416         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80417         * sysdeps/sparc/crtn.S: Likewise.
80419 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80421         * aout/Makefile: Remove.
80423 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80425         [BZ #13058]
80426         * manual/examples/argp-ex1.c (main): Format definition in GNU
80427         style.
80428         * manual/examples/argp-ex2.c (main): Likewise.
80429         * manual/examples/argp-ex3.c (main): Likewise.
80430         * manual/examples/argp-ex4.c (main): Likewise.
80431         * manual/examples/longopt.c (main): Use new-style prototype
80432         definition.
80433         * manual/examples/strncat.c (main): Specify return type and use
80434         (void) for arguments.
80435         * manual/examples/subopt.c (main): Use char **argv argument.
80437 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80439         [BZ #5077]
80440         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80441         rounding modes.
80443 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80445         [BZ #6907]
80446         * manual/string.texi (strchr): Change when strchrnul is
80447         recommended.
80449 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80451         [BZ #174]
80452         * manual/locale.texi (setlocale): Document LOCPATH.
80454 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80456         [BZ #10210]
80457         * manual/process.texi (execle): Move @dots{} before last argument.
80459 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80461         [BZ #12047]
80462         * manual/charset.texi (Generic Charset Conversion): Fix typo
80463         (LC_TYPE -> LC_CTYPE).
80465 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80467         [BZ #5805]
80468         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80469         (scalbnf): Likewise.
80470         (scalbnl): Likewise.
80471         (scalbln): Likewise.
80472         (scalblnf): Likewise.
80473         (scalblnl): Likewise.
80474         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80475         (vwarnx): Likewise.
80476         (verr): Likewise.
80477         (verrx): Likewise.
80478         * manual/filesys.texi (telldir): Use braces around return type.
80479         * manual/llio.texi (mmap): Add space after comma.
80480         (mmap64): Likewise.
80481         * manual/math.texi (jn): Use @var{} on parameter names.
80482         (jnf): Likewise.
80483         (jnl): Likewise.
80484         (yn): Likewise.
80485         (ynf): Likewise.
80486         (ynl): Likewise.
80487         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
80488         line.
80489         * manual/resource.texi (ulimit): Use @dots{} instead of literal
80490         "...".
80491         (sched_get_priority_min): Remove semicolon on @deftypefun line.
80492         (sched_get_priority_max): Likewise.
80493         * manual/signal.texi (sigvec): Add space after comma.
80494         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
80495         names.
80496         (if_indextoname): Likewise.
80497         (if_freenameindex): Likewise.
80498         (sendto): Use ',' instead of '.' in prototype.
80499         * manual/startup.texi (syscall): Use @dots{} instead of literal
80500         "...".
80501         * manual/stdio.texi (__fpending): Separate initial words of
80502         paragraph from @deftypefun line.
80503         * manual/syslog.texi (syslog): Use @dots{} instead of literal
80504         "...".
80505         (vsyslog): Use @var{} on parameter names.
80506         * manual/terminal.texi (stty): Use @var{} on parameter names.
80507         * manual/users.texi (getutmp): Use @var{} on parameter names.
80508         (getutmpx): Likewise.
80510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80512         [BZ #6884]
80513         * manual/stdio.texi (fopen): Fix typos in description of
80514         ",ccs=STRING".
80516 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
80518         [BZ #4026]
80519         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
80520         get clock_id definition.
80522 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
80524         [BZ #4822]
80525         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
80526         (madvise): Cast every argument to void on its own.
80528 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80530         [BZ #9902]
80531         * manual/startup.texi (Exit Status): Fix typo.
80533 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80535         [BZ #10140]
80536         * manual/examples/argp-ex1.c: Include <stdlib.h>.
80537         * manual/examples/argp-ex2.c: Likewise.
80538         * manual/examples/argp-ex3.c: Likewise.
80540 2012-02-16  Richard Henderson  <rth@redhat.com>
80542         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
80543         * sysdeps/s390/s390-32/initfini.c: Remove.
80544         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
80545         * sysdeps/s390/s390-64/initfini.c: Remove.
80547 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80549         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
80550         compiler output for sysdeps/generic/initfini.c.
80551         * sysdeps/sh/elf/initfini.c: Remove file.
80553 2012-02-16  David S. Miller  <davem@davemloft.net>
80555         [BZ #11494]
80556         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
80558         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
80559         * sysdeps/sparc/crti.S: New file.
80560         * sysdeps/sparc/crtn.S: New file.
80561         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
80562         * sysdeps/sparc/sparc64/Makefile: Likewise.
80564 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
80566         [BZ #3335]
80567         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
80569 2012-02-15  Roland McGrath  <roland@hack.frob.com>
80571         [BZ #4822]
80572         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
80574         * mach/devstream.c (cookie_io_functions_t): Macro removed.
80575         (write, read, close): Likewise.
80576         Patch by Aurelien Jarno <aurelien@aurel32.net>.
80578 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
80580         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
80581         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
80582         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
80583         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
80584         <bits/signalfd.h>.
80585         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
80586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80587         bits/signalfd.h.
80589 2012-02-14  Marek Polacek  <polacek@redhat.com>
80591         * sysdeps/x86_64/crti.S: New file.
80592         * sysdeps/x86_64/crtn.S: New file.
80593         * sysdeps/x86_64/elf/initfini.c: Remove file.
80595 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80597         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
80598         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
80599         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
80600         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
80601         <bits/inotify.h>.
80602         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
80603         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80604         bits/inotify.h.
80606 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80608         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
80609         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
80610         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
80611         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
80612         <bits/eventfd.h>.
80613         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
80614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80615         bits/eventfd.h.
80617 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
80619         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
80620         __feraiseexcept instead of feraiseexcept.
80622         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
80623         nanosleep invocations.
80624         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
80625         strings, and add error checking for a nanosleep invocations.
80627 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
80629         Replace FSF snail mail address with URLs, as per GNU coding standards.
80630         Most of the snail mail addresses were wrong anyway, and omitting
80631         them makes the source code easier to maintain.  Almost all of the
80632         changes are to license notices and to locale LC_IDENTIFICATION
80633         addresses, except for this one:
80634         * manual/libc.texinfo: In "Published by", give the FSF's URL,
80635         not its snail mail address.
80637 2012-02-09  Richard Henderson  <rth@twiddle.net>
80639         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
80640         of kernel-features.h.
80642         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
80644 2012-02-08  Marek Polacek  <polacek@redhat.com>
80646         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
80647         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
80648         * sysdeps/gnu/_G_config.h: Likewise.
80649         * sysdeps/generic/_G_config.h: Likewise.
80651 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
80653         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
80654         tests.
80655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80657         * sysdeps/powerpc/powerpc32/crti.S: New file.
80658         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80659         * sysdeps/powerpc/powerpc64/crti.S: New file.
80660         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80662         * Makeconfig (have-initfini): Don't set.
80663         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80664         * configure.in (nopic_initfini): Don't substitute.
80665         * config.h.in (HAVE_INITFINI): Don't #undef.
80666         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80667         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80669 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80671         Support crti.S and crtn.S provided directly by architectures.
80672         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80673         [crti.S in sysdirs] (omit-deps): Likewise.
80674         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80675         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80676         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80677         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80678         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80679         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80680         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80681         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80682         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80683         compiler output for sysdeps/generic/initfini.c.
80684         * sysdeps/i386/elf/Makefile: Remove file.
80685         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80687 2012-02-07  Marek Polacek  <polacek@redhat.com>
80689         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80690         * sysdeps/gnu/_G_config.h: Likewise.
80691         * sysdeps/mach/hurd/_G_config.h: Likewise.
80693 2012-02-07  Marek Polacek  <polacek@redhat.com>
80695         * math/Makefile (tests): Add tst-CMPLX2.
80696         * math/tst-CMPLX2.c: New file.
80698 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80700         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80702         * math/libm-test.inc (jn_test): Add missing L suffix.
80704 2012-02-06  Marek Polacek  <polacek@redhat.com>
80706         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80707         * sysdeps/i386/fpu/e_powf.S: Likewise.
80708         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80709         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80710         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80711         * sysdeps/i386/fpu/e_pow.S: Likewise.
80712         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80713         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80714         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80715         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80716         * sysdeps/i386/fpu/e_log2.S: Likewise.
80717         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80718         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80719         * sysdeps/i386/fpu/e_powl.S: Likewise.
80720         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80721         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80722         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80723         * sysdeps/i386/fpu/e_logl.S: Likewise.
80724         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80725         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80726         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80727         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80728         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80729         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80730         * sysdeps/i386/fpu/e_log.S: Likewise.
80731         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80732         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80733         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80734         * sysdeps/i386/fpu/e_logf.S: Likewise.
80735         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80736         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80737         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80738         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80739         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80740         * sysdeps/i386/fpu/e_log10.S: Likewise.
80741         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80742         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80743         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80744         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80745         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80746         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80747         * sysdeps/i386/asm-syntax.h: Likewise.
80748         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80749         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80750         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80751         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80752         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80753         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80754         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80755         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80756         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80757         * sysdeps/powerpc/sysdep.h: Likewise.
80758         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80759         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80761 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80763         [BZ #411]
80764         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80766 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80768         * sysdeps/i386/sysdep.h: Include <features.h>.
80769         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80770         version.
80772 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80774         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80775         Define.
80776         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80777         LOAD_PIC_REG_STR.
80779 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80781         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80782         (SETUP_PIC_REG): Use GET_PC_THUNK.
80783         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80784         macro.
80786 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80788         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80789         for non-PIC compilation.
80790         (SETUP_PIC_REG): Add .p2align directive.
80791         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80792         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80793         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80794         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80795         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80796         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80797         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80798         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80799         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80800         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80801         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80802         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80803         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80804         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80805         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80806         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80807         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80808         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80809         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80810         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80811         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80812         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80813         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80814         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80815         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80816         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80817         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80818         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80819         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80820         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80821         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80822         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80823         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80824         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80825         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80826         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80827         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80828         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80829         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80830         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80831         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80833 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80835         * math/tst-CMPLX.c: Include <stdio.h>.
80837 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80839         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80840         float.
80841         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80842         * sysdeps/sparc/bits/mathdef.h: Likewise.
80844 2012-01-31  Marek Polacek  <polacek@redhat.com>
80846         * libio/libio.h: Don't define _PARAMS.
80847         * locale/programs/config.h: Don't define PARAMS.
80848         * stdlib/strtol_l.c: Likewise.
80849         (__strtol_l): Remove PARAMS from the prototype.
80851 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80853         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80854         names.  Just use the correct names.  Remove unnecessary wrapper
80855         functions.
80856         * malloc/arena.c: Likewise.
80857         * malloc/hooks.c: Likewise.
80859         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80860         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80861         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80863 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80865         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80866         into tail calls.
80867         (update_get_addr): New function.
80868         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80869         GET_ADDR_MODULE parameter.
80871 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80873         * crypt/cert.c: Remove __STDC__ conditionals.
80874         * crypt/crypt-entry.c: Likewise.
80875         * crypt/crypt_util.c: Likewise.
80876         * libio/filedoalloc.c: Likewise.
80877         * libio/fileops.c: Likewise.
80878         * libio/genops.c: Likewise.
80879         * libio/iofclose.c: Likewise.
80880         * libio/iofdopen.c: Likewise.
80881         * libio/iofopen.c: Likewise.
80882         * libio/iofopen64.c: Likewise.
80883         * libio/iogetdelim.c: Likewise.
80884         * libio/iopopen.c: Likewise.
80885         * libio/obprintf.c: Likewise.
80886         * libio/oldfileops.c: Likewise.
80887         * libio/oldiofclose.c: Likewise.
80888         * libio/oldiofdopen.c: Likewise.
80889         * libio/oldiofopen.c: Likewise.
80890         * libio/oldiopopen.c: Likewise.
80891         * libio/wfiledoalloc.c: Likewise.
80892         * libio/wgenops.c: Likewise.
80893         * locale/programs/xmalloc.c: Likewise.
80894         * misc/syslog.c: Likewise.
80895         * stdio-common/xbug.c: Likewise.
80896         * string/memchr.c: Likewise.
80897         * string/memcmp.c: Likewise.
80898         * string/memrchr.c: Likewise.
80899         * string/rawmemchr.c: Likewise.
80900         * sysdeps/posix/getcwd.c: Likewise.
80901         * time/strftime_l.c: Likewise.
80903 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80905         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80906         * config.make.in (config-cflags-sse2avx): Define.
80907         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80908         Fix typo.
80910 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80912         * scripts/config.guess: Update from upstream config git repository.
80913         * scripts/config.sub: Likewise.
80915 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80917         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80918         (EM_NUM): Update.
80919         (R_TILEPRO_*, R_TILEGX_*): New macros.
80921         * scripts/firstversions.awk: Fix bug in version range handling.
80923         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80925         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80927         * include/sys/epoll.h: New file.
80928         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80929         libc_hidden_def.
80931 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80933         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80934         Avoid unnecessary __WORDSIZE == 64 test.
80935         (fmaxf): Use VEX format if possible.
80936         (fmax): Likewise.
80937         (fminf): Likewise.
80938         (fmin): Likewise.
80940         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80941         * math/math_private.h: Remove libc_fegetround* and
80942         libc_fesetround*.
80943         * sysdeps/i386/configure.in: Check for -msse2avx.
80944         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80945         also if SSE2AVX is defined.
80946         Remove libc_fegetround* and libc_fesetround*.
80947         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80948         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80949         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80950         of HAS_YMM_USABLE.
80951         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80952         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80953         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80954         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80955         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80957         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80959 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80961         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80962         size is not set.
80963         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80965 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80967         [BZ #13618]
80968         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80969         relocation.
80970         * Makeconfig (libm): Define.
80971         * elf/Makefile: Add rules to build and run tst-relsort1.
80972         * elf/tst-relsort1.c: New file.
80973         * elf/tst-relsort1mod1.c: New file.
80974         * elf/tst-relsort1mod2.c: New file.
80976 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80978         * math/s_ldexp.c: Remove __STDC__ conditionals.
80979         * math/s_ldexpf.c: Likewise.
80980         * math/s_ldexpl.c: Likewise.
80981         * math/s_nextafter.c: Likewise.
80982         * math/s_nexttowardf.c: Likewise.
80983         * math/s_significand.c: Likewise.
80984         * math/s_significandf.c: Likewise.
80985         * math/s_significandl.c: Likewise.
80986         * math/w_jnl.c: Likewise.
80987         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80988         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80989         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80990         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80991         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80992         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80993         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80994         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80995         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80996         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80997         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80998         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80999         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81000         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81001         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81002         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81003         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81004         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81005         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81006         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81007         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81008         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81009         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81010         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81011         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81012         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81013         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81014         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81015         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81016         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81017         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81018         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81019         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81020         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81021         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81022         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81023         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81024         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81025         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81026         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81027         * sysdeps/ieee754/k_standard.c: Likewise.
81028         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81029         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81030         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81031         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81032         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81033         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81034         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81035         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81036         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81037         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81038         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81039         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81040         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81041         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81042         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81043         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81044         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81045         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81046         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81047         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81048         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81049         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81050         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81051         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81052         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81053         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81054         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81055         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81057         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81058         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81059         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81060         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81061         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81063         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81064         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81065         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81066         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81067         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81068         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81069         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81070         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81071         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81072         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81073         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81075         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81076         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81077         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81078         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81079         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81080         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81081         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81082         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81083         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81084         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81085         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81086         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81087         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81088         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81089         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81090         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81091         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81092         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81093         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81094         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81095         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81096         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81097         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81098         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81099         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81100         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81103         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81104         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81105         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81106         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81107         * sysdeps/ieee754/s_matherr.c: Likewise.
81108         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81109         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81110         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81111         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81113 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81115         * crypt/md5.h: Remove __STDC__ conditionals.
81116         * libio/libioP.h: Likewise.
81117         * locale/programs/config.h: Likewise.
81118         * sysdeps/generic/sysdep.h: Likewise.
81119         * sysdeps/i386/asm-syntax.h: Likewise.
81120         * sysdeps/s390/asm-syntax.h: Likewise.
81121         * sysdeps/unix/sysdep.h: Likewise.
81122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81125 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81127         * libio/libio.h: Remove __STDC__ conditionals.
81128         * malloc/obstack.h: Likewise.
81129         * math/complex.h: Likewise.
81130         * math/math.h: Likewise.
81131         * sysdeps/generic/_G_config.h: Likewise.
81132         * sysdeps/gnu/_G_config.h: Likewise.
81133         * sysdeps/mach/hurd/_G_config.h: Likewise.
81134         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81135         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81136         * sysdeps/sparc/bits/mathdef.h: Likewise.
81138 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81140         [BZ #13583]
81141         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81142         Clean up HAS_* macros.
81143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81144         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81145         possible.
81146         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81147         HAS_AVX.
81148         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81149         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81150         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81151         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81152         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81154 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81156         * elf/tst-unique3.cc (gets): Remove declaration.
81157         * elf/tst-unique3lib.cc (gets): Likewise.
81158         * elf/tst-unique3lib2.cc (gets): Likewise.
81159         * elf/tst-unique4.cc (gets): Likewise.
81161 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81163         * include/stdio.h: Add C++ protection.  Add gets declarations and
81164         definitions.
81165         * debug/tst-chk1.c: Don't declare gets here.
81166         * stdio-common/tst-gets.c: Likewise.
81168 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81170         * posix/glob: Remove directory.
81172 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81174         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81176 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81178         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81179         of the non-standard EPFNOSUPPORT.
81181 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81183         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81184         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81185         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81187 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81189         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81191 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81193         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81194         transient errors.
81195         * nscd/grpcache.c (cache_addgr): Likewise.
81196         * nscd/hstcache.c (cache_addhst): Likewise.
81197         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81198         * nscd/pwdcache.c (cache_addpw): Likewise.
81199         * nscd/servicescache.c (cache_addserv): Likewise.
81201 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81203         * malloc/malloc.c: Various cleanups.
81204         * malloc/hooks.c: Likewise.
81206         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81207         * stdlib/bug-fmtmsg1.c: New file.
81209         * stdlib/fmtmsg.c (init): Add missing unlock.
81210         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81212 2012-01-12  Marek Polacek  <polacek@redhat.com>
81214         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81215         and _GNU_SOURCE.
81217 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81219         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81220         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81221         macro to ensure uniqueness of label name.
81222         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81223         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81225 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81227         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81229         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81230         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81231         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81234 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81236         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81238         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81239         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81240         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81242         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81244         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81245         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81246         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81249         * math/bits/math-finite.h: Add ldexp support.
81251 2012-01-10  Marek Polacek  <polacek@redhat.com>
81253         * locale/programs/localedef.h (show_archive_content): Add noreturn
81254         attribute.
81256 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81258         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81260 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81262         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81264         * io/Makefile (headers): Add bits/poll2.h.
81266 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81269         typo #include statement.
81271 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81273         * include/sys/cdefs.h: Define __attribute_alloc_size.
81274         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81275         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81276         * elf/pldd.c: Likewise.
81277         * iconv/iconv_charmap.c: Likewise.
81278         * iconv/iconvconfig.c: Likewise.
81279         * iconv/strtab.c: Likewise.
81280         * locale/programs/locale.c: Likewise.
81281         * locale/programs/localedef.h: Likewise.
81282         * locale/programs/simple-hash.c: Likewise.
81283         * nscd/nscd.h: Likewise.
81284         * nss/makedb.c: Likewise.
81285         * sysdeps/generic/ldconfig.h: Likewise.
81286         * locale/programs/localedef.c: Remove xmalloc prototype.
81287         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81289 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81291         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81292         appropriate.
81294 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81296         * math/Makefile (tests): Add tst-CMPLX.
81297         * math/tst-CMPLX.c: New file.
81299         * math/complex.h (CMPLXL): Fix typo.
81301         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81302         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81303         GLIBC_2.16.
81304         * debug/tst-chk1.c: Add poll and ppoll tests.
81305         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81306         * include/sys/poll.h: Add hidden proto for ppoll.
81307         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81308         * sysdeps/mach/hurd/ppoll.c: Likewise.
81309         * io/ppoll.c: Likewise.
81310         * debug/poll_chk.c: New file.
81311         * debug/ppoll_chk.c: New file.
81312         * include/bits/poll2.h: New file.
81313         * io/bits/poll2.h: New file.
81315         [BZ #1350]
81316         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81318         * configure.in: static is always set to yes.  Remove.
81319         * config.make.in: Don't set build-static.
81320         * Makeconfig: Remove use of build-static.
81321         * dlfcn/Makefile: Likewise.
81322         * elf/Makefile: Likewise.
81323         * math/Makefile: Likewise.
81324         * misc/Makefile: Likewise.
81325         * nptl/Makefile: Likewise.
81326         * sysdeps/mach/hurd/Makefile: Likewise.
81328         * configure.in: PWD_P is not used anymore.
81329         * config.make.in: Remove PWD_P entry.
81331         * configure.in: Remove last remnants of RANLIB.
81332         No need to check for signed size_t anymore.
81333         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81334         and IA-64.
81335         Remove __builtin_expect test because we require at least gcc 3.4.
81336         * aclocal.m4: Likewise.
81338         * wcsmbs/mbrtoc16.c: Implement using towc function.
81339         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81340         * wcsmbs/wcsmbsload.c: Likewise.
81341         * iconv/gconv_simple.c: Likewise.
81342         * iconv/gconv_int.h: Likewise.
81343         * iconv/gconv_builtin.h: Likewise.
81344         * iconv/iconv_prog.c: Remove CHAR16 handling.
81346         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81348         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81350         * configure.in: Remove --with-elf and --enable-bounded options.
81351         Dont set base_machine for ia64.  More non-ELF conditions removed.
81352         Remove testing and setting of leading underscore information.
81353         * config.make.in (build-bounded): Set to no.
81354         * config.h.in: Remove NO_UNDERSCORES entry.
81355         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81356         them.
81357         * csu/start.c: Remove !NO_UNDERSCORE code.
81358         * locale/localeinfo.h: Likewise.
81359         * sysdeps/generic/machine-gmon.h: Likewise.
81360         * sysdeps/generic/sysdep.h: Likewise.
81361         * sysdeps/i386/sysdep.h: Likewise.
81362         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81363         * sysdeps/mach/sysdep.h: Likewise.
81364         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81365         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81366         * sysdeps/sh/sysdep.h: Likewise.
81367         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81368         * sysdeps/unix/i386/sysdep.S: Likewise.
81369         * sysdeps/unix/sparc/start.c: Likewise.
81370         * sysdeps/unix/sparc/sysdep.S: Likewise.
81371         * sysdeps/unix/sparc/sysdep.h: Likewise.
81372         * sysdeps/unix/start.c: Likewise.
81373         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81374         * sysdeps/x86_64/sysdep.h: Likewise.
81376 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81378         [BZ #13553]
81379         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81380         for non-gcc.
81381         * argp/argp-fmtstream.h: Use const instead __const.
81382         * argp/argp.h: Likewise.
81383         * assert/assert.h: Likewise.
81384         * bits/fenv.h: Likewise.
81385         * bits/sched.h: Likewise.
81386         * bits/sigset.h: Likewise.
81387         * bits/sigthread.h: Likewise.
81388         * catgets/nl_types.h: Likewise.
81389         * conform/data/pthread.h-data: Likewise.
81390         * crypt/crypt-private.h: Likewise.
81391         * crypt/crypt.h: Likewise.
81392         * crypt/crypt_util.c: Likewise.
81393         * ctype/ctype.h: Likewise.
81394         * debug/execinfo.h: Likewise.
81395         * debug/mbsnrtowcs_chk.c: Likewise.
81396         * debug/mbsrtowcs_chk.c: Likewise.
81397         * debug/wcsnrtombs_chk.c: Likewise.
81398         * debug/wcsrtombs_chk.c: Likewise.
81399         * debug/wcstombs_chk.c: Likewise.
81400         * dirent/dirent.h: Likewise.
81401         * dlfcn/dlfcn.h: Likewise.
81402         * elf/neededtest4.c: Likewise.
81403         * grp/grp.h: Likewise.
81404         * gshadow/gshadow.h: Likewise.
81405         * iconv/gconv.h: Likewise.
81406         * iconv/gconv_int.h: Likewise.
81407         * iconv/gconv_simple.c: Likewise.
81408         * iconv/iconv.h: Likewise.
81409         * iconv/loop.c: Likewise.
81410         * iconv/skeleton.c: Likewise.
81411         * include/aio.h: Likewise.
81412         * include/aliases.h: Likewise.
81413         * include/argz.h: Likewise.
81414         * include/arpa/inet.h: Likewise.
81415         * include/assert.h: Likewise.
81416         * include/dirent.h: Likewise.
81417         * include/dlfcn.h: Likewise.
81418         * include/execinfo.h: Likewise.
81419         * include/fcntl.h: Likewise.
81420         * include/fenv.h: Likewise.
81421         * include/glob.h: Likewise.
81422         * include/grp.h: Likewise.
81423         * include/libintl.h: Likewise.
81424         * include/mntent.h: Likewise.
81425         * include/netdb.h: Likewise.
81426         * include/pwd.h: Likewise.
81427         * include/rpc/netdb.h: Likewise.
81428         * include/sched.h: Likewise.
81429         * include/search.h: Likewise.
81430         * include/shadow.h: Likewise.
81431         * include/signal.h: Likewise.
81432         * include/stdio.h: Likewise.
81433         * include/stdlib.h: Likewise.
81434         * include/string.h: Likewise.
81435         * include/sys/socket.h: Likewise.
81436         * include/sys/stat.h: Likewise.
81437         * include/sys/statfs.h: Likewise.
81438         * include/sys/statvfs.h: Likewise.
81439         * include/sys/syslog.h: Likewise.
81440         * include/sys/time.h: Likewise.
81441         * include/sys/uio.h: Likewise.
81442         * include/time.h: Likewise.
81443         * include/unistd.h: Likewise.
81444         * include/utmp.h: Likewise.
81445         * include/wchar.h: Likewise.
81446         * include/wctype.h: Likewise.
81447         * inet/aliases.h: Likewise.
81448         * inet/arpa/inet.h: Likewise.
81449         * inet/netinet/ether.h: Likewise.
81450         * inet/netinet/in.h: Likewise.
81451         * intl/libintl.h: Likewise.
81452         * io/bits/fcntl2.h: Likewise.
81453         * io/fcntl.h: Likewise.
81454         * io/ftw.h: Likewise.
81455         * io/sys/poll.h: Likewise.
81456         * io/sys/stat.h: Likewise.
81457         * io/sys/statfs.h: Likewise.
81458         * io/sys/statvfs.h: Likewise.
81459         * io/utime.h: Likewise.
81460         * libio/bits/stdio.h: Likewise.
81461         * libio/bits/stdio2.h: Likewise.
81462         * libio/libio.h: Likewise.
81463         * libio/libioP.h: Likewise.
81464         * libio/stdio.h: Likewise.
81465         * locale/lc-ctype.c: Likewise.
81466         * locale/locale.h: Likewise.
81467         * login/utmp.h: Likewise.
81468         * malloc/arena.c: Likewise.
81469         * malloc/malloc.c: Likewise.
81470         * malloc/malloc.h: Likewise.
81471         * malloc/mcheck.c: Likewise.
81472         * malloc/mtrace.c: Likewise.
81473         * math/bits/mathcalls.h: Likewise.
81474         * math/fenv.h: Likewise.
81475         * math/math_private.h: Likewise.
81476         * misc/bits/error.h: Likewise.
81477         * misc/bits/syslog.h: Likewise.
81478         * misc/err.h: Likewise.
81479         * misc/error.h: Likewise.
81480         * misc/fstab.h: Likewise.
81481         * misc/mntent.h: Likewise.
81482         * misc/regexp.h: Likewise.
81483         * misc/search.h: Likewise.
81484         * misc/sgtty.h: Likewise.
81485         * misc/sys/mman.h: Likewise.
81486         * misc/sys/syslog.h: Likewise.
81487         * misc/sys/uio.h: Likewise.
81488         * misc/sys/xattr.h: Likewise.
81489         * misc/ttyent.h: Likewise.
81490         * nis/rpcsvc/ypclnt.h: Likewise.
81491         * nss/nss.h: Likewise.
81492         * posix/bits/unistd.h: Likewise.
81493         * posix/fnmatch.h: Likewise.
81494         * posix/glob.h: Likewise.
81495         * posix/sched.h: Likewise.
81496         * posix/spawn.h: Likewise.
81497         * posix/sys/wait.h: Likewise.
81498         * posix/unistd.h: Likewise.
81499         * posix/wordexp.h: Likewise.
81500         * pwd/pwd.h: Likewise.
81501         * resolv/netdb.h: Likewise.
81502         * resource/sys/resource.h: Likewise.
81503         * rt/aio.h: Likewise.
81504         * rt/bits/mqueue2.h: Likewise.
81505         * rt/mqueue.h: Likewise.
81506         * shadow/shadow.h: Likewise.
81507         * signal/signal.h: Likewise.
81508         * socket/send.c: Likewise.
81509         * socket/sendto.c: Likewise.
81510         * socket/sys/socket.h: Likewise.
81511         * stdio-common/printf.h: Likewise.
81512         * stdlib/bits/stdlib.h: Likewise.
81513         * stdlib/fmtmsg.h: Likewise.
81514         * stdlib/monetary.h: Likewise.
81515         * stdlib/stdlib.h: Likewise.
81516         * stdlib/ucontext.h: Likewise.
81517         * streams/stropts.h: Likewise.
81518         * string/argz.h: Likewise.
81519         * string/bits/string2.h: Likewise.
81520         * string/string.h: Likewise.
81521         * string/strings.h: Likewise.
81522         * sunrpc/rpc/auth.h: Likewise.
81523         * sunrpc/rpc/auth_des.h: Likewise.
81524         * sunrpc/rpc/clnt.h: Likewise.
81525         * sunrpc/rpc/netdb.h: Likewise.
81526         * sunrpc/rpc/pmap_clnt.h: Likewise.
81527         * sunrpc/rpc/xdr.h: Likewise.
81528         * sysdeps/generic/inttypes.h: Likewise.
81529         * sysdeps/generic/net/if.h: Likewise.
81530         * sysdeps/generic/sys/swap.h: Likewise.
81531         * sysdeps/gnu/net/if.h: Likewise.
81532         * sysdeps/gnu/utmpx.h: Likewise.
81533         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
81534         * sysdeps/i386/i486/bits/string.h: Likewise.
81535         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
81536         * sysdeps/s390/bits/string.h: Likewise.
81537         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
81538         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
81539         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
81540         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
81541         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
81542         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
81543         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
81544         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
81545         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
81546         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
81547         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
81548         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
81549         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
81550         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
81551         * sysdeps/unix/sysv/linux/readv.c: Likewise.
81552         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
81553         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
81554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81555         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
81556         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
81557         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81558         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
81559         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
81560         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
81561         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
81562         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
81563         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
81564         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81565         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
81566         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
81567         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
81568         * sysvipc/sys/ipc.h: Likewise.
81569         * sysvipc/sys/msg.h: Likewise.
81570         * sysvipc/sys/sem.h: Likewise.
81571         * sysvipc/sys/shm.h: Likewise.
81572         * termios/termios.h: Likewise.
81573         * time/sys/time.h: Likewise.
81574         * time/time.h: Likewise.
81575         * wcsmbs/bits/wchar2.h: Likewise.
81576         * wcsmbs/uchar.h: Likewise.
81577         * wcsmbs/wchar.h: Likewise.
81578         * wctype/wctype.h: Likewise.
81580         [BZ #13551]
81581         * Makeconfig: Remove all but ELF support including AIX support.
81582         * Makerules: Likewise.
81583         * config.h.in: Likewise.
81584         * config.make.in: Likewise.
81585         * configure: Likewise.
81586         * configure.in: Likewise.
81587         * csu/Makefile: Likewise.
81588         * csu/version.c: Likewise.
81589         * debug/Makefile: Likewise.
81590         * dlfcn/Makefile: Likewise.
81591         * elf/Makefile: Likewise.
81592         * extra-lib.mk: Likewise.
81593         * iconv/Makefile: Likewise.
81594         * include/libc-symbols.h: Likewise.
81595         * include/shlib-compat.h: Likewise.
81596         * resolv/Makefile: Likewise.
81597         * resolv/res_libc.c: Likewise.
81598         * rt/Makefile: Likewise.
81599         * sysdeps/i386/asm-syntax.h: Likewise.
81600         * sysdeps/i386/sysdep.h: Likewise.
81601         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81602         * sysdeps/mach/sysdep.h: Likewise.
81603         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
81604         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
81605         * sysdeps/s390/asm-syntax.h: Likewise.
81606         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81607         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81608         * sysdeps/sh/sysdep.h: Likewise.
81609         * sysdeps/unix/sparc/sysdep.h: Likewise.
81610         * sysdeps/wordsize-32/divdi3.c: Likewise.
81611         * sysdeps/x86_64/sysdep.h: Likewise.
81613         * argp/Versions: Remove _argp_unlock_xxx.
81615         [BZ #13559]
81616         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
81617         * abilist/libBrokenLocale.abilist: Likewise.
81618         * abilist/libanl.abilist: Likewise.
81619         * abilist/libc.abilist: Likewise.
81620         * abilist/libcrypt.abilist: Likewise.
81621         * abilist/libdl.abilist: Likewise.
81622         * abilist/libm.abilist: Likewise.
81623         * abilist/libnsl.abilist: Likewise.
81624         * abilist/libpthread.abilist: Likewise.
81625         * abilist/libresolv.abilist: Likewise.
81626         * abilist/librt.abilist: Likewise.
81627         * abilist/libthread_db.abilist: Likewise.
81628         * abilist/libutil.abilist: Likewise.
81629         * abilist/libnss_db.abilist: New file.
81631         * scripts/abilist.awk: Add support for indirect functions.
81633         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
81635         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
81637         * shlib-versions: Remove entries for ports architectures.
81639         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
81640         files in ports.
81641         * elf/stackguard-macros.h: Remove support for IA-64.
81642         * elf/tst-auditmod1.c: Likewise.
81643         * sysdeps/generic/ldsodefs.h: Likewise.
81645         * sysdeps/unix/sysv/linux/configure.in: Ports should define
81646         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
81647         configure files.
81649         [BZ #13552]
81650         * configure.in: Remove --enable-omitfp support.
81651         * FAQ.in: Adjust.
81652         * config.make.in: Likewise.
81653         * Makeconfig: Likewise.
81654         * manual/install.texi: Likewise.
81656         In case anyone cares, the IA-64 architecture could move to ports.
81657         * sysdeps/ia64/*: Removed.
81658         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81659         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81661         [BZ #13555]
81662         * configure.in: Remove entries for unsupported architectures.
81664         [BZ #13533]
81665         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81666         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81667         routines.
81668         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81669         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81670         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81671         fall back to using wcrtomb.
81672         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81673         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81674         renaming.
81675         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81676         * wcsmbs/tst-c16c32-1.c: New file.
81678         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81679         local variable.
81681         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81683         * elf/tst-unique3.cc: Add explicit declaration of gets.
81684         * elf/tst-unique3lib.cc: Likewise.
81685         * elf/tst-unique3lib2.cc: Likewise.
81686         * elf/tst-unique4.cc: Likewise.
81688         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81690 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81692         [BZ #13566]
81693         * assert/assert.h (static_assert): Don't define for C++.
81694         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81695         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81697 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81699         * iconv/loop.c (single loop): Fix assertion in storing of
81700         remaining bytes.
81702         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81704 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81706         * posix/getconf.c: Update copyright year.
81707         * nss/getent.c: Likewise.
81708         * nss/makedb.c: Likewise.
81709         * iconv/iconvconfig.c: Likewise.
81710         * iconv/iconv_prog.c: Likewise.
81711         * elf/ldconfig.c: Likewise.
81712         * elf/pldd.c: Likewise.
81713         * elf/sotruss.ksh: Likewise.
81714         * catgets/gencat.c: Likewise.
81715         * csu/version.c: Likewise.
81716         * elf/ldd.bash.in: Likewise.
81717         * elf/sprof.c (print_version): Likewise.
81718         * locale/programs/locale.c: Likewise.
81719         * locale/programs/localedef.c: Likewise.
81720         * login/programs/pt_chown.c: Likewise.
81721         * nscd/nscd.c (print_version): Likewise.
81722         * debug/xtrace.sh: Likewise.
81723         * malloc/memusage.sh: Likewise.
81724         * malloc/mtrace.pl: Likewise.
81725         * debug/catchsegv.sh: Likewise.
81727 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81729         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81730         pure attribute.
81732 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81734         [BZ #13533]
81735         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81736         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81737         transformations.
81738         * iconv/gconv_int.h: Likewise.
81739         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81740         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81741         from libc for GLIBC_2.16.
81742         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81743         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81744         * wcsmbs/uchar.h: Really define mbstate_t.
81745         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81746         * wcsmbs/c16rtomb.c: New file.
81747         * wcsmbs/mbrtoc16.c: New file.
81748         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81749         for C/POSIX locale.
81750         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81751         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81753         * wcsmbs/wchar.h: Add missing __restrict.
81755 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81757         [BZ #13532]
81758         * time/Makefile (routines): Add timespec_get.
81759         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81760         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81761         timespec for ISO C11.
81762         * time/timespec_get.c: New file.
81763         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81764         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81766         [BZ #13531]
81767         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81768         * stdlib/stdlib.h: Declare aligned_alloc.
81769         * Versions.def: Add GLIBC_2.16 for libc.
81770         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81772         [BZ 13527]
81773         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81774         ISO C11.
81776         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81777         code.
81779         [BZ #13528]
81780         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81782         [BZ #13529]
81783         * assert/assert.h (static_assert): Define.
81785         * version.h: Update for 2.16 development version.
81787         [BZ #13526]
81788         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81789         _ISOC11_SOURCE.
81791         * version.h (RELEASE): Bump for 2.15 release.
81792         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81794         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81795         Patch by Marek Polacek <mpolacek@redhat.com>.
81797         * bits/byteswap.h: Protect long long constants with __extension__.
81798         * sysdeps/i386/bits/byteswap.h: Likewise.
81799         * sysdeps/ia64/bits/byteswap.h: Likewise.
81800         * sysdeps/s390/bits/byteswap.h: Likewise.
81801         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81803 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81805         [BZ #13540]
81806         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81807         destination buffer.
81808         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81810 2011-12-23  Marek Polacek  <polacek@redhat.com>
81812         * elf/dl-addr.c (determine_info): Add inline keyword.
81813         * elf/tst-auditmod4b.c (check_avx): Likewise.
81814         * elf/tst-auditmod6b.c (check_avx): Likewise.
81815         * elf/tst-auditmod6c.c (check_avx): Likewise.
81816         * elf/tst-auditmod7b.c (check_avx): Likewise.
81818 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81820         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81821         !__SSE_MATH__.
81823 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81825         [BZ #13540]
81826         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81827         processing for last bytes.
81829 2011-08-06  Bruno Haible  <bruno@clisp.org>
81831         [BZ #13061]
81832         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81833         U+0385, not to U+1FEE.
81835         [BZ #13062]
81836         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81837         entry for U+00A5 U+0301.
81839 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81841         [BZ #13166]
81842         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81843         buffer for the output is too small.
81845         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81846         optimization.
81848         [BZ #13185]
81849         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81850         SSE flags if possible.
81852 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81854         [BZ #13540]
81855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81856         processing for last bytes.
81858 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81860         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81861         (syscall-list-default-options, syscall-list-default-condition)
81862         (syscall-list-includes): Define.
81863         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81864         list of ABIs and options and #if conditions for each ABI.  Do not
81865         handle common syscalls between ABIs specially.
81866         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81867         Remove.
81868         (syscall-list-variants, syscall-list-32bit-options)
81869         (syscall-list-32bit-condition, syscall-list-64bit-options)
81870         (syscall-list-64bit-condition): Define.
81871         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81872         (syscall-list-variants, syscall-list-32bit-options)
81873         (syscall-list-32bit-condition, syscall-list-64bit-options)
81874         (syscall-list-64bit-condition): Define.
81875         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81876         Remove.
81877         (syscall-list-variants, syscall-list-32bit-options)
81878         (syscall-list-32bit-condition, syscall-list-64bit-options)
81879         (syscall-list-64bit-condition): Define.
81880         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81881         Remove.
81882         (syscall-list-variants, syscall-list-32bit-options)
81883         (syscall-list-32bit-condition, syscall-list-64bit-options)
81884         (syscall-list-64bit-condition): Define.
81886 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81888         * locale/iso-639.def: Add brx entry.
81890         [BZ #13328]
81891         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81892         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81894         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81895         __feraiseexcept_renamed.
81897 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81899         [BZ #13538]
81900         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81901         EPOLLET with unsigned values.
81902         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81903         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81905         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81906         to large cancellation.
81907         * math/s_cacoshf.c: Likewise.
81908         * math/s_cacoshl.c: Likewise.
81910 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81912         [BZ #13305]
81913         [BZ #12786]
81914         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81915         * math/s_cacoshf.c: Likewise.
81916         * math/s_cacoshl.c: Likewise.
81918 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81920         [BZ #13439]
81921         * iconv/gconv.h: Define __GCONV_SWAP.
81922         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81923         * iconvdata/utf-16.c: Likewise.
81924         * iconvdata/utf-32.c: Likewise.
81926 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81928         [BZ #13524]
81929         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81930         numerator after shifting it by one limb.
81932 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81934         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81935         under [__USE_EXTERN_INLINES].
81937 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81939         [BZ #13446]
81940         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81942 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81944         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81945         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81946         optimized code.
81947         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81948         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81949         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81950         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81951         for strncasecmp/strncasecmp_l compilation.
81952         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81953         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81955 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81957         [BZ #13484]
81958         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81959         of __asm__.
81961 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81963         [BZ #13506]
81964         * time/tzfile.c (__tzfile_read): Check values from file header.
81966 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81968         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81969         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81970         * powerpc/powerpc32/dl-start.S: Likewise.
81971         * powerpc/powerpc32/elf/start.S: Likewise.
81972         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81973         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81974         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81975         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81976         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81977         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81978         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81979         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81980         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81981         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81982         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81983         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81984         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81985         * powerpc/powerpc32/memset.S: Likewise.
81986         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81987         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81988         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81989         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81990         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81991         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81992         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81993         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81994         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81995         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81996         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81997         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81998         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82000 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82002         * math/libm-test.inc: Added more nearbyint tests.
82003         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82004         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82005         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82006         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82008 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82010         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82011         FD_CLOEXEC.
82013 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82015         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82016         Add wcscpy-ssse3 wcscpy-c.
82017         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82018         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82019         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82020         * sysdeps/x86_64/wcschr.S: New file.
82021         * sysdeps/x86_64/wcsrchr.S: New file.
82022         * string/test-strcmp.c: Remove checking of wcscmp function for
82023         wrong alignments.
82024         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82025         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82026         wcsrchr-sse2 wcsrchr-c.
82027         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82028         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82029         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82030         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82031         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82032         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82033         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82034         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82035         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82036         * wcsmbc/wcschr.c (WCSCHR): New macro.
82038 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82040         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82041         * wcsmbs/test-wcsrchr.c: New file.
82042         * string/test-strrchr.c: Add wcsrchr support.
82043         (WIDE): New macro.
82044         * wcsmbs/test-wcscpy.c: New file.
82045         * string/test-strcpy.c: Add wcscpy support.
82046         (WIDE): New macro.
82048 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82050         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82051         the inner loop.
82053 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82055         [BZ #13472]
82056         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82058 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82060         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82061         Minor optimizations.
82063         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82064         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82065         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82067 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82069         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82070         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82071         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82072         for gcc to avoid warnings.
82073         * inet/Makefile (tests): Add tst-checks.
82074         * inet/tst-checks.c: New file.
82076         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82077         warning.
82079         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82080         __wmemcmp_sse2.
82082         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82083         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82085         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82087 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82089         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82090         problem.
82092         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82094 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82096         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82097         conditional on GCC version.
82098         (__arch_compare_and_exchange_val_8_acq)
82099         (__arch_compare_and_exchange_val_16_acq)
82100         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82101         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82102         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82104 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82106         * sysdeps/sh/backtrace.c: New file.
82108 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82110         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82111         parenthesis.
82113 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82115         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82116         falling back to utime.
82118 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82120         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82121         expectations for float.
82123 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82125         * locale/weight.h (findidx): Add parameter len.
82126         * locale/weightwc.h (findidx): Likewise.
82127         * posix/fnmatch_loop.c (FCT): Adjust caller.
82128         * posix/regcomp.c (build_equiv_class): Likewise.
82129         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82130         * posix/regexec.c (check_node_accept_bytes): Likewise.
82131         * string/strcoll_l.c (STRCOLL): Likewise.
82132         * string/strxfrm_l.c (STRXFRM): Likewise.
82134 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82136         * Makefile.in: Remove CVSOPT handling.
82137         * configure.in: Remove use of AC_REVISION.
82138         * iconvdata/Makefile (distribute): No need to filter out CVS.
82139         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82140         handling.
82142 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82145         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82146         [USE_AS_STRNCASECMP_L]: Likewise.
82147         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82148         NO_TLS_DIRECT_SEG_REFS.
82149         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82150         Fix argument offsets for non-PIC.
82151         [USE_AS_STRNCASECMP_L]: Likewise.
82152         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82153         NO_TLS_DIRECT_SEG_REFS.
82155 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82157         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82158         O_CLOEXEC.
82159         * locale/loadlocale.c (_nl_load_locale): Likewise.
82161 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82163         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82164         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82165         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82166         (SYSCALL_GETTIME): Set errno on error.
82168         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82169         count references to noai6ai_cached.
82171 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82173         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82175         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82176         FD_CLOEXEC for /proc/self/maps.
82178         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82179         FD_CLOEXEC for /proc/meminfo.
82181         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82182         gai.conf.
82184         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82185         FD_CLOEXEC for given file.
82187         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82189         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82190         FD_CLOEXEC for /etc/hosts.
82191         (_gethtent): Likewise.
82193         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82195         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82196         cancellation and set FD_CLOEXEC for /etc/netgroup.
82198         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82199         reading /etc/publickey.
82201         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82202         allow cancellation when reading /etc/group.
82204         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82205         cancellation.
82206         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82208         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82209         when using data file.
82211         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82213         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82214         (write_nis_obj): Use "c" and "e" in fopen.
82216         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82218         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82220         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82222         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82224         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82225         locale.alias.
82227         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82229         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82231         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82233         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82234         file parsing and set FD_CLOEXEC.
82236 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82238         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82240 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82242         * malloc/arena.c (arena_get2): Don't call reused_arena when
82243         _int_new_arena failed.
82245 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82247         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82248         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82249         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82250         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82251         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82252         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82253         to compile strcasecmp and strncasecmp.
82254         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82255         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82259 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82261         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82262         locale-defines.sym to gen-as-const-headers.
82263         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82264         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82265         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82266         to compile strcasecmp and strncasecmp.
82267         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82268         strcasecmp_l and strncasecmp_l.
82269         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82270         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82271         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82272         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82273         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82274         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82275         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82276         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82277         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82278         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82279         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82281 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82283         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82284         result of SYSDEP_GETTIME_CPU to retval.
82285         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82286         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82288         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82289         variable.
82291         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82292         mantissa words.
82293         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82295         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82296         from unused variable.
82298         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82299         DWARF definitions.
82300         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82301         for assembling.
82303         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82304         over namespaces.
82306         * sunrpc/rpc_prot.c (rejected): Fix case value.
82308         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82309         unsigned long long int to avoid warnings in shift.
82311         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82312         of use of trans.
82313         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82314         variable tmp.
82316         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82317         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82318         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82320         * nis/nis_table.c (nis_list): Use variable of correct type for
82321         result of __follow_path call.
82323 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82325         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82326         of math functions ceil, trunc, floor, round, and sqrt, when
82327         avaliable on the platform.
82328         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82329         name clash.
82330         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82331         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82332         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82334 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82336         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82337         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82339 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82341         * include/unistd.h: Fix __readlink return type.
82342         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82344 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82346         * stdlib/ucontext.h: Undo last change for makecontext.
82348 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82350         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82352         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82353         * setjmp/setjmp.h: Mark functions as non-leaf.
82354         * setjmp/bits/setjmp2.h: Likewise.
82355         * stdlib/ucontext.h: Likewise.
82357 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82359         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82360         (reused_arena): Don't check arena limit.
82361         (arena_get2): Atomically check arena limit.
82363 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82365         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82366         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82368         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82369         instructions.
82371 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82373         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82374         handler when locking.
82376         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82377         Fix size of allocated buffer.
82379 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82381         [BZ #10103]
82382         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82383         declarations for long double functions.
82384         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82386         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82388 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82390         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82391         installed.
82393         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82394         is disabled.
82396 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82398         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82400 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82402         * include/alloca.h (stackinfo_alloca_round): Define.
82403         (extend_alloca): Use it.
82404         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82405         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82406         here.
82408         * scripts/check-local-headers.sh: Ignore libaudit.h.
82410         * nscd/Makefile (extra-objs): Make recursively expanded.
82412 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82414         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82415         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82417         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82418         * posix/tst-rfc3484-2.c: Likewise.
82419         * posix/tst-rfc3484-3.c: Likewise.
82421         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82422         process_vm_writev.
82423         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82424         process_vm_writev.
82425         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82426         process_vm_writev from libc using GLIBC_2.15 version.
82428         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82430 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82432         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82433         stack usage.
82435 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82437         [BZ #13367]
82438         * nss/getent.c (initgroups_keys): Show error message in case no group
82439         names are given.
82441         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82442         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82443         __bump_nl_timestamp.
82444         * nscd/connections (nscd_init): When host database is served open
82445         netlink socket and request notification about configuration changes.
82446         (main_loop_poll): Track netlink file descriptor and bump timestamp
82447         in case data becomes available.
82448         (main_loop_epoll): Likewise.
82449         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82450         (database_pers_head): Add extra_data fileds.
82451         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82452         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82453         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82454         Adjust caller.
82455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82456         in6ai data, call __free_in6ai.
82457         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82458         Add -DHAVE_NETLINK.
82459         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82460         interface information.  Reuse previous data if netlink timestamp
82461         is not changed.
82462         (__bump_nl_timestamp): New function.
82463         (__free_in6ai): New function.
82465 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82467         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82468         close_not_cancel_no_status here.
82469         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82471 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82473         [BZ #13276]
82474         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82475         return value.
82477         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82478         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82479         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82481 2011-07-03  Andreas Jaeger  <aj@suse.de>
82483         [BZ #10709]
82484         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82485         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82486         * math/libm-test.inc (sin_test): Add test case.
82488 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82490         [BZ #13337]
82491         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
82492         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82494         * elf/chroot_canon.c (chroot_canon): Cleanups.
82496         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
82498         [BZ #13335]
82499         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
82500         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82502         * string/test-strchr.c: Make usable for strchrnul testing.
82503         * string/test-strchrnul.c: New file.
82504         * string/Makefile (strop-tests): Add strchrnul.
82506         * po/it.po: Update from translation team.
82507         * po/es.po: Likewise.
82509 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
82511         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
82512         the three constants needed as parameters.  Drop the others.
82513         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
82514         __m128i_strloadu_tolower.
82515         Create and initialize variable zero and use it in all the places
82516         where _mm_setzero_si128 was used.
82518         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
82519         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
82520         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
82521         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
82522         anymore.
82523         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
82524         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
82525         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
82526         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
82527         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
82528         __mpranred, __mptan.
82529         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
82530         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
82531         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
82532         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
82533         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
82534         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
82535         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
82536         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
82537         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
82539 2011-10-28  Andreas Schwab  <schwab@redhat.com>
82541         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
82542         redefine if SHARED.
82543         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
82545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
82546         wide char related routines to wcsmbs subdir.
82548 2011-10-27  Andreas Schwab  <schwab@redhat.com>
82550         [BZ #13344]
82551         * misc/sys/cdefs.h (__THROWNL): Define.
82552         * posix/unistd.h: Use __THREADNL instead of __THREAD
82553         for memory synchronization functions.
82555 2011-10-26  Roland McGrath  <roland@hack.frob.com>
82557         [BZ #13349]
82558         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
82559         doesn't exist.
82560         * manual/stdio.texi (Obstack Streams): Node removed.
82562 2011-10-26  Andreas Schwab  <schwab@redhat.com>
82564         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
82565         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82566         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82568         * math/math_private.h (math_force_eval): Allow non-addressable
82569         arguments.
82570         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
82572 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82574         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
82575         file is not needed.
82577         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
82578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
82579         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82580         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82581         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82582         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82583         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82584         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
82585         Add AVX variants.
82586         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
82587         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
82588         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
82589         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
82590         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
82591         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
82592         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
82593         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
82594         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
82595         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
82596         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
82597         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
82598         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
82599         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
82600         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
82601         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
82602         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
82603         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
82604         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
82606         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
82607         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
82609         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
82610         place.  Use VEX encoding when compiling for AVX.
82612 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82614         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
82615         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
82617         * string/test-strchr.c (do_test): Don't generate NUL bytes.
82619 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82621         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
82622         useless if() expression.
82623         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82624         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82625         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82627         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82628         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82629         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82630         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82631         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82632         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82633         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82634         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82635         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82636         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82637         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82638         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82639         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82640         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82641         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82643         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
82645 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82647         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
82648         condition.
82649         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82651 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82653         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
82654         .text section.  Avoid duplicate constants.
82655         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82656         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82657         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82659         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82661         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82663         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82664         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82665         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82666         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82667         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82668         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82669         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82670         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82671         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82672         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82673         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82675         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82676         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82677         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82678         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82679         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82680         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82681         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82682         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82683         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82684         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82685         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82686         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82688         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82689         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82690         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82691         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82692         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82693         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82694         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82695         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82696         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82697         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82698         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82699         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82701 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82703         * sysdeps/x86_64/dla.h: Move to ...
82704         * sysdeps/x86_64/fpu/dla.h: ...here.
82705         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82706         situations.  Use __builtin_fma only for gcc 4.6 and up.
82708         * config.make.in: Add have-mfma4 entry.
82709         * configure.in: Substitute libc_cv_cc_fma4.
82710         * math/Makefile (dbl-only-routines): Add sincostab.
82711         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82712         Use __sincostab not sincos.
82713         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82714         name is a macro.
82715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82719         using __copysign.
82720         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82721         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82722         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82723         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82724         and __inv.
82725         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82726         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82727         __copysign.
82728         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82729         define aliases when function name is a macro.
82730         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82731         sysdeps/ieee754/dbl-64/sincos.tbl.
82732         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82733         fma4-enabled routines.
82734         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82735         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82736         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82737         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82738         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82739         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82740         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82741         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82742         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82743         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82744         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82745         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82746         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82747         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82748         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82749         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82750         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82751         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82752         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82753         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82754         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82755         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82756         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82757         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82758         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82759         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82760         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82761         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82762         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82763         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82765         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82766         rename.
82767         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82769         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82771         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82772         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82773         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82774         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82776 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82778         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82780 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82782         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82784         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82785         prediction.
82786         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82788         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82789         Remove unused variable magic_bits.
82790         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82792         * string/strnlen.c: Define and use STRNLEN macro.
82793         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82794         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82795         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82796         * wcsmbs/wcslen.c: Define and use WCSLEN.
82797         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82798         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82799         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82800         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82801         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82802         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82803         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82805 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82808         strnlen-sse2-no-bsf.
82809         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82810         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82811         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82812         Add strnlen support.
82813         (USE_AS_STRNLEN): New macro.
82814         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82815         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82816         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82817         * sysdeps/x86_64/wcslen.S: New file.
82819 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82821         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82822         XMM-moves are used for copying on small sizes.
82824 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82826         * wcsmbs/Makefile (strop-tests): Add wcschr.
82827         * wcsmbs/test-wcschr.c: New file.
82828         * string/test-strchr.c: Update.
82829         Add wcschr support.
82830         (WIDE): New macro.
82832 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82834         * wcsmbs/Makefile (strop-tests): Add wcslen.
82835         * wcsmbs/test-wcslen.c: New file.
82836         * string/test-strlen.c: Update.
82837         Add wcslen support.
82838         (WIDE): New macro.
82840 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82842         * po/it.po: Update from translation team.
82844 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82846         * sysdeps/x86_64/wcscmp.S: Update.
82847         Fix wrong comparison semantics.
82848         wcscmp shall use signed comparison not unsigned.
82849         Don't use substraction to avoid overflow bug.
82850         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82851         * wcsmbc/wcscmp.c: Likewise.
82852         * string/test-strcmp.c: Likewise.
82853         Add new tests to check cases with negative values.
82855 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82857         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82858         * sysdeps/x86_64/dla.h: ...here.  New file.
82859         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82860         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82861         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82862         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82863         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82864         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82865         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82866         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82867         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82869 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82871         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82872         __ynl_finite aliases.
82874 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82878         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82879         define DLA_FMA.
82880         [DLA_FMA] (EMULV): Use DLA_FMA.
82881         [DLA_FMA] (MUL12): Use EMULV.
82882         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82883         that are not needed.
82884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82885         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82892 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82894         * math/s_nan.c: Undef __nan.
82895         * math/s_nanf.c: Undef __nanf.
82896         * math/s_nanl.c: Undef __nanl.
82897         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82898         "math_private.h".
82900 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82902         * math/s_catan.c: Add branch predictions.
82903         * math/s_catanf.c: Likewise.
82904         * math/s_catanh.c: Likewise.
82905         * math/s_catanhf.c: Likewise.
82906         * math/s_catanhl.c: Likewise.
82907         * math/s_catanl.c: Likewise.
82908         * math/s_cexp.c: Likewise.
82909         * math/s_cexpf.c: Likewise.
82910         * math/s_cexpl.c: Likewise.
82911         * math/s_clog.c: Likewise.
82912         * math/s_clog10.c: Likewise.
82913         * math/s_clog10f.c: Likewise.
82914         * math/s_clog10l.c: Likewise.
82915         * math/s_clogf.c: Likewise.
82916         * math/s_clogl.c: Likewise.
82917         * math/s_csqrt.c: Likewise.
82918         * math/s_csqrtf.c: Likewise.
82919         * math/s_csqrtl.c: Likewise.
82920         * math/s_ctanf.c: Likewise.
82921         * math/s_ctanh.c: Likewise.
82922         * math/s_ctanhf.c: Likewise.
82923         * math/s_ctanhl.c: Likewise.
82924         * math/s_ctanl.c: Likewise.
82926         * math/math_private.h: Define __nan, __nanf, __nanl.
82927         * math/s_cacosh.c: Include <math_private.h>.
82928         * math/s_cacoshl.c: Likewise.
82929         * math/s_casinh.c: Likewise.
82930         * math/s_casinhf.c: Likewise.
82931         * math/s_casinhl.c: Likewise.
82932         * math/s_ccos.c: Rely entire on ccosh.
82933         * math/s_ccosf.c: Rely entire on ccoshf.
82934         * math/s_ccosl.c: Rely entirely on ccoshl.
82935         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82936         Remove tests for FE_INVALID.
82937         * math/s_ccoshf.c: Likewise.
82938         * math/s_ccoshl.c: Likewise.
82939         * math/s_csin.c: Likewise.
82940         * math/s_csinf.c: Likewise.
82941         * math/s_csinh.c Likewise.
82942         * math/s_csinhf.c: Likewise.
82943         * math/s_csinhl.c: Likewise.
82944         * math/s_csinl.c: Likewise.
82945         * math/s_ctan.c: Likewise.
82946         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82947         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82948         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82950 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82953         compilation problems.
82955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82956         __builtin_expect.
82958 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82960         * sysdeps/i386/configure.in: Test for -mfma4 option.
82961         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82962         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82963         COMMON_CPUID_INDEX_80000001.
82964         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82965         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82966         use it if FMA3 is not supported.
82967         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82969         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82970         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82972 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82974         [BZ #12892]
82975         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82976         it would create a cycle with a link time dependency.
82978 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82980         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82981         instruction.
82982         * string/Makefile (strop-tests): Add rawmemchr.
82983         * string/test-rawmemchr.c: New file.
82985         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82986         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82987         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82988         when compiling str{,n}casecmp and when AVX is available.  Hook up
82989         new optimized code in initializers.
82991 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82993         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82994         __feraiseexcept instead of feraiseexcept.
82996 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82998         * math/math_private.h: Define defaults for libc_fetestexcept and
82999         libc_feupdateenv.
83000         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83001         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83002         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83003         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83004         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83005         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83006         libc_fetestexcept and libc_feupdateenv.
83008         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83009         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83010         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83011         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83012         libc_feholdexcept_setround.
83014         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83015         Add s_nearbyint-c and s_nearbyintf-c.
83016         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83017         nearbyintf inlines.
83018         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83019         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83020         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83021         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83023         * math/math_private.h: Define defaults for libc_fegetround,
83024         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83025         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83026         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83027         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83028         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83029         standard functions.
83030         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83031         Remove comments and hacks for old compiler versions.
83032         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83033         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83034         libc_feholdexceptl.
83036 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83038         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83039         (__feraiseexcept_renamed): Add __NTH.
83040         (feraiseexcept): Add __NTH.  Rename local variables to fix
83041         namespace violations.
83043 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83045         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83047         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83049         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83050         recently added interfaces.
83051         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83053         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83054         about macro parameter expansion.
83056         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83057         __NO_MATH_INLINES is defined.  Cleanups.
83059         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83060         and __floorf is target has SSE4.1.
83061         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83062         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83063         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83064         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83066         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83067         name.
83068         (floorf): Likewise.
83070         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83072 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83074         * misc/sys/cdefs.h: Fix last change.
83076         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83077         database lookup.
83079 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83081         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83083         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83084         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83085         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83086         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83087         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83088         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83089         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83090         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83091         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83092         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83093         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83094         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83095         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83096         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83097         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83098         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83099         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83100         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83101         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83102         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83103         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83104         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83106         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83107         ceil, ceilf, floor, floorf.
83109         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83110         Perform IRELATIVE relocations last.
83112         * elf/do-rel.h: Add another parameter nrelative, replacing the
83113         local variable with the same name.  Change name of the function
83114         to end in Rel or Rela (uppercase).
83115         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83116         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83117         elf_dynamic_do_##reloc function.
83119 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83121         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83122         is sufficient, at least on modern CPUs.
83124         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83126         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83127         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83129         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83130         __expl_finite.
83131         * math/bits/math-finite.h: Add entries for exp.
83132         * math/e_expl.c: Add __*_finite alias.
83133         * sysdeps/i386/fpu/e_exp.S: Likewise.
83134         * sysdeps/i386/fpu/e_expf.S: Likewise.
83135         * sysdeps/i386/fpu/e_expl.c: Likewise.
83136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83137         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83138         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83139         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83140         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83141         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83142         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83144         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83145         is sufficient, at least on modern CPUs.
83147         * ctype/ctype-info.c (__ctype_init): Define.
83148         * include/ctype.h (__ctype_init): Declare.
83149         (__ctype_b_loc): The variable is always initialized.
83150         (__ctype_toupper_loc): Likewise.
83151         (__ctype_tolower_loc): Likewise.
83152         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83153         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83155 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83157         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83159         * configure.in: Also look in $cxxmachine/include for C++ system
83160         headers.
83162 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83164         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83165         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83166         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83167         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83168         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83169         (USE_AS_WMEMCMP): New macro.
83170         Fixing indents.
83171         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83172         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83173         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83174         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83176         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83177         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83178         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83179         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83180         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83181         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83182         (USE_AS_WMEMCMP): New macro.
83183         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83184         * sysdeps/string/test-memcmp.c: Update.
83185         Fix simple_wmemcmp.
83186         Add new tests.
83187         * wcsmbs/wmemcmp.c: Update.
83188         (WMEMCMP): New macro.
83189         Fix overflow bug.
83191 2011-10-12  Andreas Jaeger  <aj@suse.de>
83193         [BZ #13268]
83194         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83196 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83198         * libio/iofwide.c (do_length): Avoid warning.
83200         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83202 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83204         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83206         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83207         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83208         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83209         * sysdeps/i386/i686/fpu/e_log.S: New file.
83210         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83211         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83213         * ctype/ctype.h: Add support for inlined isXXX functions when
83214         compiling C++ code.
83216 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83218         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83220         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83222 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83224         [BZ #13291]
83225         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83227 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83229         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83230         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83231         feraiseexcept.
83233         * sysdeps/x86_64/memrchr.S: Check for zero size.
83235         * string/stratcliff.c: Add memrchr tests.
83237 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83240         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83241         rawmemchr-sse2 rawmemchr-sse2-bsf.
83242         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83243         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83244         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83245         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83246         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83247         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83248         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83249         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83250         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83251         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83252         * string/memrchr.c (MEMRCHR): New macro.
83254 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83256         Add integration with gcc's -ffinite-math-only and optimize wrapper
83257         functions in libm.
83258         * Versions.def: Define GLIBC_2.15 version for libm.
83259         * math/Makefile (headers): Add bits/math-finite.h.
83260         * math/bits/math-finite.h: New file.
83261         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83262         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83263         * math/e_acoshl.c: Add __*_finite alias.
83264         * math/e_acosl.c: Likewise.
83265         * math/e_asinl.c: Likewise.
83266         * math/e_atan2l.c: Likewise.
83267         * math/e_atanhl.c: Likewise.
83268         * math/e_coshl.c: Likewise.
83269         * math/e_exp10.c: Likewise.
83270         * math/e_exp10f.c: Likewise.
83271         * math/e_exp10l.c: Likewise.
83272         * math/e_exp2l.c: Likewise.
83273         * math/e_fmodl.c: Likewise.
83274         * math/e_gammal_r.c: Likewise.
83275         * math/e_hypotl.c: Likewise.
83276         * math/e_j0l.c: Likewise.
83277         * math/e_j1l.c: Likewise.
83278         * math/e_jnl.c: Likewise.
83279         * math/e_lgammal_r.c: Likewise.
83280         * math/e_log10l.c: Likewise.
83281         * math/e_log2l.c: Likewise.
83282         * math/e_logl.c: Likewise.
83283         * math/e_powl.c: Likewise.
83284         * math/e_sinhl.c: Likewise.
83285         * math/e_sqrtl.c: Likewise.
83286         * math/e_scalb.c: Completely rewritten and optimized.
83287         * math/e_scalbf.c: Likewise.
83288         * math/e_scalbl.c: Likewise.
83289         * math/w_acos.c: Likewise.
83290         * math/w_acosf.c: Likewise.
83291         * math/w_acosl.c: Likewise.
83292         * math/w_acosh.c: Likewise.
83293         * math/w_acoshf.c: Likewise.
83294         * math/w_acoshl.c: Likewise.
83295         * math/w_asin.c: Likewise.
83296         * math/w_asinf.c: Likewise.
83297         * math/w_asinl.c: Likewise.
83298         * math/w_atan2.c: Likewise.
83299         * math/w_atan2f.c: Likewise.
83300         * math/w_atan2l.c: Likewise.
83301         * math/w_atanh.c: Likewise.
83302         * math/w_atanhf.c: Likewise.
83303         * math/w_atanhl.c: Likewise.
83304         * math/w_exp10.c: Likewise.
83305         * math/w_exp10f.c: Likewise.
83306         * math/w_exp10l.c: Likewise.
83307         * math/w_fmod.c: Likewise.
83308         * math/w_fmodf.c: Likewise.
83309         * math/w_fmodl.c: Likewise.
83310         * math/w_j0.c: Likewise.
83311         * math/w_j0f.c: Likewise.
83312         * math/w_j0l.c: Likewise.
83313         * math/w_j1.c: Likewise.
83314         * math/w_j1f.c: Likewise.
83315         * math/w_j1l.c: Likewise.
83316         * math/w_jn.c: Likewise.
83317         * math/w_jnf.c: Likewise.
83318         * math/w_log.c: Likewise.
83319         * math/w_logf.c: Likewise.
83320         * math/w_logl.c: Likewise.
83321         * math/w_log10.c: Likewise.
83322         * math/w_log10f.c: Likewise.
83323         * math/w_log10l.c: Likewise.
83324         * math/w_log2.c: Likewise.
83325         * math/w_log2f.c: Likewise.
83326         * math/w_log2l.c: Likewise.
83327         * math/w_pow.c: Likewise.
83328         * math/w_powf.c: Likewise.
83329         * math/w_powl.c: Likewise.
83330         * math/w_remainder.c: Likewise.
83331         * math/w_remainderf.c: Likewise.
83332         * math/w_remainderl.c: Likewise.
83333         * math/w_scalb.c: Likewise.
83334         * math/w_scalbf.c: Likewise.
83335         * math/w_scalbl.c: Likewise.
83336         * math/w_sqrt.c: Likewise.
83337         * math/w_sqrtf.c: Likewise.
83338         * math/w_sqrtl.c: Likewise.
83339         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83340         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83341         used.
83342         * math/math_private.h: Declare __kernel_standard_f.
83343         * math/w_cosh.c: Remove cruft and optimize a bit.
83344         * math/w_coshf.c: Likewise.
83345         * math/w_coshl.c: Likewise.
83346         * math/w_exp2.c: Likewise.
83347         * math/w_exp2f.c: Likewise.
83348         * math/w_exp2l.c: Likewise.
83349         * math/w_hypot.c: Likewise.
83350         * math/w_hypotf.c: Likewise.
83351         * math/w_hypotl.c: Likewise.
83352         * math/w_lgamma.c: Likewise.
83353         * math/w_lgamma_r.c: Likewise.
83354         * math/w_lgammaf.c: Likewise.
83355         * math/w_lgammaf_r.c: Likewise.
83356         * math/w_lgammal.c: Likewise.
83357         * math/w_lgammal_r.c: Likewise.
83358         * math/w_sinh.c: Likewise.
83359         * math/w_sinhf.c: Likewise.
83360         * math/w_sinhl.c: Likewise.
83361         * math/w_tgamma.c: Likewise.
83362         * math/w_tgammaf.c: Likewise.
83363         * math/w_tgammal.c: Likewise.
83364         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83365         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83366         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83367         Minor optimizations.  Pretty printing.  Remove cruft.
83368         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83369         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83370         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83371         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83372         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83373         * sysdeps/i386/fpu/e_asin.S: Likewise.
83374         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83375         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83376         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83377         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83378         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83379         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83380         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83381         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83382         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83383         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83384         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83385         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83386         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83387         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83388         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83389         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83390         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83391         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83392         * sysdeps/i386/fpu/e_log.S: Likewise.
83393         * sysdeps/i386/fpu/e_log10.S: Likewise.
83394         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83395         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83396         * sysdeps/i386/fpu/e_log2.S: Likewise.
83397         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83398         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83399         * sysdeps/i386/fpu/e_logf.S: Likewise.
83400         * sysdeps/i386/fpu/e_logl.S: Likewise.
83401         * sysdeps/i386/fpu/e_pow.S: Likewise.
83402         * sysdeps/i386/fpu/e_powf.S: Likewise.
83403         * sysdeps/i386/fpu/e_powl.S: Likewise.
83404         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83405         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83406         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83407         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83408         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83409         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83410         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83411         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83412         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83413         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83414         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83416         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83417         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83418         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83419         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83420         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83421         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83422         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83423         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83424         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83425         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83426         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83427         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83429         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83430         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83431         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83432         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83433         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83434         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83435         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83436         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83437         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83438         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83439         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83440         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83441         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83442         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83443         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83444         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83447         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83448         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83449         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83450         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83451         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83452         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83453         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83454         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83455         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83456         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83457         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83458         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83459         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83460         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83461         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83462         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83463         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83464         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83465         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83466         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83467         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83468         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83469         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83470         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83471         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83472         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83473         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83474         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83475         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83477         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83478         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83479         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83480         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83481         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83482         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83483         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83484         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83485         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83486         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83487         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83488         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83489         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
83490         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83491         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83492         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83493         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83494         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83495         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
83496         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83497         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83498         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83499         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83500         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83501         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83502         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83503         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83504         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83505         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83506         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
83507         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83508         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83509         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83510         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
83511         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
83512         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
83513         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
83514         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
83515         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
83516         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
83517         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83518         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83519         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83520         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83521         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
83522         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83523         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
83524         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
83525         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
83526         (__isnanf): Likewise.
83527         (__isinf_ns): Likewise.
83528         (__isinf_nsf): Likewise.
83529         (__finite): Likewise.
83530         (__finitef): Likewise.
83531         (__ieee754_sqrt): Define as macro.
83532         (__ieee754_sqrtf): Define as macro.
83533         (__ieee754_sqrtl): Define as macro.
83534         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
83535         inlined copy.
83536         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
83537         __FINITE_MATH_ONLY__ consistent.
83538         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
83540 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
83542         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
83543         of rawmemchr.
83545         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
83547 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
83549         * po/ja.po: Update from translation team.
83551 2011-10-08  Roland McGrath  <roland@hack.frob.com>
83553         * locale/programs/locarchive.c (prepare_address_space): New function.
83554         (create_archive, enlarge_archive, open_archive): Use it.
83556         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
83557         inside [SHARED], where it is used.
83559         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
83561         * nss/getent.c (netgroup_keys): Remove unused variable.
83562         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83564 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
83566         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
83567         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
83568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
83569         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
83570         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
83571         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
83572         * math/Makefile (libm-calls): Add s_isinf_ns.
83573         * math/divtc3.c: Use __isinf_nsl instead of isinf.
83574         * math/multc3.c: Likewise.
83575         * math/s_casin.c: Likewise.
83576         * math/s_casinf.c: Likewise.
83577         * math/s_casinl.c: Likewise.
83578         * math/s_ccos.c: Likewise.
83579         * math/s_ccosf.c: Likewise.
83580         * math/s_ccosl.c: Likewise.
83581         * math/s_ctan.c: Likewise.
83582         * math/s_ctanf.c: Likewise.
83583         * math/s_ctanh.c: Likewise.
83584         * math/s_ctanhf.c: Likewise.
83585         * math/s_ctanhl.c: Likewise.
83586         * math/s_ctanl.c: Likewise.
83587         * math/w_fmod.c: Likewise.
83588         * math/w_fmodf.c: Likewise.
83589         * math/w_fmodl.c: Likewise.
83590         * math/w_remainder.c: Likewise.
83591         * math/w_remainderf.c: Likewise.
83592         * math/w_remainderl.c: Likewise.
83593         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
83594         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
83595         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
83596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
83597         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
83598         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
83599         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
83600         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
83602         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
83603         of the number.
83604         * stdio-common/printf_fphex.c: Likewise.
83605         * stdio-common/printf_size.c: Likewise.
83607         * math/e_exp10.c: Include math_private.h using <...> not "...".
83608         * math/e_exp10f.c: Likewise.
83609         * math/e_exp10l.c: Likewise.
83610         * math/e_exp2l.c: Likewise.
83611         * math/e_j0l.c: Likewise.
83612         * math/e_j1l.c: Likewise.
83613         * math/e_jnl.c: Likewise.
83614         * math/e_lgammal_r.c: Likewise.
83615         * math/e_rem_pio2l.c: Likewise.
83616         * math/e_scalb.c: Likewise.
83617         * math/e_scalbf.c: Likewise.
83618         * math/e_scalbl.c: Likewise.
83619         * math/k_cosl.c: Likewise.
83620         * math/k_sinl.c: Likewise.
83621         * math/k_tanl.c: Likewise.
83622         * math/s_cacoshf.c: Likewise.
83623         * math/s_catan.c: Likewise.
83624         * math/s_catanf.c: Likewise.
83625         * math/s_catanh.c: Likewise.
83626         * math/s_catanhf.c: Likewise.
83627         * math/s_catanhl.c: Likewise.
83628         * math/s_catanl.c: Likewise.
83629         * math/s_ccosh.c: Likewise.
83630         * math/s_ccoshf.c: Likewise.
83631         * math/s_ccoshl.c: Likewise.
83632         * math/s_cexp.c: Likewise.
83633         * math/s_cexpf.c: Likewise.
83634         * math/s_cexpl.c: Likewise.
83635         * math/s_clog.c: Likewise.
83636         * math/s_clog10.c: Likewise.
83637         * math/s_clog10f.c: Likewise.
83638         * math/s_clog10l.c: Likewise.
83639         * math/s_clogf.c: Likewise.
83640         * math/s_clogl.c: Likewise.
83641         * math/s_csin.c: Likewise.
83642         * math/s_csinf.c: Likewise.
83643         * math/s_csinh.c: Likewise.
83644         * math/s_csinhf.c: Likewise.
83645         * math/s_csinhl.c: Likewise.
83646         * math/s_csinl.c: Likewise.
83647         * math/s_csqrt.c: Likewise.
83648         * math/s_csqrtf.c: Likewise.
83649         * math/s_csqrtl.c: Likewise.
83650         * math/s_ctan.c: Likewise.
83651         * math/s_ctanf.c: Likewise.
83652         * math/s_ctanh.c: Likewise.
83653         * math/s_ctanhf.c: Likewise.
83654         * math/s_ctanhl.c: Likewise.
83655         * math/s_ctanl.c: Likewise.
83656         * math/s_ldexp.c: Likewise.
83657         * math/s_ldexpf.c: Likewise.
83658         * math/s_ldexpl.c: Likewise.
83659         * math/s_significand.c: Likewise.
83660         * math/s_significandf.c: Likewise.
83661         * math/s_significandl.c: Likewise.
83662         * math/w_acos.c: Likewise.
83663         * math/w_acosf.c: Likewise.
83664         * math/w_acosh.c: Likewise.
83665         * math/w_acoshf.c: Likewise.
83666         * math/w_acoshl.c: Likewise.
83667         * math/w_acosl.c: Likewise.
83668         * math/w_asin.c: Likewise.
83669         * math/w_asinf.c: Likewise.
83670         * math/w_asinl.c: Likewise.
83671         * math/w_atan2.c: Likewise.
83672         * math/w_atan2f.c: Likewise.
83673         * math/w_atan2l.c: Likewise.
83674         * math/w_atanh.c: Likewise.
83675         * math/w_atanhf.c: Likewise.
83676         * math/w_atanhl.c: Likewise.
83677         * math/w_cosh.c: Likewise.
83678         * math/w_coshf.c: Likewise.
83679         * math/w_coshl.c: Likewise.
83680         * math/w_dremf.c: Likewise.
83681         * math/w_exp10.c: Likewise.
83682         * math/w_exp10f.c: Likewise.
83683         * math/w_exp10l.c: Likewise.
83684         * math/w_exp2.c: Likewise.
83685         * math/w_exp2f.c: Likewise.
83686         * math/w_fmod.c: Likewise.
83687         * math/w_fmodf.c: Likewise.
83688         * math/w_fmodl.c: Likewise.
83689         * math/w_hypot.c: Likewise.
83690         * math/w_hypotf.c: Likewise.
83691         * math/w_hypotl.c: Likewise.
83692         * math/w_j0.c: Likewise.
83693         * math/w_j0f.c: Likewise.
83694         * math/w_j0l.c: Likewise.
83695         * math/w_j1.c: Likewise.
83696         * math/w_j1f.c: Likewise.
83697         * math/w_j1l.c: Likewise.
83698         * math/w_jn.c: Likewise.
83699         * math/w_jnf.c: Likewise.
83700         * math/w_jnl.c: Likewise.
83701         * math/w_lgamma.c: Likewise.
83702         * math/w_lgamma_r.c: Likewise.
83703         * math/w_lgammaf.c: Likewise.
83704         * math/w_lgammaf_r.c: Likewise.
83705         * math/w_lgammal.c: Likewise.
83706         * math/w_lgammal_r.c: Likewise.
83707         * math/w_log.c: Likewise.
83708         * math/w_log10.c: Likewise.
83709         * math/w_log10f.c: Likewise.
83710         * math/w_log10l.c: Likewise.
83711         * math/w_log2.c: Likewise.
83712         * math/w_log2f.c: Likewise.
83713         * math/w_log2l.c: Likewise.
83714         * math/w_logf.c: Likewise.
83715         * math/w_logl.c: Likewise.
83716         * math/w_pow.c: Likewise.
83717         * math/w_powf.c: Likewise.
83718         * math/w_powl.c: Likewise.
83719         * math/w_remainder.c: Likewise.
83720         * math/w_remainderf.c: Likewise.
83721         * math/w_remainderl.c: Likewise.
83722         * math/w_scalb.c: Likewise.
83723         * math/w_scalbf.c: Likewise.
83724         * math/w_scalbl.c: Likewise.
83725         * math/w_sinh.c: Likewise.
83726         * math/w_sinhf.c: Likewise.
83727         * math/w_sinhl.c: Likewise.
83728         * math/w_sqrt.c: Likewise.
83729         * math/w_sqrtf.c: Likewise.
83730         * math/w_sqrtl.c: Likewise.
83731         * math/w_tgamma.c: Likewise.
83732         * math/w_tgammaf.c: Likewise.
83733         * math/w_tgammal.c: Likewise.
83735         * po/ja.po: Update from translation team.
83737 2011-09-29  Andreas Jaeger  <aj@suse.de>
83739         [BZ #13179]
83740         * sunrpc/netname.c (netname2host): Fix logic.
83742         [BZ #6779]
83743         [BZ #6783]
83744         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83745         correctly.
83746         * math/w_remainder.c (__remainder): Likewise.
83747         * math/w_remainderf.c (__remainderf): Likewise.
83748         * math/libm-test.inc (remainder_test): Add test cases.
83750 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83752         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83753         sdiv_qrnnd.
83755 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83757         * string/test-memcmp.c: Avoid unncessary #defines.
83758         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83760 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83762         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83763         Use new sse2 version for core i3 - i7 as it's faster
83764         than sse42 version.
83765         (bit_Prefer_PMINUB_for_stringop): New.
83766         * sysdeps/x86_64/rawmemchr.S: Update.
83767         Replace with faster SSE2 version.
83768         * sysdeps/x86_64/memrchr.S: New file.
83769         * sysdeps/x86_64/memchr.S: Update.
83770         Replace with faster SSE2 version.
83772 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83774         * elf/dl-load.c (lose): Add cast to avoid warning.
83776 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83778         * po/ca.po: Update from translation team.
83780         * inet/getnetgrent_r.c: Hook up nscd.
83781         * nscd/Makefile (routines): Add nscd_netgroup.
83782         (nscd-modules): Add netgroupcache.
83783         (CFLAGS-netgroupcache.c): Define.
83784         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83785         (cache_search): Add const to second parameter.
83786         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83787         INNETGR.
83788         (dbs): Add netgrdb entry.
83789         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83790         (verify_persistent_db): Handle netgrdb.
83791         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83792         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83793         GETFDNETGR.
83794         (netgroup_response_header): Define.
83795         (innetgroup_response_header): Define.
83796         (datahead): Add netgroup_response_header and innetgroup_response_header
83797         elements.
83798         * nscd/nscd.conf: Add entries for netgroup cache.
83799         * nscd/nscd.h (dbtype): Add netgrdb.
83800         (_PATH_NSCD_NETGROUP_DB): Define.
83801         (netgroup_iov_disabled): Declare.
83802         (xmalloc, xcalloc, xrealloc): Move declarations here.
83803         (cache_search): Adjust prototype.
83804         Add netgroup-related prototypes.
83805         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83806         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83807         (__nscd_innetgr): Declare.
83808         * nscd/selinux.c (perms): Use access_vector_t as element type and
83809         add netgroup-related initializers.
83810         * nscd/netgroupcache.c: New file.
83811         * nscd/nscd_netgroup.c: New file.
83812         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83813         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83814         For four parameters use innetgr.
83815         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83816         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83817         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83818         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83820         * nscd/connections.c (register_traced_file): Don't register file
83821         for disabled databases.
83823 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83825         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83827         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83828         from tree and freeing node.
83830 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83832         * nss/nsswitch.c (__nss_database_lookup): Handle
83833         nss_parse_service_list out of memory case.
83835 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83837         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83838         out of memory case.
83840 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83842         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83843         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83844         pass it down.
83845         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83846         elf_machine_rela, elf_machine_lazy_rel.
83847         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83848         (ELF_DYNAMIC_DO_REL): Likewise.
83849         (ELF_DYNAMIC_DO_RELA): Likewise.
83850         (ELF_DYNAMIC_RELOCATE): Likewise.
83851         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83852         to ELF_DYNAMIC_DO_REL.
83853         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83854         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83855         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83856         elf_machine_rela.
83857         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83858         skip_ifunc, don't call ifunc function if non-zero.
83859         (elf_machine_rela): Likewise.
83860         (elf_machine_lazy_rel): Likewise.
83861         (elf_machine_lazy_rela): Likewise.
83862         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83863         (elf_machine_lazy_rel): Likewise.
83864         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83865         Likewise.
83866         (elf_machine_lazy_rel): Likewise.
83867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83868         Likewise.
83869         (elf_machine_lazy_rel): Likewise.
83870         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83871         (elf_machine_lazy_rel): Likewise.
83872         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83873         (elf_machine_lazy_rel): Likewise.
83874         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83875         (elf_machine_lazy_rel): Likewise.
83876         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83877         (elf_machine_lazy_rel): Likewise.
83878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83879         (elf_machine_lazy_rel): Likewise.
83880         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83881         (elf_machine_lazy_rel): Likewise.
83883 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83885         * nss/nss_files/files-init.c (_nss_files_init): Use static
83886         initialization for all the *_traced_file variables.
83888 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83890         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83892 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83894         [BZ #13226]
83895         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83897 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83899         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83900         Reread the line before reparsing it.
83902 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83904         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83906 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83907             Maxim Kuvyrkov  <maxim@codesourcery.com>
83908             Joseph Myers  <joseph@codesourcery.com>
83910         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83911         if needed for __stack_chk_guard.
83913 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83915         * sysdeps/posix/spawni.c (script_execute): Always define it.
83916         It will be optimized away if unused.
83917         (maybe_script_execute): New function.
83918         (__spawni): Call it.
83920         * Makerules: Don't include tls.make.
83921         (config-tls): Always set to thread.
83922         * tls.make.c: File removed.
83924 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83926         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83927         * config.make.in (CPPFLAGS-config): New substituted variable.
83929 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83933         [BZ #13192]
83934         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83935         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83937 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83939         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83940         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83941         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83942         (CALL_FAIL): Likewise.
83943         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83944         (CALL_FAIL): Macro removed.
83945         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83947 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83949         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83950         for __FINITE_MATH_ONLY__ == 1.
83952 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83954         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83955         __ieee754_sqrt instead of sqrt.
83956         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83957         __ieee754_sqrtf instead of sqrtf.
83958         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83959         __floorf instead of floorf.
83960         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83961         __floorf, __truncf instead of floorf, truncf.
83963 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83965         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83967         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83968         __extern_always_inline.
83969         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83970         32-bit.
83972 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83974         * elf/rtld.c (dl_main): Also relocate in dependency order when
83975         doing symbol dependency testing.
83977 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83980         Always define `refsym'.
83982 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83984         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83985         (__FD_ELT): Renamed from __FDELT.
83986         * misc/bits/select2.h (__FD_ELT): Likewise.
83987         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83988         __FD_MASK instead of __FDELT, __FDMASK.
83989         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83990         Likewise.
83991         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83992         Likewise.
83994         * elf/Makefile (gen-ldd): Fix pattern.
83996         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83997         (init_tls): Likewise.
83999 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84001         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84003 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84005         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84006         `struct cmsghdr *' instead of `void *'.
84007         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84008         Likewise.
84010 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84012         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84013         if non-absolute.
84014         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84015         ldd_rewrite_script.
84017 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84019         * configure.in: Remove --with-tls option.
84020         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84021         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84022         out in case it is missing.
84023         * sysdeps/ia64/elf/configure.in: Likewise.
84024         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84025         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84026         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84027         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84028         * sysdeps/sh/elf/configure.in: Likewise.
84029         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84030         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84031         * sysdeps/x86_64/elf/configure.in: Likewise.
84032         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84033         * sysdeps/mach/hurd/tls.h: Likewise.
84035         [BZ #13067]
84036         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84038         [BZ #13090]
84039         * configure.in: Fix use of AC_INIT.
84041         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84043 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84045         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84046         __set_errno.
84047         * malloc/hooks.c: Likewise.
84049         [BZ #11929]
84050         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84051         variables statically.
84052         (narenas): Initialize.
84053         (list_lock): Initialize.
84054         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84055         initializtion of main_arena and list_lock.  Small cleanups.
84056         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84057         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84058         Add initializers to main_arena and mp_.
84059         (malloc_state): Remove pagesize member.  Change all users to use
84060         GLRO(dl_pagesize).
84062         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84063         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84064         is always initialized.
84066         * malloc/malloc.c: Removed unused configurations and dead code.
84067         * malloc/arena.c: Likewise.
84068         * malloc/hooks.c: Likewise.
84069         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84071         * include/tls.h: Removed.  USE___THREAD must always be defined.
84072         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84073         * elf/dl-libc.c: Likewise.
84074         * elf/dl-tsd.c: Likewise.
84075         * include/errno.h: Likewise.
84076         * include/netdb.h: Likewise.
84077         * include/resolv.h: Likewise.
84078         * inet/herrno-loc.c: Likewise.
84079         * inet/herrno.c: Likewise.
84080         * malloc/arena.c: Likewise.
84081         * malloc/hooks.c: Likewise.
84082         * malloc/malloc.c: Likewise.
84083         * resolv/res-state.c: Likewise.
84084         * resolv/res_libc.c: Likewise.
84085         * sysdeps/i386/dl-machine.h: Likewise.
84086         * sysdeps/ia64/dl-machine.h: Likewise.
84087         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84088         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84089         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84090         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84091         * sysdeps/sh/dl-machine.h: Likewise.
84092         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84093         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84094         * sysdeps/unix/i386/sysdep.S: Likewise.
84095         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84096         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84097         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84099         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84100         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84101         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84102         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84105         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84106         * sysdeps/x86_64/dl-machine.h: Likewise.
84107         * tls.make.c: Likewise.
84109         * configure.in: Remove --with-__thread option.  Make tests for
84110         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84111         tls_model attribute fail if no support is available.  Remove
84112         USE_IN_LIBIO.
84113         * Makeconfig: Adjust for dropped configure option.  All features are
84114         now mandatory.
84115         * Makerules: Likewise.
84116         * Versions.def: Likewise.
84117         * argp/argp-fmtstream.c: Likewise.
84118         * argp/argp-fmtstream.h: Likewise.
84119         * argp/argp-help.c: Likewise.
84120         * assert/assert.c: Likewise.
84121         * config.h.in: Likewise.
84122         * config.make.in: Likewise.
84123         * configure: Likewise.
84124         * configure.in: Likewise.
84125         * csu/Versions: Likewise.
84126         * csu/init.c: Likewise.
84127         * elf/tst-audit2.c: Likewise.
84128         * elf/tst-tls10.c: Likewise.
84129         * elf/tst-tls10.h: Likewise.
84130         * elf/tst-tls11.c: Likewise.
84131         * elf/tst-tls12.c: Likewise.
84132         * elf/tst-tls14.c: Likewise.
84133         * elf/tst-tlsmod11.c: Likewise.
84134         * elf/tst-tlsmod12.c: Likewise.
84135         * elf/tst-tlsmod13.c: Likewise.
84136         * elf/tst-tlsmod13a.c: Likewise.
84137         * elf/tst-tlsmod14a.c: Likewise.
84138         * elf/tst-tlsmod15b.c: Likewise.
84139         * elf/tst-tlsmod16a.c: Likewise.
84140         * elf/tst-tlsmod16b.c: Likewise.
84141         * elf/tst-tlsmod7.c: Likewise.
84142         * elf/tst-tlsmod8.c: Likewise.
84143         * elf/tst-tlsmod9.c: Likewise.
84144         * gmon/gmon.c: Likewise.
84145         * grp/fgetgrent_r.c: Likewise.
84146         * grp/putgrent.c: Likewise.
84147         * hurd/fopenport.c: Likewise.
84148         * include/libc-symbols.h: Likewise.
84149         * include/tls.h: Likewise.
84150         * intl/gettextP.h: Likewise.
84151         * intl/loadinfo.h: Likewise.
84152         * locale/global-locale.c: Likewise.
84153         * locale/localeinfo.h: Likewise.
84154         * mach/devstream.c: Likewise.
84155         * malloc/arena.c: Likewise.
84156         * malloc/set-freeres.c: Likewise.
84157         * misc/err.c: Likewise.
84158         * misc/getttyent.c: Likewise.
84159         * misc/mntent_r.c: Likewise.
84160         * posix/getopt.c: Likewise.
84161         * posix/wordexp.c: Likewise.
84162         * pwd/fgetpwent_r.c: Likewise.
84163         * resolv/Versions: Likewise.
84164         * resolv/res_hconf.c: Likewise.
84165         * shadow/fgetspent_r.c: Likewise.
84166         * shadow/putspent.c: Likewise.
84167         * stdio-common/printf_fphex.c: Likewise.
84168         * stdio-common/tmpfile.c: Likewise.
84169         * stdlib/abort.c: Likewise.
84170         * stdlib/fmtmsg.c: Likewise.
84171         * sunrpc/auth_unix.c: Likewise.
84172         * sunrpc/clnt_perr.c: Likewise.
84173         * sunrpc/clnt_tcp.c: Likewise.
84174         * sunrpc/clnt_udp.c: Likewise.
84175         * sunrpc/clnt_unix.c: Likewise.
84176         * sunrpc/openchild.c: Likewise.
84177         * sunrpc/svc_simple.c: Likewise.
84178         * sunrpc/svc_tcp.c: Likewise.
84179         * sunrpc/svc_udp.c: Likewise.
84180         * sunrpc/svc_unix.c: Likewise.
84181         * sunrpc/xdr.c: Likewise.
84182         * sunrpc/xdr_array.c: Likewise.
84183         * sunrpc/xdr_rec.c: Likewise.
84184         * sunrpc/xdr_ref.c: Likewise.
84185         * sunrpc/xdr_stdio.c: Likewise.
84187 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84189         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84191 2011-07-03  Andreas Jaeger  <aj@suse.de>
84193         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84194         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84195         regenerate with gen-libm-tests.pl.
84197 2010-05-12  Petr Baudis  <pasky@suse.cz>
84199         [BZ #11589]
84200         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84201         around j0() zero points by switching to j1().
84202         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84203         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84205         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84207 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84209         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84210         instead of 0.
84211         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84212         instead of 0.
84213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84214         Patch in part by Pavel Roskin <proski@gnu.org>.
84216         [BZ #13138]
84217         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84218         realloc.
84219         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84220         Free memory block if necessary.
84222         [BZ #12847]
84223         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84224         be NULL.  Don't lock in this case.
84226 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84228         * elf/elf.h (ELFOSABI_GNU): New macro.
84229         (ELFOSABI_LINUX): Define to that.
84231 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84233         * string/strncat.c (strncat): Undef the symbol in case it has been
84234         defined in bits/string.h.
84236 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84238         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84240         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84241         link map.
84243 2011-08-17  Andreas Jaeger  <aj@suse.de>
84245         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84247 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84248             Ian Lance Taylor  <iant@google.com>
84250         * math/libm-test.inc (lround_test): New testcase.
84251         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84253 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84255         * Makefile: Remove support for automatic cvs check-ins.
84256         * Makerules: Likewise.
84257         * config.make.in: Likewise.
84258         * configure.in: Likewise.
84259         * intl/Makefile: Likewise.
84260         * locale/Makefile: Likewise.
84261         * po/Makefile: Likewise.
84262         * posix/Makefile: Likewise.
84263         * sysdeps/gnu/Makefile: Likewise.
84264         * sysdeps/mach/hurd/Makefile: Likewise.
84265         * sysdeps/sparc/sparc32/Makefile: Likewise.
84267         [BZ #13118]
84268         * posix/Makefile (bug-regex32-ENV): Define.
84269         Patch by John Stanley <jpsinthemix@verizon.net>.
84271         * misc/Makefile (headers): Add bits/select2.h.
84272         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84273         * misc/bits/select2.h: New file.
84274         * include/bits/select2.h: New file.
84275         * debug/Makefile (routines): Add fdelt_chk.
84276         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84277         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84278         FD_ISSET.
84279         * debug/fdelt_chk.c: New file.
84281         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84282         * wcsmbs/test-wmemcmp.c: Likewise.
84283         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84284         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84286 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84288         * string/Makefile (strop-tests): Add memcmp.
84289         * string/test-wmemcmp.c: New file.
84290         * string/test-memcmp.c: Add wmemcmp support.
84292 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84294         [BZ #13153]
84295         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84296         2011-07-19 change.
84298         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84299         garbage value in a __mach_port_mod_refs call in the cases of the
84300         task-self and thread-self ports.
84302 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84304         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84306 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84308         * elf/dl-load.c (lose): Check for non-null L.
84310 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84312         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84314         * elf/dl-libc.c (dlerror_run): Pass back error code from
84315         dl_catch_error.
84317         [BZ #13123]
84318         * elf/dl-load.c (lose): Free l_origin if it is valid.
84320         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84321         names.
84322         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84323         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84324         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84325         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84326         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84327         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84329 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84331         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84332         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84333         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84334         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84335         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84336         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84337         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84338         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84339         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84340         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84342 2011-08-15  Alan Modra  <amodra@gmail.com>
84344         [BZ #13092]
84345         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84346         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84347         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84348         ppc_mcount to static-only-routines.
84349         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84350         __mcount_internal.
84351         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84352         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84354 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84356         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84357         for finite and infinity parameters.
84359 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84361         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84362         and add nop instructions for throughput optimization.
84363         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84365 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84367         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84368         aligned copy for power7 with vector-scalar instructions.
84369         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84371 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84374         AVX check.
84376 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84378         [BZ #13144]
84379         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84380         last change.
84382 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84384         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84385         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84386         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84387         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84388         clock_gettime.
84390 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84392         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84393         Forgot to demangle the pointer.
84395         * sysdeps/i386/sysdep.h: Define atom_text_section.
84396         * sysdeps/x86_64/sysdep.h: Likewise.
84397         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84398         section with atom_text_section.
84399         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84400         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84401         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84402         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84403         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84405         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84406         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84407         already be defined.  Change to take two parameters and don't assign
84408         result to variable.  Adjust all users.
84409         Define INTERNAL_GETTIME if not already defined.
84410         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84411         call.
84412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84413         HAVE_CLOCK_GETTIME_VSYSCALL.
84414         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84417         gettimeofday vsyscall, just use time.
84419 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84421         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84422         <errno.h>.
84424 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84426         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84427         syscall on x86-64.
84428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84429         syscall.
84430         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84431         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84432         syscall if possible.
84434 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84436         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84437         e_ident.  Don't pass to find_mapsXX.
84438         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84440 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84443         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84444         * sysdeps/x86_64/multiarch/strchr.S: Update.
84445         Check bit_slow_BSF bit.
84446         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84447         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84448         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84450 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84452         [BZ #13134]
84453         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84454         before glibc 2.15.
84455         (tryshell): Define.
84456         (__spawni): Change last parameter to be flag.  Test
84457         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84458         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84459         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84460         * posix/spawni.c: Likewise.
84461         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84462         * posix/spawnp.c: Likewise.  Change normal version to use
84463         SPAWN_XFLAGS_USE_PATH.
84464         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84465         SPAWN_XFLAGS_TRY_SHELL.
84467         [BZ #13150]
84468         * posix/glob.h: Remove gcc 1.x support.
84470         [BZ #13068]
84471         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84473 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84475         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84476         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84477         strrchr-sse2-bsf
84478         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84479         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84480         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84481         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84482         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84483         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84485 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84487         * sysdeps/x86_64/wcscmp.S: New file.
84489         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
84490         wcscmp-c wcscmp-sse2
84491         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
84492         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
84493         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
84494         * wcsmbs/wcscmp.c: Allow renaming.
84496 2011-09-05  David S. Miller  <davem@davemloft.net>
84498         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
84499         stack slot, rather than the struct return pointer slot.
84500         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
84501         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
84502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
84503         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
84505 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84507         * po/ja.po: Update from translation team.
84509         [BZ #13144]
84510         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
84511         kernel in 64-bit binaries.
84513 2011-09-01  David S. Miller  <davem@davemloft.net>
84515         * elf/elf.h (HWCAP_SPARC_*): Move to..
84516         * sysdeps/sparc/sysdep.h: this new file and add new values.
84517         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
84518         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
84519         _DL_HWCAP_COUNT to 24.
84520         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
84521         entries.
84522         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
84523         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
84524         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
84525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
84526         instead of magic constants.
84527         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84529 2011-08-31  David S. Miller  <davem@davemloft.net>
84531         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
84532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
84533         Reimplement to do errno handling inline.
84534         (SYSCALL_ERROR_HANDLER): New macro.
84535         (__SYSCALL_STRING): Do not do errno handling in asm.
84536         (__CLONE_SYSCALL_STRING): Delete.
84537         (__INTERNAL_SYSCALL_STRING): Delete.
84538         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
84539         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
84540         (PSEUDO): Reimplement to do errno handling inline.
84541         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
84542         (SYSCALL_ERROR_HANDLER): New macro.
84543         (__SYSCALL_STRING): Do not do errno handling in asm.
84544         (__CLONE_SYSCALL_STRING): Delete.
84545         (__INTERNAL_SYSCALL_STRING): Delete.
84546         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
84547         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
84548         i386.
84549         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
84550         (inline_syscall*): Add 'err' argument.
84551         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
84552         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
84553         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
84554         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
84556         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
84557         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
84559 2011-08-30  Andreas Schwab  <schwab@redhat.com>
84561         * elf/rtld.c (dl_main): Relocate objects in dependency order.
84563 2011-08-29  Jiri Olsa <jolsa@redhat.com>
84565         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
84566         directive.
84568 2011-08-24  David S. Miller  <davem@davemloft.net>
84570         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
84572 2011-08-24  Andreas Schwab  <schwab@redhat.com>
84574         * elf/Makefile: Add rules to build and run unload8 test.
84575         * elf/unload8.c: New file.
84576         * elf/unload8mod1.c: New file.
84577         * elf/unload8mod1x.c: New file.
84578         * elf/unload8mod2.c: New file.
84579         * elf/unload8mod3.c: New file.
84581         * elf/dl-close.c (_dl_close_worker): Reset private search list if
84582         it wasn't used.
84584 2011-08-23  David S. Miller  <davem@davemloft.net>
84586         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
84587         subtract stack bias.
84588         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
84589         %sp not %fp in calculations.
84590         (_JMPBUF_UNWINDS_ADJ): Likewise.
84592         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
84593         (aio_suspend): Call it to force an exception region around the
84594         AIO_MISC_WAIT() invocation.
84596 2011-08-23  Andreas Schwab  <schwab@redhat.com>
84598         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
84599         backslash.
84601 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
84603         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
84604         protection macro.
84605         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
84606         and <dl-machine.h>.
84607         (Elf64_FuncDesc): Remove.
84609 2011-08-22  David S. Miller  <davem@davemloft.net>
84611         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
84612         sigaltstack check, add missing cfi directives.
84613         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
84614         missing cfi directives, and sigaltstack handling.
84616 2011-08-16  Andreas Schwab  <schwab@redhat.com>
84618         [BZ #11724]
84619         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
84620         object is seen twice.
84621         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84623         * elf/Makefile (distribute): Add tst-initorder2.c.
84624         (tests): Add tst-initorder2.
84625         (modules-names): Add tst-initorder2a tst-initorder2b
84626         tst-initorder2c tst-initorder2d.  Add rules to build them.
84627         ($(objpfx)tst-initorder2.out): New rule.
84628         * elf/tst-initorder2.c: New file.
84629         * elf/tst-initorder2.exp: New file.
84631 2011-08-22  Andreas Schwab  <schwab@redhat.com>
84633         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
84635         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
84636         dependencies back to end of function.
84638         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84639         $(elfobjdir)/ld.so.
84641 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
84643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
84644         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
84645         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
84646         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
84647         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
84648         of __vdso_gettimeofday.
84649         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
84650         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
84651         attribute_hidden.
84652         (_libc_vdso_platform_setup): Remove initialization of
84653         __vdso_gettimeofday and __vdso_time.
84655 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84657         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84658         and fgetc_unlocked.
84659         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84660         getc_unlocked.
84662         * elf/dl-open.c (add_to_global): Report additions to the global scope
84663         for LD_DEBUG=scopes.
84664         (dl_open_worker): Also print scope of newly loaded dependencies.
84665         (_dl_show_scope): Indicate if there is no scope.
84667         [BZ #13114]
84668         * stdio-common/Makefile (tests): Add bug24.
84669         * stdio-common/bug24.c: New file.
84671 2011-08-19  Andreas Jaeger  <aj@suse.de>
84673         [BZ #13114]
84674         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84675         non-existant file when using close-on-exec mode.
84677 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84680         the very first instruction.
84682         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84683         the CFI state in the end.
84684         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84685         inclusion of dl-trampoline.h.
84686         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84688 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84690         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84691         expectations for long double.
84693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84694         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84696 2011-08-14  David S. Miller  <davem@davemloft.net>
84698         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84699         artificual limit depends upon the system page size.
84701 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84703         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84704         * resolv/Makefile: Define CFLAGS-libresolv.
84706 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84708         * nss/makedb.c (compute_tables): Make variables used in nested
84709         function static.
84711 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84713         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84714         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84715         if buffer was too small.
84717         * elf/pldd.c (main): Attach to all threads in the process.
84718         Rewrite /proc handling to use *at functions.
84720 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84722         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84723         specifies first scope to show.
84724         (dl_open_worker): Update callers.  Move printing scope of new
84725         object to before the relocation.
84726         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84727         * sysdeps/generic/ldsodefs.h: Update declaration.
84729         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84730         string for the scope number.
84732 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84734         * nscd/servicescache.c (cache_addserv): Make sure written is always
84735         initialized.
84737 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84739         * sysdeps/i386/i486/bits/atomic.h
84740         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84741         statement expression, so as to suppress "set but not used" warning.
84742         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84744         * string/strncat.c (STRNCAT): Use prototype definition.
84746         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84747         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84748         -Iprograms here.
84749         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84750         (localedef-modules): Add localedef.
84751         (locale-modules): Add locale.
84753         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84754         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84755         to avoid a warning.
84757 2011-08-14  David S. Miller  <davem@davemloft.net>
84759         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84760         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84762 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84764         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84765         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84766         * elf/rtld.c (dl_main): Set l_name of vDSO.
84767         Call _dl_show_scope when DL_DEBUG_SCOPES.
84768         (process_dl_debug): Recognize scopes flag and also set it for all.
84769         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84770         Declare _dl_show_scope.
84772         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84773         (do_dlopen): Pass caller_dlopen to dl_open.
84774         (__libc_dlopen_mode): Initialize caller_dlopen.
84776         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84777         of libc.  Make tolower call locale-independent.  Optimize a bit by
84778         using isdigit instead of isalnum.
84779         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84781 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84783         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84784         was a dependency or dynamically loaded.
84786 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84788         * intl/l10nflist.c: Allow architecture-specific pop function.
84789         * sysdeps/x86_64/l10nflist.c: New file.
84791         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84792         classification.
84794 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84796         * include/dirent.h: Add libc_hidden_proto for scandirat and
84797         scandirat64.  Don't declare __scandirat64.
84798         * dirent/scandirat.c: Add libc_hidden_def.
84799         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84800         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84802 2011-08-10  David S. Miller  <davem@davemloft.net>
84804         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84805         enum.
84806         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84810 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84812         * Versions.def [libc]: Add GLIBC_2.15.
84813         * dirent/Makefile (routines): Add scandirat and scandirat64.
84814         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84815         GLIBC_2.15.
84816         * dirent/dirent.h: Declare scandirat and scandirat64.
84817         * dirent/scandirat.c: New file.
84818         * dirent/scandirat64.c: New file.
84819         * sysdeps/wordsize-64/scandirat.c: New file.
84820         * sysdeps/wordsize-64/scandirat64.c: New file.
84821         * dirent/opendir.c: Define opendirat.
84822         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84823         using scandirat.
84824         * dirent/scandir64.c: Adjust for scandir.c change.
84825         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84826         __scandirat64, and __scandir_cancel_handler.
84827         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84828         additional parameter and use openat instead of open (outside of ld.so).
84829         Add new __opendir as wrapper around __opendirat.
84830         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84831         here without requiring old scandirat implementation.
84833 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84835         * dirent/scandir.c (cancel_handler): Renamed to
84836         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84837         defined.  Adjust users.
84838         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84839         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84841 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84843         * string/test-string.h (IMPL): Use __STRING to expand name and then
84844         stringify it.
84846         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84847         of cleanups.
84849 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84851         * string/Makefile: Update.
84852         (strop-tests): Append strncat.
84853         * string/test-wcscmp.c: New file.
84854         New comprehensive test for wcscmp.
84855         * string/test-strcmp.c: Update.
84856         (WIDE): New define.
84858 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84860         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84861         line.
84863 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84866         encoding to ACE if AI_IDN.
84868 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84870         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84871         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84873 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84875         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84876         Fix overflow bug in strncat.
84877         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84879         * string/test-strncat.c: Update.
84880         Add new tests for checking overflow bugs.
84882 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84884         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84885         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84886         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84887         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84888         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84889         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84890         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84891         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84892         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84894         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84895         (USE_AS_STRCAT): Define.
84896         Add strcat and strncat support.
84897         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84899 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84901         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84902         __n bigger than INT_MAX+1.
84903         (__strncmp_g): Likewise.
84905 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84907         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84908         * libio/stido.h: Likewise.
84910         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84911         (AF_NFC): Define.
84912         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84913         (AF_NFC): Define.
84915         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84916         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84917         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84918         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84919         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84921         [BZ #13021]
84922         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84923         installed.
84925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84926         typo.
84927         (_dl_x86_64_save_sse): Likewise.
84929 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84931         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84932         OSXSAVE.
84933         (_dl_x86_64_save_sse): Likewise.
84935         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84937         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84939 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84941         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84942         change.
84943         (_dl_x86_64_save_sse): Use correct AVX check.
84945 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84948         bug in strncpy/strncat.
84949         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84951 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84953         * string/tester.c (test_strcat): Add tests for different alignments
84954         of source and destination.
84955         (test_strncat): Likewise.
84957 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84959         [BZ #12852]
84960         * posix/glob.c (glob): Check passed in values before using them in
84961         expressions to avoid some overflows.
84962         (glob_in_dir): Likewise.
84964         [BZ #13007]
84965         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84966         check for AVX enablement so that we don't crash with old kernels and
84967         new hardware.
84968         * elf/tst-audit4.c: Add same checks here.
84969         * elf/tst-audit6.c: Likewise.
84971         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84973 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84975         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84977 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84979         * po/cs.po: Update from translation team.
84980         * po/bg.po: Likewise.
84982 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84984         * misc/sys/cdefs.h: Add support for const attribute.
84985         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84986         to gnu_dev_{major,minor,makedev} functions.
84988 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84990         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84992 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84994         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84995         strlen results.
84997 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85000         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85001         register in order to avoid conflicts with the soft frame pointer
85002         being held in r11 when necessary.
85003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85004         (INTERNAL_VSYSCALL_NCS): Likewise.
85006 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85008         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85009         * elf/dl-fini.c (_dl_fini): Adjust caller.
85010         * elf/dl-close.c (_dl_close_worker): Likewise.
85011         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85013 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85015         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85016         "aux_cache->nlibs < 0".
85018         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85019         in the reload-count case.
85021 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85024         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85025         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85026         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85027         * sysdeps/x86_64/multiarch/strcat.S: New file.
85028         * sysdeps/x86_64/multiarch/strncat.S: New file.
85029         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85030         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85031         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85032         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85033         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85034         (USE_AS_STRCAT): Define.
85035         Add strcat and strncat support.
85036         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85037         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85038         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85039         * string/strncat.c: Update.
85040         (USE_AS_STRNCAT): Define.
85041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85042         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85043         and i7.
85044         * sysdeps/x86_64/multiarch/init-arch.h
85045         (bit_Prefer_PMINUB_for_stringop): New.
85046         (index_Prefer_PMINUB_for_stringop): Likewise.
85047         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85048         bit_Prefer_PMINUB_for_stringop.
85050 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85052         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85053         buffer64.
85054         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85055         of casting of buffer.
85056         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85057         buffer32 and buffer64.
85058         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85059         writes instead of casting of buffer.
85060         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85061         buffer32.
85062         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85063         casting of buffer.
85065 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85067         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85069 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85071         * nscd/nscd.c (termination_handler): Don't do anything for a database
85072         if it has not yet been initialized.
85074 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85076         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85078 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85080         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85082 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85084         * po/nl.po: Update from translation team.
85085         * po/sv.po: Likewise.
85087 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85089         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85090         now disallowed by GCC.
85092         * configure.in (use-default-link): Default to yes if a test -shared
85093         link meets our qualifications.
85094         * configure: Regenerated.
85096         * config.make.in (output-format): New variable.
85097         * configure.in: Check for ld --print-output-format support.
85098         * configure: Regenerated.
85099         * Makerules ($(common-objpfx)format.lds)
85100         [$(output-format) != unknown]: Just use $(output-format),
85101         instead of the linker-script munging.
85103 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85105         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85106         of $(common-objpfx)shlib.lds.
85107         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85109         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85110         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85112         * configure.in (-z relro check): Adjust test code to add a large
85113         writable data section after it.
85114         * configure: Regenerated.
85116 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85118         * configure.in (-z relro check): Fix test code to make the variable
85119         truly const.
85120         * configure: Regenerated.
85122 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85124         * nscd/nscd.h (struct traced_file): Define.
85125         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85126         elements.  Add traced_files.
85127         (inotify_fd): Declare.
85128         (register_traced_file): Declare.
85129         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85130         (inotify_fd): Export.
85131         (resolv_conf_descr): Remove.
85132         (nscd_init): Move inotify descriptor creation to main.
85133         Don't register files for notification here.
85134         (register_traced_file): New function.
85135         (invalidate_cache): Don't use reset_res to determine whether to call
85136         res_init, go through the list of registered files.
85137         (main_loop_poll): The inotify descriptors are now stored in the
85138         structures for the traced files.
85139         (main_loop_epoll): Likewise.
85140         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85141         to __nss_disable_nscd.
85142         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85143         for a database anymore.  Check the records for all the registered
85144         files instead.
85145         * nss/Makefile (libnss_files-routines): Add files-init.
85146         (libnss_db-routines): Add db-init.
85147         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85148         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85149         * nss/nss_db/db-init.c: New file.
85150         * nss/nss_files/files-init.c: New file.
85151         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85152         __nss_lookup_function.
85153         (__nss_lookup_function): Call nss_load_library.
85154         (nss_load_all_libraries): New function.
85155         (__nss_disable_nscd): Take parameter with callback function for files
85156         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85157         used for the cached services.
85158         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85159         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85160         options for features to all the files in nscd.
85162         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85164 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85166         * csu/elf-init.c (__libc_csu_init): Comment typo.
85168 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85170         * po/pl.po: Update from translation team.
85171         * po/ja.po: Likewise.
85172         * po/ru.po: Likewise.
85173         * po/ko.po: Likewise.
85174         * po/fr.po: Likewise.
85176 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85178         * configure.in (.ctors/.dtors header and trailer check):
85179         Use an empirical test on a built program.
85180         * configure: Regenerated.
85182         * configure.in (-z relro check): Use an empirical test on a built DSO.
85183         Detect, but do not require, on ia64.
85184         * configure: Regenerated.
85186         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85187         Update tests that use readelf to use $READELF instead.
85188         * configure: Regenerated.
85190 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85192         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85193         if the result is not used.
85195 2011-07-05  Andreas Jaeger  <aj@suse.de>
85197         [BZ#9696]
85198         * stdlib/tst-strtod.c: Add testcase.
85200 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85202         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85203         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85204         The latter has a higher limit.  Take additional parameter to pass to
85205         the new function.
85206         (__pathconf): Pass file to __statfs_link_max.
85207         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85208         __statfs_link_max.
85209         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85210         __statfs_link_max.
85212         [BZ #12868]
85213         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85214         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85215         Handle Lustre.
85216         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85217         (__statfs_filesize_max): Likewise.
85218         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85220 2011-07-05  Andreas Jaeger  <aj@suse.de>
85222         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85224 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85226         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85227         `status' variable.
85228         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85229         Likewise.
85231 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85233         * Makefile (strop-tests): Add strncat.
85234         * string/test-strncat.c: New file.
85236 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85238         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85240 2011-06-21  Andreas Jaeger  <aj@suse.de>
85242         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85243         Copy rule from iconvdata/Makefile.
85245 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85247         [BZ #12922]
85248         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85249         but no long options are defined, just return 'W'.
85251 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85253         [BZ #9696]
85254         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85256 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85258         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85259         netgroups to read.
85260         (innetgr): Likewise.
85262 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85264         * config.make.in (install_root): Default to $(DESTDIR).
85266 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85268         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85270 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85272         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85274         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85275         containing directory rather than embedding absolute directory names.
85277         * scripts/check-local-headers.sh: Rewritten using awk.
85278         Match by word, not by line.  Print error messages for matches.
85279         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85281         * Makerules [shlib-lds-flags empty]:
85282         ($(common-objpfx)libc_pic.opts): New target.
85283         ($(common-objpfx)libc_pic.os.clean): New target.
85284         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85286         * config.make.in (OBJCOPY): New variable.
85287         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85288         * configure: Regenerated.
85290         * config.make.in (use-default-link): New variable.
85291         * configure.in (use_default_link): Grok --with-default-link to set it.
85292         * configure: Regenerated.
85293         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85294         (shlib-lds, shlib-lds-flags): Define to empty.
85296         * Makerules (shlib-lds): New variable.
85297         (shlib-lds-flags): New variable.
85298         (build-shlib, build-moduile, build-module-asneeded): Use it.
85299         ($(common-objpfx)libc.so): Use $(shlib-lds).
85300         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85301         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85303         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85304         DT_FLAGS/DT_FLAGS_1 with zero flags.
85306         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85307         linker script munging.
85309 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85311         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85312         as 128-bit value.
85313         * crypt/sha512.c (sha512_process_block): Perform total addition using
85314         128-bit if possible.
85315         (__sha512_finish_ctx): Likewise.
85316         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85317         as 64-bit value.
85318         * crypt/sha256.c (SWAP64): Define.
85319         (sha256_process_block): Perform total addition using 64-bit if
85320         possible.
85321         (__sha256_finish_ctx): Likewise.
85323 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85325         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85326         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85327         * nscd/hstcache.c (cache_addhst): Likewise.
85328         * nscd/grpcache.c (cache_addgr): Likewise.
85329         * nscd/aicache.c (addhstaiX): Likewise.
85330         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85332 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85334         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85335         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85336         * nscd/hstcache.c (cache_addhst): Likewise.
85337         * nscd/grpcache.c (cache_addgr): Likewise.
85338         * nscd/aicache.c (addhstaiX): Likewise.
85340 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85342         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85343         domain only when needed.
85345 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85348         is always restored.
85350 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85352         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85353         are re-adding the entry.
85354         * nscd/servicescache.c (cache_addserv): Likewise.
85356 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85358         * sysdeps/generic/dl-irel.h: fix protection against multiple
85359         inclusions.
85360         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85362 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85364         [BZ #12935]
85365         * malloc/memusage.sh: Fix quoting in message.
85366         * debug/xtrace.sh: Likewise.
85368         * configure.in: Remove support for --experimental-malloc option, make
85369         it the default.
85370         * config.make.in: Likewise.
85371         * malloc/Makefile: Likewise.
85373 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85375         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85376         two-byte characters.
85378 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85380         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85381         AC_CACHE_CHECK invocation.
85382         * configure: Regenerated.
85384         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85386 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85388         [BZ #12350]
85389         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85390         bit from old_res_options.
85392         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85394         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85395         value type for setfct.
85397 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85399         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85400         __gettimeofday instead of gettimeofday.
85402 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85404         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85406 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85408         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85410         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85411         info.
85413 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85416         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85417         strcpy-sse2-unaligned strncpy-sse2-unaligned
85418         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85419         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85420         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85421         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85422         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85423         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85425         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85426         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85427         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85428         (STRCPY): Support SSE2 and SSSE3 versions.
85430 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85432         [BZ #12874]
85433         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85434         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85435         kernels which artificially limit size of requests.
85437 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85440         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85441         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85442         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85443         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85444         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85445         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85446         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85447         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85449         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85450         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85451         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85452         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85453         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85455         Enable unaligned load optimization for Intel Core i3, i5 and i7
85456         processors.
85457         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85458         Define.
85459         (index_Fast_Unaligned_Load): Define.
85460         (HAS_FAST_UNALIGNED_LOAD): Define.
85462 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85464         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85466 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85468         [BZ #12907]
85469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85470         until it is clear that the information is realy needed.
85471         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85473 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85477 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85480         /sys/devices/system/cpu/online if it is usable.
85482         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85483         reading the information from the /proc filesystem to once a second.
85485 2011-06-21  Andreas Jaeger  <aj@suse.de>
85487         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
85488         NULL after inclusion of kernel headers.
85490 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
85492         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
85493         calls to internal_setent.
85495         [BZ #12885]
85496         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
85497         addresses using gethostbyname4_r ignore IPv4 addresses.
85499         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
85500         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
85502         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
85504 2011-06-20  David S. Miller  <davem@davemloft.net>
85506         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
85507         inclusions.
85508         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
85510         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
85511         (elf_irel): Use it.
85512         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
85513         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
85514         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
85515         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
85516         * sysdeps/x86_64/dl-irel.h: Likewise.
85518         * elf/dl-runtime.c: Use elf_ifunc_invoke.
85519         * elf/dl-sym.c: Likewise.
85521 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85523         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
85524         need to dereference resplen2.
85526 2011-06-14  Andreas Schwab  <schwab@redhat.com>
85528         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
85530 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85532         * Makeconfig: Define vardbdir and inst_vardbdir.
85533         * nss/Makefile: Add rules to install db-Makefile.
85535         * nss/nss_db/db-XXX.c: Cleanup.
85537         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
85538         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
85539         GLIBC_PRIVATE.
85540         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
85541         * nss/makedb.c: Implement -g option to specify that value strings
85542         are generated and should not be added to table iterated over for
85543         get*ent calls.
85544         * nss/nss_db/db-initgroups.c: New file.
85546         * nss/getent.c: Add support for initgroups lookups through getgrouplist
85547         interface.
85549         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
85550         (internal_getgrouplist): Adjust to name change.
85551         Update use_initgroups_entry if this is not the first call.
85552         * nss/databases.def: Add initgroups entry.
85554         * nss/makedb.c (compute_tables): Check result of multiple hash table
85555         sizes to minimize maximum chain length.
85557 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
85559         * Versions.def: Add entry for libnss_db.
85560         * shlib-versions: Likewise.
85561         * nss/Makefile: Add rules to build libnss_db.
85562         * nss/Versions: Add libnss_db information.  Organize libnss_files
85563         entries better.
85564         * nss/db-Makefile: Add gshadow support.  Change rules for the new
85565         makedb progra.  Some minor improvements to generate smaller files.
85566         * nss/nss_db/nss_db.h: Move NSS database header data structures to
85567         here from...
85568         * nss/makedb.c: ...here.
85569         Improve database format to be smaller and require less memory at
85570         runtime.
85571         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
85572         db anymore.
85573         * nss/nss_db/db-netgrp.c: Likewise.
85574         * nss/nss_db/db-open.c: Likewise.
85575         * nss/nss_files/flies-XXX.x: Adjust comments.
85576         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
85577         * nss/nss_files/files-grp.c: Likewise.
85578         * nss/nss_files/files-hosts.c: Likewise.
85579         * nss/nss_files/files-network.c: Likewise.
85580         * nss/nss_files/files-proto.c: Likewise.
85581         * nss/nss_files/files-pwd.c: Likewise.
85582         * nss/nss_files/files-rpc.c: Likewise.
85583         * nss/nss_files/files-service.c: Likewise.
85584         * nss/nss_files/files-sgrp.c: Likewise.
85585         * nss/nss_files/files-spwd.c: Likewise.
85586         * nss/nss_db/db-alias.c: Removed.
85587         * nss/nss_db/dummy-db.h: Removed.
85589 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
85591         * nss/makedb.c: Rewritten to not use database library.
85592         * nss/Makefile: Update to build new makedb program.
85594 2011-06-14  Andreas Jaeger  <aj@suse.de>
85596         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
85597         memset declaration.
85599 2011-06-10  Andreas Schwab  <schwab@redhat.com>
85601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
85602         tmpbuf.
85604 2011-06-10  Roland McGrath  <roland@hack.frob.com>
85606         * Makerules (shlib.lds): Fail if the linker script comes out empty.
85607         * elf/Makefile ($(objpfx)ld.so): Likewise.
85609         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
85610         Don't list ld.so twice in dependencies.
85612         * posix/bug-regex31.c: Include <stdlib.h>.
85614         * nscd/hstcache.c (cache_addhst): Remove unused variable.
85616         * nis/nss_compat/compat-spwd.c
85617         (getspent_next_nss_netgr): Remove unused variable.
85618         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
85620         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
85621         nonmembers" output to use the right array.
85623         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
85625         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
85627         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
85628         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
85629         * catgets/gencat.c (read_input_file): Likewise.
85630         * locale/programs/locarchive.c (enlarge_archive): Likewise.
85632         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
85633         variable definition inside #if's controlling its use.
85635         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
85637         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
85639         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
85641         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
85642         unreachable code.
85644         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
85646         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
85647         * configure: Regenerated.
85649         * Makerules: Revert last change.
85650         * elf/Makefile: Likewise.
85652 2011-06-09  Roland McGrath  <roland@hack.frob.com>
85654         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85655         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85656         (reloc-link): Likewise.
85658 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85660         * elf/Makefile: Add rules to build pldd.
85661         * elf/pldd.c: New file.
85662         * elf/pldd-xx.c: New file.
85664 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85666         * version.h: Update for 2.15 development version.
85668 2011-06-07  David S. Miller  <davem@davemloft.net>
85670         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85671         ifuncs.
85672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85673         elf_machine_lazy_rel): Likewise.
85674         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85675         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85676         elf_machine_lazy_rel): Likewise.
85677         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85678         dl_hwcap via passed in argument.
85679         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85680         Likewise.
85682 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85684         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85686 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85688         [BZ #12849]
85689         * manual/fdl-1.1.texi: New file, verbatim from:
85690         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85691         * manual/lgpl-2.1.texi: New file, verbatim from:
85692         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85693         * manual/Makefile (licenses): New variable, list those new file names.
85694         (texis): Use it.
85695         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85697         * manual/fdl.texi: File removed.
85698         * manual/lesser.texi: File removed.
85699         * manual/libc.texinfo (Copying, Documentation License):
85700         Use new @include file names, put @appendix directive before @include.
85702 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85704         [BZ #12841]
85705         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85706         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85707         (mq_open): Add __NTH.
85709 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85712         Assume Intel Core i3/i5/i7 processor if AVX is available.
85714 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85716         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85717         typo.
85719 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85721         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85722         memory.  Use alloca_account.  Fix memory leak when retrying.
85724 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85726         * version.h (RELEASE): Bump for 2.14 release.
85727         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85729         * config.make.in (RANLIB): Remove entry.
85731 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85733         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85734         (libc.pot): Work around missing support for .ksh extension in xgettext.
85736         [BZ #12684]
85737         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85738         if both request failed.
85739         (send_dg): In case of server errors clear resplen or *resplen2.
85741         [BZ #12454]
85742         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85743         when there are multiple maps.
85744         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85745         (_dl_fini): Remove test here.
85747         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85749 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85751         [BZ #12350]
85752         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85753         bit from old_res_options.
85754         (gaih_inet): Likewise.
85756         [BZ #11099]
85757         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85758         as signed.
85760         * resolv/res_init.c (res_setoptions): Make the code more compact.
85762         [BZ #11558]
85763         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85764         set RES_USEVC.
85766         [BZ #11634]
85767         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85769         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85771         [BZ #11781]
85772         * malloc/malloc.h: Declare malloc hook variables as volatile.
85774         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85775         in last patch.
85777         [BZ #11799]
85778         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85779         raise in the comment.
85780         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85781         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85782         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85784 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85786         [BZ #12811]
85787         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85788         grow the buffers more if it already has to be sufficient.
85789         (build_wcs_upper_buffer): Likewise.
85790         * posix/regexec.c (check_matching): Likewise.
85791         (clean_state_log_if_needed): Likewise.
85792         (extend_buffers): Don't enlarge buffers beyond size of the input
85793         buffer.
85794         Patches mostly by Emil Wojak <emil@wojak.eu>.
85795         * posix/bug-regex32.c: New file.
85796         * posix/Makefile (tests): Add bug-regex32.
85798         * locale/findlocale.c (_nl_find_locale): Return right away if
85799         _nl_explode_name failed.
85800         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85802         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85804         * debug/xtrace.sh: Unify messages.
85805         * malloc/memusage.sh: Likewise.
85807         [BZ #12813]
85808         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85809         time symbol from vDSO.  Substitute with vsyscall if not available.
85810         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85811         __vdso_time.
85813         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85814         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85815         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85816         Add sendmmsg and internal_sendmmsg.
85817         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85818         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85819         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85821         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85822         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85823         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85825 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85827         [BZ #12813]
85828         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85829         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85830         available.
85831         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85832         __vdso_getcpu.
85834         [BZ #12814]
85835         * iconvdata/Makefile (tests): Add bug-iconv9.
85836         * iconvdata/bug-iconv9.c: New file.
85838 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85840         [BZ #12814]
85841         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85843 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85845         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85846         (struct user_regs_struct): Change intcs field back to cs.
85848 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85850         * po/ja.po: Update from translation team.
85852 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85854         [BZ #12795]
85855         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85856         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85858 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85860         * stdlib/longlong.h: Update from GCC.
85862 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85864         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85865         parameter name.
85866         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85867         Add parameter name.
85868         (__sysconf): Pass it down.
85870 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85872         [BZ #12671]
85873         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85874         some situations.
85875         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85876         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85877         add in in __libc_use_alloca calls.  Adjust callers.
85878         (glob): Use malloc in some situations.
85880         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85881         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85882         pltexit.
85884 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85886         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85887         and CLOCK_BOOTTIME_ALARM.
85889         [BZ #12782]
85890         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85891         is returned.
85893         * string/_strerror.c (__strerror_r): Print negative errors as signed
85894         numbers.
85896         [BZ #12777]
85897         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85898         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85899         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85901         * configure.in: Fix typo in redirection and correct removal of test
85902         files in two cases.
85904         [BZ #12788]
85905         * locale/setlocale.c (new_composite_name): Fix test to check for
85906         identical name of all categories.
85908         [BZ #12792]
85909         * libio/filedoalloc.c (local_isatty): New function.
85910         (_IO_file_doallocate): Use local_isatty.
85911         * stdio-common/perror.c (perror): In case a new stream is used
85912         forward the stream error.
85913         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85914         error flag.
85916 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85918         [BZ #11884]
85919         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85920         alloca.
85921         * include/alloca.h (extend_alloca_account): Define.
85923         [BZ #11857]
85924         * posix/regex.h: Fix comments with documentation of user-accessible
85925         fields after compilation and describe correct free'ing of pattern
85926         after re_compile_pattern.
85927         Patch by Reuben Thomas <rrt@sc3d.org>.
85929 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85931         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85932         and -mno-altivec to prevent the compiler from using Altivec and/or
85933         VSX instructions when the corresponding registers are not available.
85935 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85937         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85939 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85941         * libio/freopen.c (freopen): Use __dup2, not dup2.
85942         * libio/freopen64.c (freopen64): Likewise.
85944 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85946         [BZ #12775]
85947         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85948         * math/Makefile (tests): Add test-powl.
85949         (CFLAGS-test-powl.c): Define.
85950         * math/test-powl.c: New file.
85952 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85954         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85956 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85958         [BZ #11837]
85959         * iconvdata/gb18030.c: Update to GB18020-2005.
85961 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85963         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85964         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85965         Patch by Aharon Robbins <arnold@skeeve.com>.
85967         [BZ #11892]
85968         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85969         on the stack.
85971         [BZ #11895]
85972         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85973         through underflows.
85975         [BZ #12766]
85976         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85977         point to strings before performing equality test for error_one_per_line
85978         mode.
85980         [BZ #11697]
85981         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85983         [BZ #11820]
85984         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85985         (struct user_fpregs_struct): Avoid __uint*_t types.
85987         [BZ #6420]
85988         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85989         symbol info.  Use it instead of calling _dl_addr locally.
85990         (lock_and_info): New function.
85991         (tr_freehook): Call lock_and_info and pass symbol info as additional
85992         parameter to tr_where.
85993         (tr_mallochook): Likewise.
85994         (tr_reallochook): Likewise.
85995         (tr_memalignhook): Likewise.
85997         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85998         used and couldn't be at all thread-safe.
86000 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86002         * libio/freopen.c (freopen): Don't close old file descriptor
86003         before the new one is opened.  Instead dup the new file descriptor
86004         to the old one after the new stream is created.
86005         * libio/freopen64.c (freopen64): Likewise.
86006         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86007         * libio/fileops.c (_IO_new_file_close_it): Handle new
86008         _IO_FLAGS2_NOCLOSE flag.
86009         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86010         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86011         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86012         _IO_FLAGS2_NOCLOSE flag.
86013         * include/unistd.h: Add hidden_proto for dup3.
86014         Define __have_dup3.
86015         * io/dup3.c: Define hidden symbol.
86016         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86018         [BZ #7101]
86019         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86020         when an incomplete long option is used.
86021         * posix/tst-getopt_long1.c: New file.
86022         * posix/Makefile (tests): Add tst-getopt_long1.
86024         [BZ #10138]
86025         * scripts/config.guess: Update from autoconf-2.68.
86026         * scripts/config.sub: Likewise.
86028         [BZ #10157]
86029         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86030         tests into ...
86031         (has_cpuclock): ...this.  New function.
86032         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86033         macro here based on has_cpuclock code.
86035         [BZ #10149]
86036         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86037         First byte (not low byte) is now always NUL.
86038         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86040         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86041         Use non-cancelable interfaces.
86043         [BZ #9809]
86044         * locale/iso-639.def: Add entry for Sorani.
86046         [BZ #11901]
86047         * include/stdlib.h: Move include protection to the right place.
86048         Define abort_msg_s.  Declare __abort_msg with it.
86049         * stdlib/abort.c (__abort_msg): Adjust type.
86050         * assert/assert.c (__assert_fail_base): New function.  Majority
86051         of code from __assert_fail.  Allocate memory for __abort_msg with
86052         mmap.
86053         (__assert_fail): Now call __assert_fail_base.
86054         * assert/assert-perr.c: Remove bulk of implementation.  Use
86055         __assert_fail_base.
86056         * include/assert.hL Declare __assert_fail_base.
86057         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86058         mmap.
86059         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86061 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86063         [BZ #11952]
86064         [BZ #12453]
86065         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86066         until all modules are registered in the DTV.
86067         * elf/Makefile: Add rules to build and run tst-tls19.
86068         * elf/tst-tls19.c: New file.
86069         * elf/tst-tls19mod1.c: New file.
86070         * elf/tst-tls19mod2.c: New file.
86071         * elf/tst-tls19mod3.c: New file.
86072         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86074         [BZ #12083]
86075         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86076         correctly.
86078         [BZ #12601]
86079         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86080         two-byte sequence errors.
86081         * iconvdata/Makefile (tests): Add bug-iconv8.
86082         * iconvdata/bug-iconv8.c: New file.
86084         [BZ #12626]
86085         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86086         buf2 definition.
86088         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86090         [BZ #12432]
86091         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86092         (dummy_getcfa): New function.
86093         (init): Get _Unwind_GetCFA address, use dummy if not found.
86094         (backtrace_helper): In recursion check, also check whether CFA changes.
86095         (__backtrace): Completely initialize arg.
86097         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86098         storing incomplete byte sequence in state object.  Avoid testing for
86099         guaranteed too small input if we know there is enough data available.
86101 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86103         * Makeconfig (+link-pie): Indent.
86104         * Rules (binaries-pie): Define if $(have-fpie) and
86105         $(build-shared).
86106         (binaries-shared): Also filter out $(binaries-pie).
86107         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86108         * nscd/Makefile (others-pie): Add nscd.
86109         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86110         ($(objpfx)nscd): Remove command override.
86111         * login/Makefile (others-pie): Add pt_chown.
86112         ($(objpfx)pt_chown): Remove command override.
86113         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86114         remove command overrides.
86116 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86118         * libio/tst_putwc.c: Fix error messages.
86120         [BZ #12724]
86121         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86122         currently writing and seek to current position when not.
86123         * libio/Makefile (tests): Add bug-fclose1.
86124         * libio/bug-fclose1.c: New file.
86126 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86128         [BZ #12511]
86129         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86130         don't set DF_1_NODELETE here.
86131         (do_lookup_x): When entering new entry test for copy relocation
86132         and if necessary set DF_1_NODELETE flag.
86133         * elf/tst-unique4.cc: New file.
86134         * elf/tst-unique4.h: New file.
86135         * elf/tst-unique4lib.cc: New file.
86136         * elf/Makefile: Add rules to build and run tst-unique4.
86137         Patch by Piotr Bury <pbury@goahead.com>.
86139 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86141         [BZ #12052]
86142         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86144         [BZ #12625]
86145         * misc/mntent_r.c (addmntent): Flush the stream after the output
86147         [BZ #12393]
86148         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86149         (is_trusted_path_normalize): Skip initial colon.  Append slash
86150         to empty buffer.  Duplicate is_trusted_path code but allow
86151         constructed patch to be prefix.
86152         (is_dst): Allow $ORIGIN followed by /.
86153         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86154         Correct testing of result of is_trusted_path_normalize
86155         (decompose_rpath): Fix warning.
86157 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86159         [BZ #11257]
86160         * grp/initgroups.c (internal_getgrouplist): When we found the service
86161         list through the initgroups entry in nsswitch.conf do not always
86162         continue on a successful lookup.  Don't always use the
86163         __nss_group_database value if it is set.
86164         * nss/nsswitch.conf (initgroups): Change action for successful db
86165         lookup to continue for compatibility.
86167 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86169         [BZ #11532]
86170         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86171         and CP774 modules.
86172         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86173         and CP774 modules.
86174         * iconvdata/tst-tables.sh: Likewise.
86175         * iconvdata/cp770.c: New file.
86176         * iconvdata/cp771.c: New file.
86177         * iconvdata/cp772.c: New file.
86178         * iconvdata/cp773.c: New file.
86179         * iconvdata/cp774.c: New file.
86180         * iconvdata/testdata/CP770: New file.
86181         * iconvdata/testdata/CP770..UTF8: New file.
86182         * iconvdata/testdata/CP771: New file.
86183         * iconvdata/testdata/CP771..UTF8: New file.
86184         * iconvdata/testdata/CP772: New file.
86185         * iconvdata/testdata/CP772..UTF8: New file.
86186         * iconvdata/testdata/CP773: New file.
86187         * iconvdata/testdata/CP773..UTF8: New file.
86188         * iconvdata/testdata/CP774: New file.
86189         * iconvdata/testdata/CP774..UTF8: New file.
86191         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86192         END CHARMAP line.
86193         * iconvdata/gen-8bit-gap.sh: Likewise.
86194         * iconvdata/gen-8bit.sh: Likewise.
86196         * locale/iso-639.def: Add ary entry.
86198         [BZ #11258]
86199         * locale/C-translit.h.in: Add U20A1 transliteration.
86201         [BZ #12178]
86202         * locale/iso-639.def: Add wae entry.
86203         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86205         [BZ #12545]
86206         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86207         for n.
86209         [BZ #12711]
86210         * locale/C-translit.h.in: Add entry for U20B9.
86211         Patch by pravin.d.s@gmail.com.
86213 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86215         [BZ #12713]
86216         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86217         ENAMETOOLONG use generic getcwd.
86218         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86219         in rtld.  Use *stat64.
86220         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86221         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86222         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86223         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86224         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86225         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86226         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86227         __fstatat64 macros.
86228         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86229         * dirent/rewinddir.c: Add libc_hidden_def.
86230         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86231         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86233         * include/dirent.h (__alloc_dir): Add flags parameter.
86234         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86235         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86236         __alloc_dir.
86237         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86238         from fdopendir if O_CLOEXEC is already set.
86240 2011-03-15  Alan Modra  <amodra@gmail.com>
86242         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86243         l_tls_firstbyte_offset non-zero.  Save padding offset in
86244         l_tls_firstbyte_offset for later use.
86245         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86246         freeing static tls block.
86248 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86250         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86251         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86252         being defined by the kernel headers.
86254 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86256         [BZ #12734]
86257         * resolv/resolv.h: Define RES_NOTLDQUERY.
86258         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86259         no-tld-query and set RES_NOTLDQUERY.
86260         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86261         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86262         modern BIND to search name as TLD unless forbidden.
86264 2011-05-07  Petr Baudis  <pasky@suse.cz>
86265             Ulrich Drepper  <drepper@gmail.com>
86267         [BZ #12393]
86268         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86269         (is_trusted_path): ...to here.
86270         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86271         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86272         using is_trusted_path_normalize() in setuid scripts.
86274 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86276         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86277         __BEGIN/__END_DECLS.
86279 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86281         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86282         NSS_STATUS_NOTFOUND if no record was found.
86284 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86286         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86287         (headers-not-in-tirpc): Remove rpc/netdb.h
86288         * resolv/netdb.h: Revert last change.
86290 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86292         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86293         circular dependency between libgcc.a and libc.a.
86295 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86297         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86298         * nis/Makefile: Don't install rpcsvc/*.
86299         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86300         instead of <rpc/types.h>.
86301         (MAXHOSTNAMELEN): Define.
86303 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86305         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86307 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86309         [BZ #12714]
86310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86311         gethostbyname4_r when IPv6 results are possible.
86313 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86315         [BZ #12723]
86316         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86317         _PC_PIPE_BUF handling.
86319 2011-04-30  Bruno Haible  <bruno@clisp.org>
86321         [BZ #12717]
86322         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86323         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86324         to 'int'.
86325         * inet/getnameinfo.c (getnameinfo): Likewise.
86327 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86329         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86330         to groups setting in database lookup.
86331         * nss/nsswitch.conf: Add initgroups entry.
86333 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86335         [BZ #12685]
86336         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86337         mode string.
86338         Patch by Eric Blake <eblake@redhat.com>.
86340 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86342         * sunrpc/Makefile (need-export-routines): Add svc_run.
86343         (routines): Remove svc_run.
86344         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86345         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86346         * sunrpc/svc_run.c (svc_run): Likewise.
86347         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86349 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86351         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86352         problem in reallocation in last patch.
86354 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86356         * sunrpc/Makefile: Move inclusion of Rules.
86358 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86360         * nss/nss_files/files-initgroups.c: New file.
86361         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86362         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86363         _nss_files_initgroups_dyn.
86365 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86367         * elf/elf.h (R_ARM_IRELATIVE): Define.
86369 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86371         * po/ru.po: Update from translation team.
86373 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86375         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86376         dependencies.
86378 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86380         [BZ #12653]
86381         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86382         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86383         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86384         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86385         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86387 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86389         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86390         differing bytes.
86391         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86392         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86395 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86397         [BZ #12420]
86398         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86399         storing it.
86400         * stdlib/bug-getcontext.c: New file.
86401         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86403 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86405         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86406         instructions into .machine "z9-109".
86407         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86408         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86410 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86412         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86413         between environment variables and auxiliary vector.
86415 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86417         * Makefile: Add rules to build linkobj/libc.so.
86418         * include/libc-symbols.h: Define libc_hidden_nolink.
86419         * include/rpc/auth.h: Mark functions which are to be hidden.
86420         * include/rpc/auth_des.h: Likewise.
86421         * include/rpc/auth_unix.h: Likewise.
86422         * include/rpc/clnt.h: Likewise.
86423         * include/rpc/des_crypt.h: Likewise.
86424         * include/rpc/key_prot.h: Likewise.
86425         * include/rpc/pmap_clnt.h: Likewise.
86426         * include/rpc/pmap_prot.h: Likewise.
86427         * include/rpc/pmap_rmt.h: Likewise.
86428         * include/rpc/rpc_msg.h: Likewise.
86429         * include/rpc/svc.h: Likewise.
86430         * include/rpc/svc_auth.h: Likewise.
86431         * include/rpc/xdr.h: Likewise.
86432         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86433         * nss/Makefile: Likewise.
86434         * sunrpc/Makefile: Don't install headers.  Build library with normal
86435         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86436         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86437         for the compat linking library.  Remove use of INTDEF/INTUSE.
86438         * sunrpc/auth_none.c: Likewise.
86439         * sunrpc/auth_unix.c: Likewise.
86440         * sunrpc/authdes_prot.c: Likewise.
86441         * sunrpc/authuxprot.c: Likewise.
86442         * sunrpc/clnt_gen.c: Likewise.
86443         * sunrpc/clnt_perr.c: Likewise.
86444         * sunrpc/clnt_raw.c: Likewise.
86445         * sunrpc/clnt_simp.c: Likewise.
86446         * sunrpc/clnt_tcp.c: Likewise.
86447         * sunrpc/clnt_udp.c: Likewise.
86448         * sunrpc/clnt_unix.c: Likewise.
86449         * sunrpc/des_crypt.c: Likewise.
86450         * sunrpc/des_soft.c: Likewise.
86451         * sunrpc/get_myaddr.c: Likewise.
86452         * sunrpc/key_call.c: Likewise.
86453         * sunrpc/key_prot.c: Likewise.
86454         * sunrpc/netname.c: Likewise.
86455         * sunrpc/pm_getmaps.c: Likewise.
86456         * sunrpc/pm_getport.c: Likewise.
86457         * sunrpc/pmap_clnt.c: Likewise.
86458         * sunrpc/pmap_prot.c: Likewise.
86459         * sunrpc/pmap_prot2.c: Likewise.
86460         * sunrpc/pmap_rmt.c: Likewise.
86461         * sunrpc/publickey.c: Likewise.
86462         * sunrpc/rpc_cmsg.c: Likewise.
86463         * sunrpc/rpc_common.c: Likewise.
86464         * sunrpc/rpc_dtable.c: Likewise.
86465         * sunrpc/rpc_prot.c: Likewise.
86466         * sunrpc/rpc_thread.c: Likewise.
86467         * sunrpc/rtime.c: Likewise.
86468         * sunrpc/svc.c: Likewise.
86469         * sunrpc/svc_auth.c: Likewise.
86470         * sunrpc/svc_authux.c: Likewise.
86471         * sunrpc/svc_raw.c: Likewise.
86472         * sunrpc/svc_run.c: Likewise.
86473         * sunrpc/svc_simple.c: Likewise.
86474         * sunrpc/svc_tcp.c: Likewise.
86475         * sunrpc/svc_udp.c: Likewise.
86476         * sunrpc/svc_unix.c: Likewise.
86477         * sunrpc/svcauth_des.c: Likewise.
86478         * sunrpc/xcrypt.c: Likewise.
86479         * sunrpc/xdr.c: Likewise.
86480         * sunrpc/xdr_array.c: Likewise.
86481         * sunrpc/xdr_float.c: Likewise.
86482         * sunrpc/xdr_intXX_t.c: Likewise.
86483         * sunrpc/xdr_mem.c: Likewise.
86484         * sunrpc/xdr_rec.c: Likewise.
86485         * sunrpc/xdr_ref.c: Likewise.
86486         * sunrpc/xdr_sizeof.c: Likewise.
86487         * sunrpc/xdr_stdio.c: Likewise.
86489 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
86491         [BZ #12650]
86492         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
86493         * sysdeps/ia64/dl-tls.h: Likewise.
86494         * sysdeps/powerpc/dl-tls.h: Likewise.
86495         * sysdeps/s390/dl-tls.h: Likewise.
86496         * sysdeps/sh/dl-tls.h: Likewise.
86497         * sysdeps/sparc/dl-tls.h: Likewise.
86498         * sysdeps/x86_64/dl-tls.h: Likewise.
86499         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
86501 2011-03-14  Andreas Schwab  <schwab@redhat.com>
86503         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
86504         rpath element also skip the following colon.
86505         (expand_dynamic_string_token): Add is_path parameter and pass
86506         down to DL_DST_REQUIRED and _dl_dst_substitute.
86507         (decompose_rpath): Call expand_dynamic_string_token with
86508         non-zero is_path.  Ignore empty rpaths.
86509         (_dl_map_object_from_fd): Call expand_dynamic_string_token
86510         with zero is_path.
86512 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
86514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
86515         Make cancelable.
86517 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
86519         [BZ #12655]
86520         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
86521         Patch by Filipe David Manana <fdmanana@apache.org>.
86523 2011-04-07  Andreas Schwab  <schwab@redhat.com>
86525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
86526         Maintain aligned stack.
86527         (CHECK_RSP): Remove unused macro.
86529 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
86531         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
86532         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
86534 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
86536         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
86538         * include/features.h: Mention __USE_XOPEN2K8 in comment.
86540 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
86542         [BZ #12518]
86543         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
86544         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
86545         * sysdeps/x86_64/memmove.c: New file.
86546         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
86547         (memcpy): Renamed to ...
86548         (__new_memcpy): This.
86549         (memcpy): Provide GLIBC_2_14 memcpy.
86550         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
86551         (memcpy): Provide GLIBC_2_2_5 memcpy.
86553 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86555         [BZ #12631]
86556         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
86558 2011-03-30  Andreas Schwab  <schwab@redhat.com>
86560         * misc/syncfs.c: New file.
86561         * misc/Makefile (routines): Add syncfs.
86562         * posix/unistd.h: Declare syncfs.
86563         * sysdeps/unix/syscalls.list: Add syncfs.
86565 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86567         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
86568         open_by_handle_at.
86569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86570         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86572         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86574         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
86575         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86577 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86579         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
86580         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86581         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
86582         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86583         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86585         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86587         * io/Makefile: Compile fallocate.c, fallocate64.c, and
86588         sync_file_range.c with -fexceptions.
86589         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
86590         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
86591         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
86592         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
86593         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
86594         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
86595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
86596         sync_file_range as cancellation point
86597         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
86598         now a wrapper around __call_sync_file_range with cancellation handling.
86599         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
86600         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
86601         function name to __call_sync_file_range.
86602         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
86603         Add call_sync_file_range.
86605 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86608         bits/timex.h.
86610 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86612         * iconv/iconv.h: Fix typo in comment.
86613         * io/fcntl.h: Likewise.
86614         * libio/stdio.h: Likewise.
86615         * posix/spawn.h: Likewise.
86616         * posix/unistd.h: Likewise.
86617         * stdlib/stdlib.h: Likewise.
86618         * time/time.h: Likewise.
86619         * wcsmbs/wchar.h: Likewise.
86621         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
86622         open_by_handle): Add.
86623         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
86624         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86625         Augment a few comments.
86626         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86628         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86630         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86631         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
86632         open_by_handle.
86634         * io/fcntl.h (AT_EMPTY_PATH): Define.
86636 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
86638         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
86639         * sysdeps/unix/sysv/linux/bits/time.h: New file.
86640         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
86641         to...
86642         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
86643         * Versions.def: Add GLIBC_2.14.
86644         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
86645         Export.
86647 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
86649         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
86650         round counter.
86651         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86653 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86655         [BZ #12597]
86656         * string/test-strncmp.c (do_page_test): New function.
86657         (check2): Likewise.
86658         (test_main): Call check2.
86659         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86661 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86663         [BZ #12587]
86664         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86665         Handle cache information in CPU leaf 4.
86666         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86668 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86670         [BZ #12583]
86671         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86672         character representation.
86673         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86675 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86677         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86678         END(__isnan) to END(__isnanf) to match function entry point/label
86679         EALIGN(__isnanf,...).
86681 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86683         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86685 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86687         [BZ #12510]
86688         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86689         copy from the symbol referenced in the relocation to initialize the
86690         used variable.
86691         Patch by Piotr Bury <pbury@goahead.com>.
86692         * elf/Makefile: Add rules to build and tst-unique3.
86693         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86694         * elf/tst-unique3.cc: New file.
86695         * elf/tst-unique3.h: New file.
86696         * elf/tst-unique3lib.cc: New file.
86697         * elf/tst-unique3lib2.cc: New file.
86699         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86701 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86703         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86704         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86705         to _start.
86707 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86709         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86710         to-be-loaded object along a path to loader is ld.so.
86712 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86713             Ulrich Drepper  <drepper@gmail.com>
86715         * sysdeps/x86_64/memset.S: After aligning destination, code
86716         branches to different locations depending on the value of
86717         misalignment, when multiarch is enabled. Fix this.
86719 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86721         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86722         Set _x86_64_preferred_memory_instruction for AMD processsors.
86723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86724         Set bit_Prefer_SSE_for_memop for AMD processors.
86726 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86728         * libio/fmemopen.c (fmemopen): Optimize a bit.
86730 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86732         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86734 2011-03-03  Roland McGrath  <roland@redhat.com>
86736         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86738 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86740         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86741         __bzero_ultra1 instead of __memset_ultra1.
86743 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86744             Ulrich Drepper  <drepper@gmail.com>
86746         [BZ #12509]
86747         * include/link.h (struct link_map): Add l_orig_initfini.
86748         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86749         returning unsuccessfully.
86750         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86751         close of a file loaded at startup, restore the original l_initfini
86752         list.
86753         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86754         list, store the pointer.
86755         * elf/Makefile ($(objpfx)noload-mem): New rule.
86756         (noload-ENV): Define.
86757         (tests): Add $(objpfx)noload-mem.
86758         * elf/noload.c: Include <memcheck.h>.
86759         (main): Call mtrace.  Close all opened handles.
86761 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86763         [BZ #12454]
86764         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86765         dependencies are missing.
86767 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86769         Fix __if_freereq crash: Unlike the generic version which uses free,
86770         Hurd needs munmap.
86771         * sysdeps/mach/hurd/ifreq.h: New file.
86773 2011-01-27  Petr Baudis  <pasky@suse.cz>
86774             Ulrich Drepper  <drepper@gmail.com>
86776         [BZ 12445]#
86777         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86778         to extend_alloca().
86779         * stdio-common/bug23.c: New file.
86780         * stdio-common/Makefile (tests): Add bug23.
86782 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86783             Ulrich Drepper  <drepper@gmail.com>
86785         [BZ #12489]
86786         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86787         before performing relro protection.  At old place add assertion
86788         to make sure nothing changed.
86790 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86791             Glauber de Oliveira Costa  <glommer@gmail.com>
86793         * elf/elf.h: Add new ARM TLS relocs.
86795 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86798         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86799         cast from r3.
86800         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86801         'tests' variable.
86802         * sysdeps/wordsize-64/tst-writev.c: New file.
86804 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86806         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86807         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86808         insns in _dl_start to prevent a TOC reference before relocs are
86809         resolved.
86811 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86813         [BZ #12469]
86814         * Makeconfig: Remove RANLIB definition.
86815         * Makerules: Don't use RANLIB.
86816         * aclocal.m4: Remove ranlib test.
86817         * configure.in: No need to check for ranlib.
86818         * elf/rtld-Rules: Don't use RANLIB.
86820 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86822         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86823         protection macro.
86824         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86825         inclusion protection macro.
86827         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86828         SIGRTMIN and SIGRTMAX and print information in that case only when
86829         SIGRTMIN is defined.
86831 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86833         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86834         arginfo fn returning -1.
86836         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86837         and thousands string is zero terminated.
86839 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86841         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86842         sysdeps/unix/sysv/linux/bits/socket.h.
86844 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86846         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86847         (__CPU_COUNT): Remove old macros.
86848         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86849         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86850         (__CPU_ALLOC, __CPU_FREE): Add macros.
86851         (__sched_cpualloc, __sched_cpufree): Add declarations.
86853 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86855         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86856         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86857         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86858         (readdhstai): Return value of addhstaiX call.
86859         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86860         (addgrbyX): Return value returned by cache_addgr.
86861         (readdgrbyname): Return value returned by addgrbyX.
86862         (readdgrbygid): Likewise.
86863         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86864         (addpwbyX): Return value returned by cache_addpw.
86865         (readdpwbyname): Return value returned by addhstbyX.
86866         (readdpwbyuid): Likewise.
86867         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86868         (addservbyX): Return value returned by cache_addserv.
86869         (readdservbyname): Return value returned by addservbyX:
86870         (readdservbyport): Likewise.
86871         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86872         (addhstbyX): Return value returned by cache_addhst.
86873         (readdhstbyname): Return value returned by addhstbyX.
86874         (readdhstbyaddr): Likewise.
86875         (readdhstbynamev6): Likewise.
86876         (readdhstbyaddrv6): Likewise.
86877         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86878         (readdinitgroups): Return value returned by addinitgroupsX.
86879         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86880         (prune_cache): Keep track of timeout value of re-added entries.
86881         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86882         * nscd/nscd.h: Adjust prototypes of readd* functions.
86884 2011-02-04  Roland McGrath  <roland@redhat.com>
86886         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86887         (nis_stats): Likewise.
86888         * nis/nis_modify.c (nis_modify): Likewise.
86889         * nis/nis_remove.c (nis_remove): Likewise.
86890         * nis/nis_add.c (nis_add): Likewise.
86892         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86894         * posix/fnmatch_loop.c: Add some consts.
86896         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86898 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86900         [BZ #12460]
86901         * config.make.in (config-cflags-novzeroupper): Define.
86902         * configure.in: Substitute libc_cv_cc_novzeroupper.
86903         * elf/Makefile (AVX-CFLAGS): Define.
86904         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86905         (CFLAGS-tst-auditmod4a.c): Likewise.
86906         (CFLAGS-tst-auditmod4b.c): Likewise.
86907         (CFLAGS-tst-auditmod6b.c): Likewise.
86908         (CFLAGS-tst-auditmod6c.c): Likewise.
86909         (CFLAGS-tst-auditmod7b.c): Likewise.
86910         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86912 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86914         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86915         function to the callback.
86916         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86918 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86920         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86921         of errno.
86923 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86925         [BZ #11724]
86926         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86927         of constructors.
86928         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86929         of destructors.
86930         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86932         [BZ #11724]
86933         * elf/Makefile: Add rules to build and run new test.
86934         * elf/tst-initorder.c: New file.
86935         * elf/tst-initorder.exp: New file.
86936         * elf/tst-initordera1.c: New file.
86937         * elf/tst-initordera2.c: New file.
86938         * elf/tst-initordera3.c: New file.
86939         * elf/tst-initordera4.c: New file.
86940         * elf/tst-initorderb1.c: New file.
86941         * elf/tst-initorderb2.c: New file.
86942         * elf/tst-order-a1.c: New file.
86943         * elf/tst-order-a2.c: New file.
86944         * elf/tst-order-a3.c: New file.
86945         * elf/tst-order-a4.c: New file.
86946         * elf/tst-order-b1.c: New file.
86947         * elf/tst-order-b2.c: New file.
86948         * elf/tst-order-main.c: New file.
86949         New test case by George Gensure <werkt0@gmail.com>.
86951 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86954         decoding ACE if AI_CANONIDN.
86956 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86958         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86960 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86962         * version.h (RELEASE): Bump for 2.13 release.
86963         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86965         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86967         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86968         MADV_NOHUGEPAGE.
86969         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86970         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86971         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86972         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86974         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86976         * posix/getconf.c: Update copyright year.
86977         * catgets/gencat.c: Likewise.
86978         * csu/version.c: Likewise.
86979         * debug/catchsegv.sh: Likewise.
86980         * debug/xtrace.sh: Likewise.
86981         * elf/ldconfig.c: Likewise.
86982         * elf/ldd.bash.in: Likewise.
86983         * elf/sprof.c (print_version): Likewise.
86984         * iconv/iconv_prog.c: Likewise.
86985         * iconv/iconvconfig.c: Likewise.
86986         * locale/programs/locale.c: Likewise.
86987         * locale/programs/localedef.c: Likewise.
86988         * malloc/memusage.sh: Likewise.
86989         * malloc/mtrace.pl: Likewise.
86990         * nscd/nscd.c (print_version): Likewise.
86991         * nss/getent.c: Likewise.
86993         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86994         PF_CAIF, and PF_ALG.
86995         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86997 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86999         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87000         (modules-names): Use them.
87001         (ifunc-test-modules, ifunc-pie-tests): Define.
87002         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87003         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87004         (test-extras): Likewise.
87005         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87006         $(compile-command.c).
87007         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87008         (all-built-dso): Define.
87009         (check-textrel.out, check-execstack.out): Depend on it.
87011         * configure.in: Don't override --enable-multi-arch.
87013 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87015         [BZ #6812]
87016         * nscd/hstcache.c (tryagain): Define.
87017         (cache_addhst): Return tryagain not notfound for temporary errors.
87018         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87019         failed.
87021 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87023         [BZ #10563]
87024         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87025         to make the syscall.
87026         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87028         [BZ #12378]
87029         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87030         and fall back to matching as normal character if the string ends before
87031         the matching ']' is found.  This is what POSIX requires.
87032         * posix/testfnm.c: Adjust test result.
87033         * posix/globtest.sh: Adjust test result.  Add new test.
87034         * posix/tst-fnmatch.input: Likewise.
87035         * posix/tst-fnmatch2.c: Add new test.
87037 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87039         * elf/Makefile (check-execstack): Revert last change.  Depend on
87040         check-execstack.h.
87041         (check-execstack.h): New target.
87042         (generated): Add check-execstack.h.
87043         * elf/check-execstack.c: Include "check-execstack.h".
87044         (main): Revert last change.
87045         (handle_file): Return zero if GNU_STACK is absent and
87046         DEFAULT_STACK_PERMS doesn't include PF_X.
87048 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87050         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87051         in child fails because the descriptor is already closed.
87052         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87053         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87054         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87056         [BZ #12397]
87057         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87058         syscall.
87060         [BZ #10484]
87061         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87062         temporary buffer used to handle multi lookups locally.
87063         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87065 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87067         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87068         loader is ld.so.
87070 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87072         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87073         alignment for SSE2.
87075 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87077         [BZ #12394]
87078         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87079         characters.  When rounding increased number of integer digits recompute
87080         number of groups.
87081         * stdio-common/tst-grouping.c: New file.
87082         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87084 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87086         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87087         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87089         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87090         void.
87091         * bits/select.h: Likewise.
87093 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87095         * po/ja.po: Update from translation team.
87097 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87099         [BZ #11155]
87100         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87101         implementation just like for lxstat, fxstatat, et al.
87103 2010-12-27  Jim Meyering  <meyering@redhat.com>
87105         [BZ #12348]
87106         * posix/regexec.c (build_trtable): Return failure indication upon
87107         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87109 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87111         [BZ #12201]
87112         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87113         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87114         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87115         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87117         [BZ #12207]
87118         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87120         [BZ #12204]
87121         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87122         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87124 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87126         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87127         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87128         script has SORT_BY_INIT_PRIORITY.
87129         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87130         NO_CTORS_DTORS_SECTIONS is defined.
87131         * elf/soinit.c: Likewise.
87132         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87133         NO_CTORS_DTORS_SECTIONS is defined.
87134         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87135         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87136         * sysdeps/sh/init-first.c: Likewise.
87137         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87139 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87141         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87142         always use the slow path.
87144 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87146         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87147         similar rule which adds the sysdep directories to the header search in
87148         order to pick up the correct platform stackinfo.h.
87149         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87150         perform test if it is, otherwise return successfully without testing.
87151         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87152         DEFAULT_STACK_PERMS define in stackinfo.h.
87153         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87154         defined in stackinfo.h.
87155         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87156         DEFAULT_STACK_PERMS defined in stackinfo.h.
87157         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87158         * sysdeps/ia64/stackinfo.h: Likewise.
87159         * sysdeps/s390/stackinfo.h: Likewise.
87160         * sysdeps/sh/stackinfo.h: Likewise.
87161         * sysdeps/sparc/stackinfo.h: Likewise.
87162         * sysdeps/x86_64/stackinfo.h: Likewise.
87163         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87164         PF_X for powerpc64.  Retain PF_X for powerpc32.
87166 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87168         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87169         accurately.
87170         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87171         GETDENTS_64BIT_ALIGNED.
87173 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87175         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87177 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87179         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87180         _GNU_SOURCE.
87182         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87183         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87184         Remove __restrict.
87185         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87186         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87188 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87190         [BZ #11655]
87191         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87192         are initialized.
87194 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87196         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87198 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87200         * po/it.po: Update from translation team.
87202 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87205         unused codes.
87207 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87209         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87211 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87213         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87214         specially.
87215         (gaih_getanswer_slice): Likewise.
87217 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87221 2010-05-31  Petr Baudis  <pasky@suse.cz>
87223         [BZ #11149]
87224         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87225         silently even in the chroot mode.
87227 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87229         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87230         last patch a bit.  Pretty printing
87232 2010-05-31  Petr Baudis <pasky@suse.cz>
87234         [BZ #10085]
87235         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87236         initialization of skip_initgroups_dyn.
87238 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87240         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87241         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87243 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87245         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87247 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87249         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87250         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87251         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87252         ($(objpfx)tst-fnmatch-mem): New rule.
87253         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87254         * posix/tst-fnmatch.c (main): Call mtrace.
87256 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87259         Support Intel processor model 6 and model 0x2c.
87261 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87263         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87264           signed comparison.
87266 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87268         [BZ #12205]
87269         * string/test-strncasecmp.c (check_result): New function.
87270         (do_one_test): Use it.
87271         (check1): New function.
87272         (test_main): Use it.
87273         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87274         Support strcasecmp and strncasecmp.
87276 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87278         [BZ #12194]
87279         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87280         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87282 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87284         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87285         IFUNC support.
87286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87287         memset-x86-64.
87288         * sysdeps/x86_64/multiarch/bzero.S: New file.
87289         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87290         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87291         * sysdeps/x86_64/multiarch/memset.S: New file.
87292         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87294         Set bit_Prefer_SSE_for_memop for Intel processors.
87295         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87296         Define.
87297         (index_Prefer_SSE_for_memop): Define.
87298         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87300 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87302         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87303         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87305 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87307         [BZ #12191]
87308         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87309         (__x86_64_raw_data_cache_size_half): Likewise.
87310         (__x86_64_raw_shared_cache_size): Likewise.
87311         (__x86_64_raw_shared_cache_size_half): Likewise.
87313         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87314         (__x86_64_raw_data_cache_size_half): Likewise.
87315         (__x86_64_raw_shared_cache_size): Likewise.
87316         (__x86_64_raw_shared_cache_size_half): Likewise.
87317         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87318         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87319         and __x86_64_raw_shared_cache_size_half.  Round
87320         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87321         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87322         to multiple of 256 bytes.
87324 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87326         [BZ #12167]
87327         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87328         of inacessible symlinks.  Verify result of symlink before returning it.
87329         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87330         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87332 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87334         * math/math.h (isinf): Fix typo in comment.
87336 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87338         * po/da.po: Update from translation team.
87340 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87342         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87343         is added to the list.
87345 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87346             Ulrich Drepper  <drepper@gmail.com>
87348         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87349         the global list here.  Move code to...
87350         (_dl_add_to_namespace_list): ...here.  New function.
87351         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87352         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87353         * elf/dl-load.c (lose): Don't remove the element from the list.
87354         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87355         (_dl_map_object): Likewise.
87357 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87359         [BZ #12159]
87360         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87361         into all bytes of SSE register.
87362         Patch by Richard Li <richardpku@gmail.com>.
87364 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87366         [BZ #12140]
87367         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87368         perturbing.
87370 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87372         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87373         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87374         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87375         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87377         submachine.
87378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87380 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87382         * include/dlfcn.h (__RTLD_SECURE): Define.
87383         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87384         mode & __RTLD_SECURE instead.
87385         (open_path): Rename preloaded parameter to secure.
87386         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87387         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87388         * elf/dl-deps.c (openaux): Likewise.
87389         * elf/rtld.c (struct map_args): Remove is_preloaded.
87390         (map_doit): Don't use it.
87391         (dl_main): Likewise.
87392         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87393         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87395 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87397         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87398         (sysd-rules-targets): Remove duplicates.
87399         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87400         rtld-%.$o dependency.
87402 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87404         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87405         _dl_map_object do it.
87407 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87409         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87410         fast fma builtins, define the macros in the C99 standard.
87411         (FP_FAST_FMAF): Likewise.
87412         (FP_FAST_FMAL): Likewise.
87413         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87415         * bits/mathdef.h: Update copyright year.
87416         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87418 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87420         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87421         builtins, define the macros in the C99 standard.
87422         (FP_FAST_FMAF): Likewise.
87423         (FP_FAST_FMAL): Likewise.
87424         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87425         multiply/add.
87426         (FP_FAST_FMAF): Likewise.
87428 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87430         [BZ #3268]
87431         * math/libm-test.inc (fma_test): Some new testcases.
87432         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87433         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87434         y and infinite z.  Do multiplication by C already in long double.
87435         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87437         y and infinite z.  Do bitwise or of inexact bit into u.d.
87438         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87439         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87440         * sysdeps/i386/fpu/s_fma.S: Removed.
87441         * sysdeps/i386/fpu/s_fmal.S: Removed.
87443 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87445         [BZ #3268]
87446         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87448         computation is not scheduled after fetestexcept.  Fix value
87449         of minimum denormal long double.
87451 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87453         [BZ #3268]
87454         * math/libm-test.inc (fma_test): Add some more tests.
87455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87456         correctly.
87458 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87460         * scripts/data/localplt-s390-linux-gnu.data: New file.
87461         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87463 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87465         [BZ #3268]
87466         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87467         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87468         instead of dbl-64.
87469         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87470         inlines.
87471         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87473         if one of x and y is very large and the other is subnormal.
87474         * sysdeps/s390/fpu/s_fmaf.c: New file.
87475         * sysdeps/s390/fpu/s_fma.c: New file.
87476         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87477         * sysdeps/powerpc/fpu/s_fma.S: New file.
87478         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87479         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87480         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87482 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87484         [BZ #3268]
87485         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87486         fma tests.
87487         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
87488         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
87489         * sysdeps/i386/i686/multiarch/s_fma.c: Include
87490         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
87491         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
87492         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
87493         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
87495 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
87497         [BZ #12078]
87498         * posix/regcomp.c (parse_branch): One more memory leak plugged.
87499         * posix/bug-regex31.input: Add test case.
87501 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87503         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
87504         * posix/bug-regex31.input: New file.
87506         [BZ #12078]
87507         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87508         (parse_sub_exp): Fix last change, use postorder.
87510         * posix/bug-regex31.c: New file.
87511         * posix/Makefile: Add rules to build and run bug-regex31.
87513         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
87515         [BZ #12078]
87516         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
87518         [BZ #12108]
87519         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
87520         to have entries in sys_siglist.
87522         [BZ #12093]
87523         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
87524         be NULL.
87526 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
87528         [BZ #3268]
87529         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
87530         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
87531         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
87532         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
87533         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87534         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
87535         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
87536         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
87537         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
87538         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
87539         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
87540         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
87541         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
87542         * math/ftestexcept.c (fetestexcept): Likewise.
87543         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
87544         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
87545         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
87546         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
87547         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
87548         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
87549         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
87551 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87553         [BZ #12107]
87554         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
87555         newline.
87557 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
87559         * string/bug-strstr1.c: New file.
87560         * string/Makefile: Add rules to build and run bug-strstr1.
87562 2010-10-05  Eric Blake  <eblake@redhat.com>
87564         [BZ #12092]
87565         * string/str-two-way.h (two_way_long_needle): Always clear memory
87566         when skipping input due to the shift table.
87568 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
87570         [BZ #12005]
87571         * malloc/mcheck.c: Handle large requests.
87573         [BZ #12077]
87574         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
87575         for strncmp and strncasecmp.
87576         * string/stratcliff.c: Add tests for strcmp and strncmp.
87577         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
87579 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
87581         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
87582         __set_fpscr.
87584 2010-09-30  Andreas Jaeger  <aj@suse.de>
87586         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
87587         (CGROUP_SUPER_MAGIC): Define.
87588         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87589         Handle btrfs and cgroup file systems.
87590         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
87591         Likewise.
87593 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
87595         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
87596         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
87598 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87600         [BZ #12067]
87601         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
87602         trying to locate the ELF header.
87604 2010-09-27  Andreas Schwab  <schwab@redhat.com>
87606         [BZ #11611]
87607         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
87608         Mask out sign-bit copies when constructing f_fsid.
87610 2010-09-24  Petr Baudis <pasky@suse.cz>
87612         * debug/stack_chk_fail_local.c: Add missing licence exception.
87613         * debug/warning-nop.c: Likewise.
87615 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
87617         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
87618         implementing getdents64 using getdents syscall, set d_type if
87619         __ASSUME_GETDENTS32_D_TYPE.
87621 2010-09-16  Andreas Schwab  <schwab@redhat.com>
87623         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
87624         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
87626 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
87628         [BZ #12037]
87629         * posix/unistd.h: Undo change of feature selection for ftruncate from
87630         2010-01-11.
87632 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
87634         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
87635         detection.
87637 2010-09-20  Andreas Schwab  <schwab@redhat.com>
87639         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
87640         fanotify_mark.
87641         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87643 2010-09-14  Andreas Schwab  <schwab@redhat.com>
87645         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
87646         variables after CHECK_SP call.
87647         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
87649 2010-09-13  Andreas Schwab  <schwab@redhat.com>
87650             Ulrich Drepper  <drepper@redhat.com>
87652         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
87653         re-relocationg ld.so.
87654         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87655         _dl_init_paths call.
87656         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87657         here anymore.
87659 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87661         * resolv/res_init.c (__res_vinit): Count the default server we added.
87663 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87664             Ulrich Drepper  <drepper@redhat.com>
87666         [BZ #11968]
87667         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87668         (____longjmp_chk): Use %ebx for saving value across system call.
87669         Add unwind info.
87671 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87673         * manual/Makefile: Don't mix pattern rules with normal rules.
87675 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87677         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87678         operation.
87679         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87680         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87681         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87682         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87683         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87684         Likewise.
87686 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87688         [BZ #11979]
87689         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87690         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87692 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87694         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87695         * sysdeps/x86_64/addmul_1.S: Likewise.
87696         * sysdeps/x86_64/lshift.S: Likewise.
87697         * sysdeps/x86_64/mul_1.S: Likewise.
87698         * sysdeps/x86_64/rshift.S: Likewise.
87699         * sysdeps/x86_64/sub_n.S: Likewise.
87700         * sysdeps/x86_64/submul_1.S: Likewise.
87702 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87704         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87705         Define __sched_param instead of SCHED_* and sched_param when
87706         <bits/sched.h> is included with __need_schedparam defined.
87707         * bits/sched.h [__need_schedparam]
87708         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87709         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87710         (__defined_schedparam): Define to 1.
87711         (__sched_param): New structure, identical to sched_param.
87712         (__need_schedparam): Undefine.
87714 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87716         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87717         (epoll_create1): Declare.
87719         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87721 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87723         [BZ #7066]
87724         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87725         shifting retval into place.
87727 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87729         * nis/rpcsvc/nis.h: Update copyright notice.
87730         * nis/rpcsvc/nis.x: Likewise.
87731         * nis/rpcsvc/nis_callback.h: Likewise.
87732         * nis/rpcsvc/nis_callback.x: Likewise.
87733         * nis/rpcsvc/nis_object.x: Likewise.
87734         * nis/rpcsvc/nis_tags.h: Likewise.
87735         * nis/rpcsvc/yp.h: Likewise.
87736         * nis/rpcsvc/yp.x: Likewise.
87737         * nis/rpcsvc/ypupd.h: Likewise.
87738         * nis/yp_xdr.c: Likewise.
87739         * nis/ypupdate_xdr.c: Likewise.
87741         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87742         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87743         (pmap_getport): Use __libc_rpc_getport.
87744         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87745         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87746         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87748 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87751         fanotify_mark.
87753 2010-08-27  Roland McGrath  <roland@redhat.com>
87755         * sysdeps/i386/i686/multiarch/Makefile
87756         (CFLAGS-varshift.c): New variable.
87758 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87760         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87761         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87763         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87765         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87767 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87769         * sysdeps/x86_64/strlen.S: Unroll the loop.
87770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87771         strlen-sse2 strlen-sse2-bsf.
87772         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87773         __strlen_no_bsf if bit_Slow_BSF is set.
87774         (__strlen_sse42): Removed.
87775         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87776         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87778 2010-08-25  Roland McGrath  <roland@redhat.com>
87780         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87781         * sysdeps/x86_64/multiarch/varshift.c: New file.
87782         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87783         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87784         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87785         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87787 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87790         strlen-sse2 strlen-sse2-bsf.
87791         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87792         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87793         (__strlen_sse2): Removed.
87794         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87795         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87797         bit_Slow_BSF for Atom.
87798         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87799         (index_Slow_BSF): Define.
87800         (HAS_SLOW_BSF): Define.
87802 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87804         [BZ #10851]
87805         * resolv/res_init.c (__res_vinit): When no server address at all
87806         is given default to loopback.
87808 2010-08-24  Roland McGrath  <roland@redhat.com>
87810         * configure.in: Remove config-name.h generation.
87811         * configure: Regenerated.
87812         * config-name.in: File removed.
87813         * scripts/config-uname.sh: New file.
87814         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87815         ($(objdir)config-name.h): New target.
87817         * sunrpc/rpc_parse.h: Avoid nested comment.
87819 2010-08-24  Richard Henderson  <rth@redhat.com>
87820             Ulrich Drepper  <drepper@redhat.com>
87821             H.J. Lu  <hongjiu.lu@intel.com>
87823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87825         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87826         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87827         _mm_alignr_epi8 with _mm_loadu_si128.
87828         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87829         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87830         (__m128i_shift_right): Removed.
87831         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87832         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87833         * sysdeps/x86_64/multiarch/varshift.h: New file.
87834         * sysdeps/x86_64/multiarch/varshift.S: New file.
87836 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87838         * configure.in: Move assembler checks to before sysdep dir checking.
87840 2010-08-20  Petr Baudis  <pasky@suse.cz>
87842         * LICENSES: Sync the sunrpc license.
87844 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87846         * sunrpc/auth_des.c: Update copyright notice once again.
87847         * sunrpc/auth_none.c: Likewise.
87848         * sunrpc/auth_unix.c: Likewise.
87849         * sunrpc/authdes_prot.c: Likewise.
87850         * sunrpc/authuxprot.c: Likewise.
87851         * sunrpc/bindrsvprt.c: Likewise.
87852         * sunrpc/clnt_gen.c: Likewise.
87853         * sunrpc/clnt_perr.c: Likewise.
87854         * sunrpc/clnt_raw.c: Likewise.
87855         * sunrpc/clnt_simp.c: Likewise.
87856         * sunrpc/clnt_tcp.c: Likewise.
87857         * sunrpc/clnt_udp.c: Likewise.
87858         * sunrpc/clnt_unix.c: Likewise.
87859         * sunrpc/des_crypt.c: Likewise.
87860         * sunrpc/des_soft.c: Likewise.
87861         * sunrpc/get_myaddr.c: Likewise.
87862         * sunrpc/getrpcport.c: Likewise.
87863         * sunrpc/key_call.c: Likewise.
87864         * sunrpc/key_prot.c: Likewise.
87865         * sunrpc/openchild.c: Likewise.
87866         * sunrpc/pm_getmaps.c: Likewise.
87867         * sunrpc/pm_getport.c: Likewise.
87868         * sunrpc/pmap_clnt.c: Likewise.
87869         * sunrpc/pmap_prot.c: Likewise.
87870         * sunrpc/pmap_prot2.c: Likewise.
87871         * sunrpc/pmap_rmt.c: Likewise.
87872         * sunrpc/rpc/auth.h: Likewise.
87873         * sunrpc/rpc/auth_unix.h: Likewise.
87874         * sunrpc/rpc/clnt.h: Likewise.
87875         * sunrpc/rpc/des_crypt.h: Likewise.
87876         * sunrpc/rpc/key_prot.h: Likewise.
87877         * sunrpc/rpc/netdb.h: Likewise.
87878         * sunrpc/rpc/pmap_clnt.h: Likewise.
87879         * sunrpc/rpc/pmap_prot.h: Likewise.
87880         * sunrpc/rpc/pmap_rmt.h: Likewise.
87881         * sunrpc/rpc/rpc.h: Likewise.
87882         * sunrpc/rpc/rpc_des.h: Likewise.
87883         * sunrpc/rpc/rpc_msg.h: Likewise.
87884         * sunrpc/rpc/svc.h: Likewise.
87885         * sunrpc/rpc/svc_auth.h: Likewise.
87886         * sunrpc/rpc/types.h: Likewise.
87887         * sunrpc/rpc/xdr.h: Likewise.
87888         * sunrpc/rpc_clntout.c: Likewise.
87889         * sunrpc/rpc_cmsg.c: Likewise.
87890         * sunrpc/rpc_common.c: Likewise.
87891         * sunrpc/rpc_cout.c: Likewise.
87892         * sunrpc/rpc_dtable.c: Likewise.
87893         * sunrpc/rpc_hout.c: Likewise.
87894         * sunrpc/rpc_main.c: Likewise.
87895         * sunrpc/rpc_parse.c: Likewise.
87896         * sunrpc/rpc_parse.h: Likewise.
87897         * sunrpc/rpc_prot.c: Likewise.
87898         * sunrpc/rpc_sample.c: Likewise.
87899         * sunrpc/rpc_scan.c: Likewise.
87900         * sunrpc/rpc_scan.h: Likewise.
87901         * sunrpc/rpc_svcout.c: Likewise.
87902         * sunrpc/rpc_tblout.c: Likewise.
87903         * sunrpc/rpc_util.c: Likewise.
87904         * sunrpc/rpc_util.h: Likewise.
87905         * sunrpc/rpcinfo.c: Likewise.
87906         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87907         * sunrpc/rpcsvc/key_prot.x: Likewise.
87908         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87909         * sunrpc/rpcsvc/mount.x: Likewise.
87910         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87911         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87912         * sunrpc/rpcsvc/rex.x: Likewise.
87913         * sunrpc/rpcsvc/rstat.x: Likewise.
87914         * sunrpc/rpcsvc/rusers.x: Likewise.
87915         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87916         * sunrpc/rpcsvc/spray.x: Likewise.
87917         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87918         * sunrpc/rtime.c: Likewise.
87919         * sunrpc/svc.c: Likewise.
87920         * sunrpc/svc_auth.c: Likewise.
87921         * sunrpc/svc_authux.c: Likewise.
87922         * sunrpc/svc_raw.c: Likewise.
87923         * sunrpc/svc_run.c: Likewise.
87924         * sunrpc/svc_simple.c: Likewise.
87925         * sunrpc/svc_tcp.c: Likewise.
87926         * sunrpc/svc_udp.c: Likewise.
87927         * sunrpc/svc_unix.c: Likewise.
87928         * sunrpc/svcauth_des.c: Likewise.
87929         * sunrpc/xcrypt.c: Likewise.
87930         * sunrpc/xdr.c: Likewise.
87931         * sunrpc/xdr_array.c: Likewise.
87932         * sunrpc/xdr_float.c: Likewise.
87933         * sunrpc/xdr_mem.c: Likewise.
87934         * sunrpc/xdr_rec.c: Likewise.
87935         * sunrpc/xdr_ref.c: Likewise.
87936         * sunrpc/xdr_sizeof.c: Likewise.
87937         * sunrpc/xdr_stdio.c: Likewise.
87939         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87940         handling.
87942 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87944         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87946 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87948         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87949         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87950         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87951         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87952         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87953         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87954         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87955         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87956         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87957         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87958         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87959         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87960         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87961         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87963 2010-07-26  Anton Blanchard  <anton@samba.org>
87965         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87966         * malloc/arena.c (heap_trim): Likewise.
87968 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87970         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87971         here.  Not...
87972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87973         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87975 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87977         * sysdeps/i386/elf/Makefile: New file.
87979 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87981         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87982         from fanotify_init.
87983         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87986 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87988         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87989         of strncasecmp_l.
87990         * sysdeps/multiarch/strcmp.S: Likewise.
87992 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87994         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87995         strncase_l-nonascii.
87996         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87997         Add strncase_l-ssse3.
87998         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87999         * sysdeps/x86_64/strcmp.S: Likewise.
88000         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88001         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88002         * sysdeps/x86_64/strncase.S: New file.
88003         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88004         * sysdeps/x86_64/strncase_l.S: New file.
88005         * string/Makefile (strop-tests): Add strncasecmp.
88006         * string/test-strncasecmp.c: New file.
88008         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88009         warning.
88011         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88012         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88014 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88016         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88018 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88020         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88021         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88022         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88024 2010-05-01  Alan Modra  <amodra@gmail.com>
88026         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88027         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88028         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88029         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88030         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88031         tidying.  Don't tail-call __sigjmp_save for static lib.
88032         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88033         save location.
88034         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88035         (CALL_MCOUNT): Add eh info, and nop after bl.
88036         (TAIL_CALL_SYSCALL_ERROR): New macro.
88037         (PSEUDO_RET): Use it.
88038         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88039         Correct save location of integer regs and cr.
88040         (_dl_profile_resolve): Correct cr save location.  Delete nops
88041         after bl when SHARED.  Reduce cfi size a little by better
88042         placement of cfi directives.
88043         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88044         make a stack frame.  Instead use parm save area as a temp.
88045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88046         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88048         Don't make a stack frame for parent, use parm save area.
88049         Increase child stack frame to 112 bytes.  Don't save unused reg,
88050         and adjust reg usage.  Set up cfi on error recovery and
88051         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88053         (__makecontext): Add dummy nop after jump to exit.
88054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88055         Use correct parm save area and cr save, reduce stack frame.
88056         Correct cfi for possible PSEUDO_RET frame setup.
88057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88058         Branch to local label emitted by PSEUDO_RET rather than
88059         __syscall_error.
88061 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88063         [BZ #11904]
88064         * locale/programs/locale.c (print_assignment): New function.
88065         (show_locale_vars): Use it.
88067 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88069         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88070         field.
88071         (struct statfs64): Likewise.
88072         (_STATFS_F_FLAGS): Define.
88073         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88074         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88075         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88076         (ST_VALID): Define locally.
88077         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88078         __statvfs_getflags, use the provided value.
88079         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88080         __ASSUME_STATFS_F_FLAGS.
88082         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88084         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88085         Add sys/fanotify.h.
88086         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88087         fanotify_mask for GLIBC_2.13.
88088         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88089         fanotify_init and fanotify_mark.
88090         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88091         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88093         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88094         Add prlimit.
88095         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88096         prlimit64 for GLIBC_2.13.
88097         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88098         prlimit64.
88099         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88100         syscall.
88101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88103         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88104         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88106         add prlimit alias.
88107         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88109         [BZ #11903]
88110         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88111         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88113         * nss/Makefile: Add rules to build and run tst-nss-test1.
88114         * shlib-versions: Add entry for libnss_test1.
88115         * nss/nss_test1.c: New file.
88116         * nss/tst-nss-test1.c: New file.
88118         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88119         (__nss_configure_lookup): Set appropriate entry in
88120         __nss_configure_lookup to true.
88121         * nss/nsswitch.h: Define enum with indeces of databases in
88122         databases and __nss_database_custom arrays.  Declare
88123         __nss_database_custom.
88124         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88125         to avoid using nscd when custom rules are installed.
88126         * nss/getXXbyYY_r.c: Likewise.
88127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88129         * nss/nss_files/files-parse.c: Whitespace fixes.
88131 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88133         [BZ #11883]
88134         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88135         * posix/fnmatch_loop.c: Likewise.
88137 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88139         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88140         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88141         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88142         * Versions.def [GLIBC_2.13]: Add.
88144 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88146         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88147         Also fail if tpwd after pwuid call is NULL.
88149 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88151         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88152         when converting to ms.
88154 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88156         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88157         EOPNOTSUPP errors with ENOTTY.
88158         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88159         EOPNOTSUPP errors with ENOTTY.
88161 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88163         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88164         Add strcasecmp_l-ssse3.
88165         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88166         strcasecmp.
88167         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88168         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88169         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88171 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88173         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88175         * string/Makefile (strop-tests): Add strcasecmp.
88176         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88177         strcasecmp_l-nonascii.
88178         (gen-as-const-headers): Add locale-defines.sym.
88179         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88180         * sysdeps/x86_64/strcasecmp.S: New file.
88181         * sysdeps/x86_64/strcasecmp_l.S: New file.
88182         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88183         * sysdeps/x86_64/locale-defines.sym: New file.
88184         * string/test-strcasecmp.c: New file.
88186         * string/test-strcasestr.c: Test both ends of the range of characters.
88187         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88189 2010-07-29  Roland McGrath  <roland@redhat.com>
88191         [BZ #11856]
88192         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88194 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88196         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88197         for ld.so.
88199 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88201         * manual/memory.texi (Malloc Tunable Parameters): Document
88202         M_PERTURB.
88204 2010-07-26  Roland McGrath  <roland@redhat.com>
88206         [BZ #11840]
88207         * configure.in (-fgnu89-inline check): Set and substitute
88208         gnu89_inline, not libc_cv_gnu89_inline.
88209         * configure: Regenerated.
88210         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88212 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88214         * string/test-strnlen.c: New file.
88215         * string/Makefile (strop-tests): Add strnlen.
88216         * string/tester.c (test_strnlen): Add a few more test cases.
88217         * string/tst-strlen.c: Better error reporting.
88219         * sysdeps/x86_64/strnlen.S: New file.
88221 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88223         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88224         lower-latency instructions.
88226 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88228         * string/test-strcasestr.c: New file.
88229         * string/test-strstr.c: New file.
88230         * string/Makefile (strop-tests): Add strstr and strcasestr.
88231         * string/str-two-way.h: Don't undefine MAX.
88232         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88234 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88237         strcasestr-nonascii.
88238         (CFLAGS-strcasestr-nonascii.c): Define.
88239         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88241         Remove unused attribute.
88243 2010-07-20  Roland McGrath  <roland@redhat.com>
88245         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88246         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88247         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88248         like LD_HWCAP_MASK can disable hwcaps.
88250 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88252         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88254 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88256         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88257         call in strcasestr.
88258         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88259         __strcasestr_sse42_nonascii.
88260         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88261         strcasestr-nonascii.c.
88262         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88264 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88266         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88267         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88268         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88269         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88271 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88273         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88274         fcntl.
88276 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88278         [BZ #11577]
88279         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88280         dl_signal_cerror.
88282 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88284         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88285         _PC_PIPE_BUF using F_GETPIPE_SZ.
88287 2010-07-05  Roland McGrath  <roland@redhat.com>
88289         * manual/arith.texi (Rounding Functions): Fix rint description
88290         implicit in round description.
88292 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88294         * elf/Makefile: Fix linking for a few tests to make recent linker
88295         happy.
88297 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88299         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88300         $(common-objpfx)libc_nonshared.a.
88302 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88304         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88305         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88306         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88307         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88308         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88309         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88310         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88311         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88326         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88327         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88328         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88329         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88330         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88331         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88332         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88333         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88334         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88335         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88336         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88337         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88353 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88355         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88356         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88357         * string/memmove.c (memmove): Renamed to ...
88358         (MEMMOVE): ...this.  Default to memmove.
88359         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88360         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88361         (END_CHK): Define.
88362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88363         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88364         mempcpy-ssse3-back memmove-ssse3-back.
88365         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88366         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88367         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88368         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88369         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88370         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88371         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88372         * sysdeps/x86_64/multiarch/memmove.c: New file.
88373         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88374         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88375         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88376         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88377         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88378         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88379         Define.
88380         (index_Fast_Copy_Backward): Define.
88381         (HAS_ARCH_FEATURE): Define.
88382         (HAS_FAST_REP_STRING): Define.
88383         (HAS_FAST_COPY_BACKWARD): Define.
88385 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88387         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88388         Restore proper fallback handling.
88390 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88392         [BZ #11701]
88393         * posix/group_member.c (__group_member): Correct checking loop.
88395         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88396         OOM in getpwuid_r correctly.  Return error number when the caller
88397         should return, otherwise -1.
88398         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88399         call returning > 0 value.
88400         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88402 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88404         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88405         libc_nonshared.a from targets in modules-names.
88407 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88409         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88410         requires it.
88412 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88414         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88415         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88416         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88419 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88421         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88423 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88425         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88426         and F_GETPIPE_SZ.
88427         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88432         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88434 2010-06-14  Roland McGrath  <roland@redhat.com>
88436         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88438 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88440         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88441         __REDIRECT followed by __THROW.
88442         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88443         * posix/getopt.h (getopt): Likewise.
88445 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88447         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88448         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88449         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88450         in AT_FLAGS.
88451         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88452         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88454 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88456         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88458 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88460         [BZ #11640]
88461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88462         Properly check family and model.
88464 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88466         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88468 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88470         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88472 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88474         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88475         symbol reference.
88477 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88479         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88480         symbol reference.
88482 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88484         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88485         and internal_recvmmsg.
88486         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88487         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
88488         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
88489         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
88491         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
88492         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
88493         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
88495 2010-05-20  Andreas Schwab  <schwab@redhat.com>
88497         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
88499 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
88501         POWER7 optimizations.
88502         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
88503         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
88505 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
88507         * version.h: Update for 2.13 development version.
88509 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
88511         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
88512         exceptions.  Return 0.
88514 2010-05-07  Roland McGrath  <roland@redhat.com>
88516         * elf/ldconfig.c (main): Add a const.
88518 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
88520         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
88521         (args_options): Add no-idn option.
88522         (ahosts_keys_int): Add idn_flags to ai_flags.
88523         (parse_option): Handle 'i' option to clear idn_flags.
88525         * malloc/malloc.c (_int_free): Possible race in the most recently
88526         added check.  Only act on the data if no current modification
88527         happened.
88529 See ChangeLog.17 for earlier changes.